ConfigurationDIBS PSP Module

DIBS PSP Module

DIBS Specific Configuration Values

In order to configure the DIBS payment module, open the 'web.config' file of the Sana Commerce Starter Site project in Visual Studio. Locate the <payment-configuration> node in the <sanaCommerceLive> configuration section, where several modules are defined, which implement different payment methods. The 'Dibs' module is only needed.

For a description of general external payment method configuration values, please read this chapter.

Below the DIBS-specific configuration values are described:

merchant
This is the merchant ID of the DIBS account.
Default value: depends on the account.

key1, key2
These are the keys that are used to calculate the MD5 checksum.
Default value: depends on the account.

immediatecapture
This setting controls whether the payments are captured immediately when the user completes the payment authorization. If this setting is 'true', then the funds will be transferred from the customer's account immediately. If this setting is 'false', then all payments have to be captured manually from the DIBS administration.
Default value: true.

If immediatecapture is 'true', then the payments should never be captured manually.

If immediatecapture is 'false', then the payments must be captured manually. Sana Commerce does not provide a process to automate this.

captureurl
This value indicates the page that is called by the shop to capture the payments, if immediatecapture is 'true'.
Default value: https://payment.architrade.com/cgi-bin/capture.cgi

accepturl
This value indicates the page to which the user is redirected after a completed payment.
Default value: ~/checkout/ordersubmit.aspx?id={0}

cancelurl
This value indicates the page to which the user is redirected after a cancelled payment.
Default value: ~/checkout/ordercancelled.aspx?id={0}

callbackurl
This value indicates the page that is called by DIBS to notify the shop about the completed payments.
Default value: ~/checkout/paymentconfirm.aspx?id={0}

failureurl
This value indicates the page to which the user is redirected after a failed payment capture.
Default value: ~/checkout/orderfailed.aspx?id={0}

paytype
This optional value contains a comma-separated list of the enabled payment types.
Default value: <empty>

test
This value indicates that the account is in the test mode if this setting is set to any value.
Default value: yes

If you want to post some optional parameters open the 'web.config' file of the Sana Commerce Starter Site project in Visual Studio. Locate the <payment-configuration> node in the <sanaCommerceLive> configuration section, where several modules are defined, which implement different payment methods. The 'Dibs' module is only needed. Add new configuration entry with the following format:
<add name="parameter name" value="parameter value" isRequestParameter="true" />

More detailed information about the DIBS parameters can be found here.

ConfigurationDIBS PSP Module