Dibs Payment Window
Converting to DIBS Payment Window:
Only a few changes are needed in order to convert from other payment windows to the DIBS Payment Window.
URL:
The first step is to change the URL so that the form is posted to: "http://sat1.dibspayment.com/dibspaymentwindow/entrypoint". Please see these form examples on how to make a form that calls the DIBS Payment Window.
Input and output parameters:
There are a few input and output parameters that have been renamed for DIBS Payment Window. Please see list below. Another new feature is that all applicable values are returned instead of being limited to checked return values from the Dibs administration.There is a change in the information sent to the acceptReturnUrl. The result of the transaction can be checked using the Dibs administration or by using existing scripts (Eg. payinfo.cgi , transstat.cgi or transtatus.pml). It is therefore important to look at and act on the status code returned on the acceptReturnUrl. Some of the paytypes have changed as well the new paytype list is regularly updated.
Changed parameters:
| Input/output | Changed from | Changed to |
|---|---|---|
| Input | accepturl | acceptReturnUrl |
| Input | cancelurl | cancelReturnUrl |
| Input | calcfee | addFee |
| Input | lang | language |
| Output | transact | transaction |
| Output | cardnomask | cardNumberMasked |
Admin:
The new payment window uses HMAC rather than MD5 for protection against data tampering to and from the payment window. This requires that a new HMAC key is created in admin. At present the MD5 page is still used to ensure that the HMAC is checked upon entry to the payment window.
Callback:
Note that all parameters in the callback are now sent in the UTF-8 char-set instead of the ISO char-set.