Using the following rest endpoint we get the paymentState as OPEN
https://api.clover.com/v3/merchants/{MERCHANT_ID}/orders/{ORDER_ID}?expand=employee'
and if we try this endpoint we get the paymentState as PAID for the same order ID
Using the following rest endpoint we get the paymentState as OPEN
https://api.clover.com/v3/merchants/{MERCHANT_ID}/orders/{ORDER_ID}?expand=employee'
and if we try this endpoint we get the paymentState as PAID for the same order ID
This is a bug, paymentState is a new field and currently ALL payment related expansions (payments, refunds, credits) need to be enabled for it to return the correct state. An issue has been created to resolve this problem but in the meantime this field should not be relied on unless all of the necessary expansions have been included in the request.
1 Person is following this question.