cardtype.pml

Description

cardtype.pml  is used for getting the credit card type used for a specific transaction. In combination with auth.cgi it is also possible to check whether the credit card entered by the customer is of the type also given by the customer.

Function call

https://payment.architrade.com/cardtype.pml

Input parameters

The function cardtype.pml 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

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.
[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 response from the DIBS system is a single string (NB! not the normal format of parameter=). If the transaction is unknown to the DIBS server the response is 0, otherwise a code for the credit card type is returned (see possible cardtypes here).

 
CMS - Content Management System By SiteLoom