FAQ
- What happens if 3rd-party is temporary unavailable?
- What happens if 3rd-party can't accept the requested status?
- How Future Orders are handled in POS?
What happens if 3rd-party is temporary unavailable?
In case we can't reach a 3rd-party via subscription url, or subscription response is 4xx
or 5xx
, we send back to POS that their request wasn't processed and a retry must be made by server.
What happens if 3rd-party can't accept the requested status?
In general POS must have always "status" up to date. So if something has been changed on 3rd-party side it must be immediately sent back to POS.
For example if POS has requested to CONFIRM an order but Order has been expired, the 3rd-party should respond as 4xx
with a message. We will send this message back to the POS and POS will have a way to do a retry. To prevent this, 3rd-party should send an updated order status to POS immediately. "REJECTED" status.
How Future Orders are handled in POS?
Future Orders are placed with status "ANTICIPATED" and can be viewed by Server. Any action is disabled for server till this order status become a "READY_FOR_CONFIRMATION". 3rd-party can change/update an "ANTICIPATED" order any time.