transstat.cgi

Description

transstat.cgi is used for checking the current status of a transaction. The response is sent as a number.

Function call

http://payment.architrade.com/cgi-bin/transstat.cgi

Input parameters

The function transstat.cgi accepts the following input 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

amountThe smallest unit of an amount, eg. cent for EUR , øre for Danish crowns,
Example:
1,00 EUR = 100 or 1,50 EUR =150

orderIdThe shop’s order number for this particular puchase. It can be seen later when payment is captured, and will in some instances appear on the customer’s bank statement (both numerals and letters may be used).
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.
currencyCurrency specification as indicated in ISO4217 where the EUR is no. 978.
Either the numeric or alphabetic code is accepted.
Also see our list of currencies.
[account]If multiple departments utilize the company’s acquirer agreement with the acquirer, it may prove practical to keep the transactions separate at DIBS. An ”account number” may be inserted in this field, so as to separate transactions at DIBS.
 

Return 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 re-authorisation/confirmation.

    2: the transaction was found and is either captured or ready to be captured

Notes

An alternative to transstat.cgi is the function transimg.cgi , which returns an image indicating the status of a specific transaction, rather than a number. 

 
CMS - Content Management System By SiteLoom