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
It might be worth checking the transaction logs or verifying how the payment gateway is processing updates.
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.
4 People are following this question.