Amadis

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Arkos can support devices that are either part of the payment terminal (integrated devices) or outside of the payment terminal (peripheral devices).


Check Reader Command

Message Request (Sales System > Payment Terminal)

<?xml version="1.0"?>
<SaleToPOIRequest>
    <MessageHeader MessageClass="DeviceMessageCategory="InputMessageType="Request" DeviceID="001" SaleID="ArkosSales" POIID="87654321"/>
    <InputRequest>
        <InputData Device="CashierInputInfoQuality="Document" InputCommand="TextString"/>
    </InputRequest>
</SaleToPOIRequest>

Message Response (Payment Terminal > Sales System)

<?xml version="1.0"?>
<SaleToPOIRequest>
    <MessageHeader MessageClass="Device" MessageCategory="Input" MessageType="Response" DeviceID="001" SaleID="ArkosSales" POIID="87654321"/>
    <InputResponse>
        <InputResult Device="CashierInputInfoQuality="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. 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.


In this article:

Check Writer Command

Message Request (Sales System > Payment Terminal)

<?xml version="1.0"?>
<SaleToPOIRequest>
    <MessageHeader MessageClass="Device" MessageCategory="Print" MessageType="Request" DeviceID="002" SaleID="ArkosSales" POIID="87654321"/>
    <PrintRequest>
       <PrintOutput DocumentQualifier="Document" ResponseMode="PrintEnd">
          <OutputContent OutputFormat="Text">
             <OutputText>
                <Text>TextToPrint</Text>
             </OutputText>
          </OutputContent>
       </PrintOutput>
    </PrintRequest>
</SaleToPOIRequest>

Message Response (Payment Terminal > Sales System)

<?xml version="1.0"?>
<SaleToPOIRequest>
    <MessageHeader MessageClass="Device" MessageCategory="Print" MessageType="Response" DeviceID="002" SaleID="ArkosSales" 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 the data element Response.Result. 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.


  • No labels