AuthenticationECI Property
Value to be passed in the authorization message.
Syntax
mpi.getAuthenticationECI([callback])
Default Value
""
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 getAuthenticationECI([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 setAuthenticationECI([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 property is determined by the Access Control Server (ACS), and is filled after receiving a response to a Payer Authentication Request (PAReq). This property contains the two digit Electronic Commerce Indicator (ECI) value, which is to be submitted in a credit card authorization message. This value indicates to the processor that the customer data in the authorization message has been authenticated. The data contained within this property is only valid if the AuthenticationStatus is "Y" or "A".
5 (Visa) or 2 (SecureCode) | The cardholder was successfully authenticated. |
6 (Visa) or 1 (SecureCode) | Authentication was attempted, but the cardholder was not enrolled. Chargeback protection applies. |
This property is read-only and not available at design time.
Data Type
String