When i get all the orders from clover, how do I filter the status like refunded, cancelled?
When i get all the orders from clover, how do I filter the status like refunded, cancelled?
Generally, you would do this by obtaining all of the data for the order (expanding on refunds, payments, etc.) and determining the status yourself. We do have a field called "paymentState" that does a bit of this for you BUT there is a caveat to using it - https://community.clover.com/questions/23985/same-order-id-having-different-paymentstate.html.
1 Person is following this question.