question

josekutty avatar image
josekutty asked David Marginian Deactivated answered

When adding a item in clover, pos payment screen is not updating with latest change

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?

OrdersPaymentsREST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

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

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community