...
The previously given script will provide you details of the implementation made for the addition of the Sale Reference ID attribute in the ACQUIRER_PROPRIETARY_DATA
directory. This one will be then be appearing in the Message Request Response from Nexo Retail (i.e: Accepted Authorization Request response).
Example of Payment request with Sale Reference ID:
Code Block |
---|
<?xml version="1.0"?>
<SaleToPOIRequest>
<MessageHeader MessageClass="Service" MessageCategory="Payment" MessageType="Request" ServiceID="2" SaleID="ArkosSales" POIID="87654321"/>
<PaymentRequest>
<SaleData SaleReferenceID="ArkosSale42">
<SaleTransactionID TransactionID="1" TimeStamp="2019-08-21T14:48:05+05:00"/>
</SaleData>
<PaymentTransaction>
<AmountsReq Currency="EUR" RequestedAmount="5.00"/>
</PaymentTransaction>
<PaymentData/>
</PaymentRequest>
</SaleToPOIRequest> |
Example of response with the resulting Sale Reference ID:
Code Block | ||
---|---|---|
| ||
<AccptrAuthstnReq>
<Hdr>
...
<InitgPty>
<Id>MONEY2020VEGA$</Id>
</InitgPty>
<RcptPty>
<Id>Amadis</Id>
</RcptPty>
</Hdr>
<AuthstnReq>
...
<Tx>
...
<SaleRefId>ArkosSale42</SaleRefId>
...
</Tx>
</AuthstnReq>
<SctyTrlr>
...
</SctyTrlr>
</AccptrAuthstnReq> |
An example of the ACQUIRER_PROPRIETARY_DATA
can be found in the folliwing snipped of the directory:
...