Pay at Table Disconnect message
In this section you will learn how to process a Pay at Table Disconnect message
Pay at Table Disconnect Overview
The Pay at Table Disconnect message enables a Pay at Table transaction session to be closed from an allocated Wireless PIN Entry Device.
How to process a PayAtTableDisconnectRequest message
ANYpay POS sends a PayAtTableDisconnectRequest message to the merchants system once a staff member has completed the processing of a Check on an allocated Wireless PIN Entry Device.
Section PayAtTableDisconnectRequest Element describes the elements required to build a PayAtTableDisconnectRequest message.
An example of a PayAtTableDisconnectRequest message can be seen below.
<?xml version="1.0" encoding="utf-16"?>
<PayAtTableDisconnectRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://servebase.com/2009/06/pedframework">
<UserId>001</UserId>
<SerialNumber>256-326-352</SerialNumber>
<PTid>30804569</PTid>
<SessionId>22f643e3-21ce-409e-a1d3-1bc67349e8c2</SessionId>
</PayAtTableDisconnectRequest>
How to respond with a PayAtTableDisconnectResponse message
Section PayAtTableDisconnectResponse Element describes the elements that are returned in an PayAtTableDisconnectResponse message. An example of an PayAtTableDisconnectResponse message can be seen below.
<?xml version="1.0" encoding="utf-16"?>
<PayAtTableDisconnectResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://servebase.com/2009/06/pedframework">
<ResponseCode>Success</ResponseCode>
<FaultResponseCode>0</FaultResponseCode>
<ResponseMessage>Success</ResponseMessage>
</PayAtTableDisconnectResponse>
<?xml version="1.0" encoding="utf-16"?>
<PayAtTableDisconnectResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://servebase.com/2009/06/pedframework">
<ResponseCode>Error</ResponseCode>
<FaultResponseCode>4</FaultResponseCode>
<ResponseMessage>User 001 invalid</ResponseMessage>
</PayAtTableDisconnectResponse>
<?xml version="1.0" encoding="utf-16"?>
<PayAtTableDisconnectResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://servebase.com/2009/06/pedframework">
<ResponseCode>Error</ResponseCode>
<FaultResponseCode>7</FaultResponseCode>
<ResponseMessage>General Error</ResponseMessage>
</PayAtTableDisconnectResponse>
Updated over 5 years ago