TransactionStatus Property
The transaction status from the last parsed message (ARes, RReq, or CRes).
Syntax
client.getTransactionStatus([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 getTransactionStatus([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 setTransactionStatus([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
Indicates whether a transaction qualifies as an authenticated transaction or account verification. Possible values are:
Y | Authentication/account verification successful. |
N | Not authenticated/account not verified; transaction denied. |
U | Authentication/account verification could not be performed; technical or other problem as indicated in ARes or RReq. |
A | Attempts processing performed; not authenticated/verified, but a proof of attempted authentication/verification is provided. |
C | Challenge required; additional authentication is required using the CReq/CRes. |
R | Authentication/account verification rejected; issuer is rejecting authentication/verification and request that authorization not be attempted. |
D | Challenge required; decoupled authentication confirmed. |
I | Informational only; 3DS Requestor challenge preference acknowledged. |
Note: The CRes message can contain only a value of Y or N. Values of D and I are only applicable for 3DS version 2.2.0.
This property is read-only.
Data Type
String