callback.cgi

Description

Allows customers to pull for callback information. 

Function call

https://login:password@payment.architrade.com/cgi-adm/callback.cgi 

Input parameters

callback.cgi accepts the following parameters:

Parameter

Description

merchantShop identification. The Merchant number appears in the e-mail received from DIBS during registration with DIBS or on your contract.

Your merchant number can also be retreived by contacting your respective DIBS support department below.
Denmark
Norway
Sweden

transactThe unique DIBS identification number for the transaction you want to capture. The transact is returned from a successful authorisation, and is a as minimum 6-digit integer , e.g. transact=123456.
 

Return parameters

The return from callback.cgi on success is a string containing the callback.

The return from callback.cgi on failure is an errormessage

Example

This example shows a standard HTML form for calling callback.cgi: 

<form action="https://user:pwd@payment.architrade.com/cgi-adm/callback.cgi" method="post">
<input type="hidden" name="merchant" value="4206891" />
<input type="hidden" name="transact" value="134641176" />
<input type="submit" value="Submit" />
</form>

 

Submitting this form returned the following:

orderid=AnOrderid&paytype=VISA&cardnomask=XXXXXXXXXXXX0000&cardprefix=471110&acquirer=TEST&cardexpdate=2406&accepturl=https%3A%2F%2Fshop%2Edibs%2Edk%2Fshopwin%5FacceptOrCancel%2Ephp%3Fstatus%
3Daccepted%26shopsOwnPar1%3DsomeValue1%26shopsOwnPar2%3DsomeValue2
&amount=100&callbackurl=https%3A%2%2Fshop%2Edibs%2Edk%2Fshopscript%
5Fcallback%2Ephp&cancelurl=https%3A%2F%2Fshop%2Edibs%2Edk%2Fshopwin%5FacceptOrCancel%2Ephp%3Fstatus%
3Dcancelled&cardtype=VISA%2CV%2DDK&currency=EUR&fullreply=1&ip=192%2E168%2E11%2E226&merchant=4206891&postype=ssl&test=foo&textreply=1&transact=134641176&authkey=76a1c3b32f0dbc6bcab22dc04e2d6748

Errormessages

Various messages may appear, e.g.:
  Transaction 12345678 does not belong to this merchant (1234567)
  Transaction 12345678 does not have extended callback element

 

Security

In order to keep others from inspection a callback, a username and password is required. See the above example. The user name and password are identical to the ones used for accessing DIBS Administration, or the ones pertaining to the special API user type, which can created in the administration.

 
CMS - Content Management System By SiteLoom