After i add an item to the order, immediately open payment screen and newest added line is not showing, and order total is also different. when i click order from orders it updates automatically, why is this happening?
After i add an item to the order, immediately open payment screen and newest added line is not showing, and order total is also different. when i click order from orders it updates automatically, why is this happening?
https://docs.clover.com/docs/creating-custom-orders
Order totals are calculated dynamically and updated by the app that the merchant is using to handle orders. This means that if your app modifies an order, it must update the total as well. See Calculating order totals for more information.
It isn't clear what APIs you are using, but in general the above is true. If you are adding orders via the REST API you should look into our atomic order endpoints that calculate the order for you: https://docs.clover.com/docs/working-with-orders
2 People are following this question.