question

jiltester avatar image
jiltester asked jiltester answered

update paymentState to paid

I want to update the payment sate to paid using the "Update an order" route(REST Api), the response is 200 but paymentState remains as open.

OrdersREST APIpaymentstate
10 |2000

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

jiltester avatar image
jiltester answered

is this even possible? or the payment has to be done by Clover?

10 |2000

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

jiltester avatar image
jiltester answered

Used the "Create a payment record on an order" route and it worked out fine. For some reason "Update an order" route doesn't update the paymentState.


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