Configuring PayEx integration

This article describes integration of YSoft Payment System with PayEx (http://payex.com/).

Installation of PayEx integration

  • Download all required jar files: payex-payment-provider, spring-ws-core, spring-xml, spring-oxm,liquibase and copy them into YPS_HOME\ysoft\payment-provider directory

  • Configure YSoft Payment System - add paymentSystem.type=external-payment-system to YPS_HOME\ysoft\environment-configuration.properties

  • Create payex-configuration.properties in YPS_HOME\ysoft\payment-provider directory

  • Create DB user and schema (use of existing schema is possible, but using separate schema is recommended)

  • Configure PayEx integration according to description below

#url to the payex service
payex.urlPrefix=https://external.payex.com
#payex account number of merchant
payex.account.accountNumber=
#encryption key of the merchant
payex.account.encryptionKey=
#transaction currency code; e.g. SEK, NOK
payex.currencyCode=SEK
#transaction vat value
payex.vat=
#A reference that links this agreement to something the merchant takes money for. Used for agreement creation
payex.agreement.merchantRef=
#A short description about this agreement. This will show up on the client admin page so that the client gets info about the agreement. It will also show on the web page where the client verifies the agreement.
payex.agreement.description=
#One single transaction can never be greater than this amount. Give yourself some leeway here so you do not have to make new agreements if you decide to raise your price.
payex.agreement.maxAmount=
payex.reservation.productNumber=1
payex.reservation.description=SafeQ print services
# ====================================
# Connection pool
# ====================================
# Database vendor describes the database engine being used
# Supported values are PostgreSQL, MSSQL, H2
database.vendor=PostgreSQL
# Database url - connection string to the Payex plugin database (dependent on the database engine)
database.url=jdbc:postgresql://127.0.0.1:5432/PAYEX
# Database username - username of user used to connect to Payex plugin database
database.username=sa
# Database password - password of user used to connect to Payex plugin database
database.password=

 

Configuration in YSoft Payment System administration

Configure display name and URL to the PayEx icon in the YSoft Payment System administration

images/download/attachments/70332190/image2016-6-6_15_3_35.png