Allows customers to pull for callback information.
https://login:password@payment.architrade.com/cgi-adm/callback.cgi
callback.cgi accepts the following parameters:
Parameter | Description |
merchant | This is the merchant number of the shop also used during authorisation. |
transact | All transactions are given a unique DIBS identification number, it is a as minimum 6-digit integer , e.g. transact=123456. |
The return from callback.cgi on success is a string containing the callback.
The return from callback.cgi on failure is an errormessage.
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¤cy=EUR&fullreply=1&ip=192%2E168%2E11%2E226&merchant=4206891&postype=ssl&test=foo&textreply=1&transact=134641176&authkey=76a1c3b32f0dbc6bcab22dc04e2d6748
Various messages may appear, e.g.:
Transaction 12345678 does not belong to this merchant (1234567)
Transaction 12345678 does not have extended callback element
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.