ResponseBatchStatus Property
Indicates success or failure of the entire settlement.
Syntax
fdmssettle.getResponseBatchStatus([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 getResponseBatchStatus([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 setResponseBatchStatus([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 success or failure of the entire settlement.
This property will be filled after calling the SendSettlement method. If it contains "OK", the batch settlement has succeeded. If it contains any other data, an error will be generated by the class. Possible responses include:
Code | Description |
OK | Batch completed successfully. |
DUP GEN RECORD | Duplicate general record. |
DUP RECORD | Duplicate detail record. |
INVLD ACCT 1 | Merchant attempted to capture a transaction for which he is not entitled. |
INVLD ACCT 2 | Merchant entered an invalid account number (length or prefix error). |
INVLD AMT 3 | Merchant entered an invalid amount in the capture transaction. |
INVLD FIELD DATA | Invalid property data. |
INVLD GENERAL TYPE | Invalid or duplicate header record. |
INVLD LENGTH | Invalid length when extracting ISO property from data buffer. |
INVLD RECORD TYPE | Unknown record type. |
INVLD SETTLE 4 | The item count or dollar total does not agree. Correct and retransmit the entire batch. |
INVLD SETTLE 5 | System rejected batch for reasons unrelated to a specific record. |
INVLD SUPPL DATA | Invalid supplemental data. |
INVLD TRANS CODE | Invalid trans code. |
NO HEADER RECORD | No header record. |
PLEASE RETRY | Server has timed out. Please retry batch. |
SUPPL OUT OF SEQ | Supplemental batch sequence number does not match original. |
TCH OUT OF SEQ | Batch sequence number does not match count. |
UNSUPPORTED TRAN | Batch Review (Tran Code 97) not supported. |
INV SETTL TR1 | Batch rejected for invalid track 1 data |
INV SETTL TR2 | Batch rejected for invalid track 2 data |
INVLD DATA! | Data format does not correspond to properties identified in the bit map. |
(any other data) | Consider request not approved. |
This property is read-only.
Data Type
String