AnsweredAssumed Answered

Hosted Checkout VerifyPayment failed

Question asked by zineer on Oct 4, 2018

We integrate with Mercury's Hosted Checkout system and are hoping for clarification on the statuses of payments.

On the rare occasion, when we do a "VerifyPayment" call, there is an issue somewhere and our connection fails and we aren't able to get the full details of the payment. The way our system is setup, we need to give the customer a "success" or "declined" type message right away. Can we assume based on the ReturnCode sent to our ProcessCompleteURL whether the payment was successful? eg does a ReturnCode of 0 mean the payment was successful? Or can a payment be declined but still send a ReturnCode of 0 in any cases?