transimg.cgi

transimg.cgi is used for checking the current status of a transaction. The response is one of three icons indicating the status. The status icon can be embedded in your html code using an img tag, which src calls transimg.cgi (see the example for details)

Function call

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

Example

Below is an example of a call to transimg.cgi.


Input parameters

Parameter Description 
account

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.

amount *

The smallest unit of an amount in the selected currency, following ISO4217 (see the currency list here).

Example:

Smallest unit for EUR is "cent" thus setting 'amount="150"' leads to the amount being 1,50 EUR.
Smallest unit for JPY is "yen" thus setting 'amount="150"' leads to the amount being 150 JPY.

currency *

Currency is defined using the ISO4217 standard (see the currency list here). Both numeric and upper case letter codes are accepted.

Example:

currency="SEK"
currency="752"

merchant *

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

orderid *

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).

transact *

The unique DIBS identification number for the transaction. The transact is a as minimum 6-digit integer, e.g. transact=123456.

*: Mandatory parameters

Return colors

The function transimg.cgi returns a traffic-light icon where, red light means the transaction was not found or was not authorised, a yellow light indicates that the transaction is found, but needs to be re-authorised/confirmed and a green light means that the transaction was found, and is either captured or ready to be captured,

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

 

Do you have a question or need help?
Follow us
Nets Online Payments

Oslo: +47 21 55 44 00
Stockholm: +46 (0)8-527 525 00
København: +45 7020 3077
Jyväskylä: + 358 010 80 40 40
Close menu