About status in orders

in Development
We finished the development integration and we have was doing test with LightSpeed in a iPad. And we have somes questions:
- We send a new order for takeaway. If the order if send with status "WAITING_FOR_PAYMENT", then the order not appear in LightSpeed (on iPad). If we send the order with status "ACCEPTED", then appear on iPad. It should always be sent as ACCEPTED?
- For other hand, when we get the details of a specific order the status always return as PROCESSED, even if the order was paid, closed or if no action is taken in LightSpeed. How we can know if a order was finished in LightSpeed?
Thanks for your help!
1 comment
Hello @icorrea,
Only orders with the status ACCEPTED will be displayed on the iPad.
You can follow the process of an onlineorder by the receipt created for it. You can obtain the receiptId using the orderId (is the response body of your POST onlineorder call).
Here's the documentation of the Receipt endpoing:
https://developers.lightspeedhq.com/resto-api/tutorials/receipts/