ECI Property
Electronic Commerce Indicator.
Syntax
ptechecommerce.getECI([callback]) ptechecommerce.setECI( ECI, [callback])
Default Value
"7"
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getECI([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setECI([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This field contains a 1-character transaction indicator identifying the type of transaction being authorized. This is also known as "MOTO". This value is used only for Card Not Present transactions. See the table below for a list of supported values.
Indicator | Description |
SPACE | Not a Mail/Telephone Order Transaction. |
1 | One Time Occurrence of a Mail/Telephone Order Transaction (use for Direct Marketing). |
2 | Recurring Mail/Telephone Order Transaction (use for Direct Marketing). |
3 | Installment Payment of a Mail/Telephone Order Transaction (use for Direct Marketing). |
4 | Unknown Classification (use for Direct Marketing). |
5 | Secure Electronic Transaction (3-D Secure) |
6 | Non-authenticated security transaction at a 3-D Secure capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure. |
7 | Non-authenticated Security Transaction, such as a Channel-Encrypted Transaction (default for CardNotPresent eCommerce transactions). |
8 | Non-secure Electronic Commerce Transaction |
Data Type
String