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. |
dibs.channel | Whether the DIBS Integration UI should require HTTPS or HTTP connections. |
dibs.paymentExpirationDays | The number of days after which the retrying of DIBS payments stops. |
dibs.completedDepositCleanupHours | The number of hours after which completed deposits are removed from the database. |
dibs.depositCleanupDays | The number of days after which deposits are removed from the database. |
dibs.retryPendingDepositsCron | How often pending deposits should be retried. |
dibs.expirePendingDepositsCron | How often pending deposits should be checked for expiration. |
dibs.cleanupDepositsCron | How often deposits should be cleaned up. |
dibs.useHttpProxy | If set to true, DIBS will be contacted through a proxy (note that Payment System will always be contacted directly). |
dibs.httpProxyHost | Proxy host. |
dibs.httpProxyPort | Proxy port. |
dibs.httpProxyUserName | Proxy authentication username. |
dibs.httpProxyPassword | Proxy authentication password. |
dibs.database.vendor | Database vendor (e.g., H2, MSSQL, PostgreSQL, ...). |
dibs.database.url | Database connection string. |
dibs.database.username | Database username. |
dibs.database.password | Database password. |
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. |
dibs.dibsUrl | DIB's service URL. |
dibs.transactionInfoUrl | DIBS's transaction info URL. |
dibs.transactionStatusUrl | DIBS's transaction status URL. |
dibs.username | Username of DIBS merchant's account. |
dibs.password | Password of DIBS merchant's account. |
dibs.md5.key1 | Merchant key for payments. |
dibs.md5.key2 | Merchant key for payments. |
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 |
dibs.gateway.allowedCards | See link http://tech.dibspayment.com/toolbox/paytypes for possible values. |
dibs.currencyUnit | The smallest unit of an amount in the selected currency (e.g., 0.01). |
dibs.paymentSystemUsername | Payment System's username. (the user has to have the appropriate rights set up in PS) |
dibs.paymentSystemPassword | Payment System's password. |
dibs.testMode | true/false. Tells DIBS that the requests are in test mode. default: false |