Syncing Tips
The following are tips for a successful kiosk interface.
Sync Your Time All the Time
Use the time property to sync the time of the third-party device with the point-of-sale (POS) device. The time is Unix time.
Sync Your Database
Always compare your last_update_time with the last_update_time of the POS device. If the times are different, you should update your database with a DATABASE action.
Typical Kiosk → POS Flow
The typical Typical Kiosk → POS device workflow includes the following steps:
Use the
PINGaction to verify the kiosk can communicate with POS device.Use the
LOGONaction to log on a sales insert number for the third-party device. This must be done before sending orders. The POS device will return the insert number. After the insert is logged on, the Kiosk can start sending orders.Use the
CALCULATETAXaction to have the POS device calculate the tax or value-added tax (VAT) on an order. You can send this request as the customer enters the order if the kiosk wants to display a running total.Use the
ORDERVALIDATEaction to verify the kiosk prices, totals, and payment.Use the
ORDERaction when the order is complete to finalize the order on the POS device.Use the
LOGOFFaction at the end of the day to log off the kiosk.