Check Data Reading
This command is inititated by the sales system to read check data.
Request
<?xml version="1.0"?> |
SalesA" POIID="87654321"/> |
InfoQualify="Document" InputCommand="TextString"/> |
Response
<?xml version="1.0"?> <SaleToPOIRequest> <MessageHeader MessageClass="Device" MessageCategory="Input" MessageType="Response" DeviceID="001" SaleID=" |
SalesA" POIID="87654321"/> <InputResponse> <InputResult Device="CashierInput" |
InfoQualify="Document" > <Response Result="Success"/> <Input InputCommand="TextString"> <TextInput>CheckData<TextInput/> </Input> </InputResult> </InputResponse> </SaleToPOIRequest> |
Error Cases
When the request is successfully processed
:
- the response message gets the value “Success” in the data element Response.Result,
- and the check data in CMC-7 format in the data element TextInput.
In case of error, the response message gets the value
“Failure” in the data element Response.Result.
<Response Result="Failure" ErrorCondition="DeviceOut"/> |
These errors are enumerated below, listed by value of the ErrorCondition data element.
DeviceOut
The payment terminal cannot process the request because of a temporary error on the check reader device.
Cancel
The payment terminal cannot process the request because of a timeout from the check reader device or the check data are invalid.
Panel | ||||||
---|---|---|---|---|---|---|
In this article:
|
Check Writer Command
MessageCheck Data Writing
This command is inititated by the sales system to write check data.
Request
<?xml version="1.0"?> | ArkosSalesSalesA" POIID="87654321"/> |
Response
<?xml version="1.0"?> <SaleToPOIRequest> <MessageHeader MessageClass="Device" MessageCategory="Print" MessageType="Response" DeviceID="002" SaleID=" | ArkosSalesSalesA" POIID="87654321"/> <PrintResponse DocumentQualifier="Document" > <Response Result="Success"/> </PrintRequest> </SaleToPOIRequest> |
Error Cases
When the request is successfully processed
,:
- the response message gets the value “Success” in the data element Response.Result.
In case of error, the response message gets the value
“Failure” in“Failure” in the data element Response.Result.
<Response Result="Failure" ErrorCondition="DeviceOut"/> |
These errors are enumerated below, listed by value of the ErrorCondition data element.
DeviceOut
The payment terminal cannot process the request because of a temporary error on the check reader device.
Cancel
The payment terminal cannot process the request because of a timeout from the check reader device or the data could not be printed on the check.