Advanced Configuration of the DIBS Gateway Plugin

All mandatory configurations can be managed during installation (see Payment gateway plugin deployment). Once the DIBS Gateway plugin is installed, you can use this guide to change existing or set advanced options. Configuration of the 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 YSoft SafeQ Payment System#Overview.

Configuration Options

Key

Description

dibs.paymentSystemUrl

URL pointing to the 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 the retrying of DIBS payments stops.
default: 30

dibs.completedDepositCleanupHours

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

dibs.depositCleanupDays

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

dibs.retryPendingDepositsCron

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

dibs.expirePendingDepositsCron

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

dibs.cleanupDepositsCron

How often deposits should 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', then 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

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

dibs.paymentSystemPassword

Payment System's password.
(required)

dibs.testMode

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

default: false