transimg.cgi

Description

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 ones 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

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 transimg.cgi returns a traffic-light icon where:

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

A green light means that the transaction was found, and is either captured or ready to be captured.

Notes

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.


Example

<IMG xsrc="payment.architrade.com/cgi-bin/transimg.cgi&
merchant=4123456&currency=208&amount=29900>

 
CMS - Content Management System By SiteLoom