question

Alexey avatar image
Alexey asked Alexey commented

How to find out if order is finally closed?

Hello, Is it possible to find out(with API) that order is finally closed? Not just paid status?

Orders
4 comments
10 |2000

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

sam avatar image sam commented ·

Could you expand on what you mean by "finally closed?"

state=locked shows that order has been paid and can't be reverted back to open.

0 Likes 0 ·
Alexey avatar image Alexey commented ·

thanks! but why it's always becomes locked after adding external payment?

0 Likes 0 ·
Miguel avatar image Miguel commented ·

It only becomes locked if the external payments' amount is greater than or equal to the order amount.

0 Likes 0 ·
Miguel avatar image Miguel commented ·

It only changes the state to locked if the payment's amount is greater than or equal to the order's amount. What exactly are you trying to detect? When the order has been fully paid or something else?

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community