As per the title.
We're running a web app which passes control to the Clover Pay App to take payment. But if the user hits Void Transaction after taking a card payment, when we API GET the Order, there is a payment against it marked as result SUCCESS.
This is confusing, as there are no other transactions returned, and it, therefore appears as though the card payment was successful.
If I request all payments against an order .. like this
GET
/v3/merchants/{mId}/orders/{orderId}/payments
the RESULT field has VOIDED as an option and the voidReason field has "USER_CANCEL" as an option (which Im trying to trap). The point is, all I get is a single payment sent back as result SUCCESS.
Thanks