Below is an example of a call to transstat.cgi,
<form action="http://payment.architrade.com/cgi-bin/transstat.cgi" method=POST> <input type="hidden" name="merchant" value="123456789"> <input type="hidden" name="transact" value="987654321"/> <input type="hidden" name="amount" value="29900"/> <input type="hidden" name="orderId" value="myorderid_1234"/> <input type="hidden" name="currency" value="208"/> </form>
If multiple departments utilize the same DIBS account, it may be practical to keep the transactions separate at DIBS. An account name may be inserted in this field, to separate transactions at DIBS.
To get an account, please contact the DIBS sales department.
The smallest unit of an amount in the selected currency, following ISO4217 (see the currency list here).
Smallest unit for EUR is "cent" thus setting 'amount="150"' leads to the amount being 1,50 EUR.
Currency is defined using the ISO4217 standard (see the currency list here). Both numeric and upper case letter codes are accepted.
Shop identification. The Merchant ID appears in the e-mail received from DIBS during registration with DIBS or on your contract.
The shop’s order number for this particular purchase. It can be seen later when a payment is captured, and will in some instances appear on the customer’s bank statement (both numerals and letters may be used).
The unique DIBS identification number for the transaction. The transact is a as minimum 6-digit integer, e.g. transact=123456.
*: Mandatory parameters
The function transstat.cgi returns an integer code. The possible values are:
0: or nothing – the transaction was not found.
1: the transaction was found, but it needs reauthorisation/confirmation.
2: the transaction was found and is either captured or ready to be captured