Merchant Specific Defaults
NECP allows considerable latitude in the content sent with a transmission. When parameters are omitted from a transmission, the acquiring system constructs these parameters from default values common to all merchants or default values specific to a particular merchant.
In addition, some configurations are not specified in the XML DTDs but are needed for the end-to-end shopping experience of the customer.
Available default values include:
Name |
Description |
Acceptable Values |
Default |
Merchant or System Value? |
---|---|---|---|---|
order_no |
An order number unique to this merchant |
Unique integer |
Next largest integer |
M |
timestamp |
The time an order is submitted to the acquirer |
YYYYMMDDHHMMSS |
Acquirer’s timestamp |
S |
trans_type |
The type of transaction being requested |
purchase, authorize, capture, credit |
purchase |
S |
description |
The description of the shopping cart contents |
Variable length string |
none |
M |
currency |
The national currency in which the transaction is denominated |
CA, US |
CA |
M |
precision |
The number of decimal places used by the denominated currency |
2, 3, 4 |
2 |
M |
uses_MAC |
Flag specifying those merchants who do not want the security of MAC authentication |
Y, N |
Y |
M |
redirect_ successURL |
The URL on the merchant’s site that the cardholder should be redirected to upon a successfully approved transaction |
URL string |
none |
M |
redirect_ failureURL |
The URL on the merchant’s site that the cardholder should be redirected to upon a failed transaction |
URL string |
none |
M |
redirect_ errorURL |
The URL on the merchant’s site that the cardholder should be redirected to upon an unexpected error |
URL string |
none |
M |
shipping_ calculation |
The algorithm/equation to use in calculating shipping costs |
Reference |
none |
M |