Pay at Table Login message

In this section you will learn how to process a Pay at Table Login message

Pay at Table Login Overview

The Pay at Table Login message enables verification of a staff user against the merchants system before a payment can be processed using a Wireless PIN Entry Device.

How to process a PayAtTableLoginRequest message

ANYpay POS sends a PayAtTableLoginRequest message to the merchants system once a staff member has entered their User ID into an allocated wireless PIN Entry Device.

🚧

Key elements of a PayAtTableLoginRequest message

The merchant system is responsible for ensuring the validity of a Site, UserId, DeviceSerialNumber and PTid are correct in their systems.

Either a DeviceSerialNumber or PTid MUST be provided if the merchant is to validate that a Wireless Pin Entry Device is part of their estate.

Section PayAtTableLoginRequest Element describes the elements required to build a PayAtTableLoginRequest message.

An example of a PayAtTableLoginRequest message can be seen below.

<?xml version="1.0" encoding="utf-16"?>
<PayAtTableLoginRequest 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>
</PayAtTableLoginRequest>

How to respond with a PayAtTableLoginResponse message

Section PayAtTableLoginResponse Element describes the elements that are returned in an PayAtTableLoginResponse message. An example of an PayAtTableLoginResponse message can be seen below.

<?xml version="1.0" encoding="utf-16"?>
<PayAtTableLoginResponse 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>  
  <SessionId>22f643e3-21ce-409e-a1d3-1bc67349e8c2</SessionId>
</PayAtTableLoginResponse>
<?xml version="1.0" encoding="utf-16"?>
<PayAtTableLoginResponse 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>1</FaultResponseCode>
  <ResponseMessage>User 001 invalid</ResponseMessage>  
</PayAtTableLoginResponse>
<?xml version="1.0" encoding="utf-16"?>
<PayAtTableLoginResponse 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>  
</PayAtTableLoginResponse>