is there any way to invoke 'sync' in the code so that the synchronization between the server state of the order and the device state is done more 'on demand'?
- During the order flow, the cashier selects our custom tender in the payments screen
- In the custom tender activity we need to create more than one payment (a gift card payment). We do it using the v3 web API since it is not possible using the OrderConnector (it fails with ForbiddenException).
- Application waits until the order (and the new payment) is synchronized to the device
- The flow returns to the payments screen
In the step 3 we currently have to wait in a loop for the sync. We are waiting for the sync so that the payment is shown in the step 4 immediately after the screen opening. Is there any method to initiate this sync to speed things up ?