question

sreekant avatar image
sreekant asked David Marginian Deactivated answered

How an order state can be changed from "OPEN" to "PAID"?

Hi,

I just want to know that how many ways are available to change the order state from open to paid.

In my case:

I am using OrderConnector.createOrder(new Order()) to create an order then adding line items.

OrdersPayments
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered

1) Order is paid for via a standard Clover app.

2) Order is paid for via a custom tender - https://docs.clover.com/docs/creating-custom-tender-apps or by creating a payment record on the order - https://docs.clover.com/reference#ordercreatepaymentfororder-2.

10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered
And then after success response of API the order state will change to "PAID".

Not 100% on the details there. If the order is for 20$ for example, and you create a payment record for 5$, I wouldn't expect it to be marked as PAID.

How clover work with custom tender id?

I don't understand what you mean by this.

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