In an answer to our questions you told us we need to create an Android app with the Clover SDK, Listen to incoming orders and send to the printer via the PrintJob classes.
We tried the following solutions:
- Use a broadcast receiver on ACTION_ORDER_CREATED
.
In this case I have 2 problems:- I get an invalid ID on the event which results in an empty object when using orderConnector.getOrder
- This event triggers only when I add orders from the Register app, but not from the REST API.
- Use AppNotificationReceiver - I’m successfully sending the notification and gets a 200 response, but the receiver on the Android app never triggers. (https://apisandbox.dev.clover.com/v3/apps/M1PQGMQYFXCG6/merchants/P7EWCVM316RDY/notifications)
The question is, what is the proper way to retrieve new order objects for the PrintJob?