Handling payment statuses correctly in your shop

A payment moves through a few states. Getting them right keeps your orders correct.

StatusMeaningYour action
createdWaiting for the customerKeep the order open
pendingCustomer acted; bank or merchant (UTR) still confirmingShow “confirming”
successPaidFulfil, once
failedDeclined, cancelled, rejectedOffer to retry
expiredNot paid in timeRelease stock
refunded / partially_refundedMoney returnedUpdate the order

Golden rule

Only the webhook or a server-side GET /orders/{id} decides that an order is paid. The browser returning to your thank-you page is a hint, not proof.

0 comments

Leave a comment

Not shown publicly.
Chat with us
Hi! Send us a message and we will reply here as soon as we can.