Advanced configuration of DIBS Gateway Plugin

All mandatory configuration could be managed during installation (see Payment Gateway Plugin deployment). Once the PayPal Gateway Plugin is installed, you can use this guide to change existing or set advanced options. Configuration of DIBS payment gateway plugin can be found in <payment_home>/ysoft/dibs-configuration.properties file. For more information about property files, see Advanced configuration of Dispatcher Paragon Payment System#Overview.

Configuration options

Key

Description

dibs.paymentSystemUrl

URL pointing to PS REST API used for Payment Gateway integrations
default: https://localhost:8443/payment-system/api/v1/paymentgateway/deposit

dibs.channel

Whether the DIBS Integration UI should require HTTPS or HTTP connections
default: https

dibs.paymentExpirationDays

The number of days after which retrying ofDIBS payments stops.
default: 30

dibs.completedDepositCleanupHours

The number of hours after which completed deposits are removed from the database.
default: 1

dibs.depositCleanupDays

Number of days after which deposits are removed from the database.
default: 60

dibs.retryPendingDepositsCron

How often should pending deposits be retried.
default: 0 0/10 * * * ?

dibs.expirePendingDepositsCron

How often should pending deposits be check for expiration.
default: 0 0 0 * * ?

dibs.cleanupDepositsCron

How often should deposits be cleaned up.
default: 0 0 * * * ?

dibs.useHttpProxy

If set to true, DIBS will be contacted through a proxy (note that Payment System will always be contacted directly)
default: false

dibs.httpProxyHost

Proxy host.
default: localhost

dibs.httpProxyPort

Proxy port.
default: 3128

dibs.httpProxyUserName

Proxy authentication username.

dibs.httpProxyPassword

Proxy authentication password.

dibs.database.vendor

Database vendor (e.g. H2, MSSQL, PostgreSQL, ...)
default: H2

dibs.database.url

Database connection string.
default: jdbc:h2:mem:dibs-integration;
DB_CLOSE_DELAY=-1;MVCC=true

dibs.database.username

Database username.
default: sa

dibs.database.password

Database password.
(required)

dibs.returnUrlPrefix

The string that URLs sent to DIBS get prefixed with. For example if this property is set to 'https://example.com' than the confirmation URL sent to DIBS will look like this: 'https://example.com/deposit/123/payment-confirmed-by-dibs'. This is done to allow the integration module to sit behind a proxy with a public name without URL rewriting.
(required)

dibs.dibsUrl

DIB's service URL
default: https://payment.architrade.com/paymentweb/start.action

dibs.transactionInfoUrl

DIBS's transaction info URL
default: https://payment.architrade.com/cgi-bin/transinfo.cgi

dibs.transactionStatusUrl

DIBS's transaction status URL
default: http://payment.architrade.com/transstatus.pml

dibs.username

Username of DIBS merchant's account.
(required)

dibs.password

Password of DIBS merchant's account.
(required)

dibs.md5.key1

Merchant key for payments
(required)

dibs.md5.key2

Merchant key for payments
(required)

dibs.merchantId

(required)

dibs.gateway.language

# da=Danish, en=English, de=German, es=Spanish, fi=Finnish, fo=Faroese, fr=French, it=Italian, nl=Dutch, no=Norwegian, pl=Polish (simplified), sv=Swedish, kl=Greenlandic
(required)

dibs.gateway.allowedCards

See link http://tech.dibspayment.com/toolbox/paytypes for possible values
(required)

dibs.currencyUnit

The smallest unit of an amount in the selected currency (e.g. 0.01)
(required)

dibs.paymentSystemUsername

PS' username. (the user has to have the appropriate rights set up in PS)
(required)

dibs.paymentSystemPassword

PS' password.
(required)

dibs.testMode

true/false. Tell to DIBS that the requests are in test mode.

default: false