submitted 7 days ago by Tunde37
I’m building a shop for a friend. Every time I tested checkout, I paid, waited to return to the shop and saw my order there.
She tried it this morning and closed the tab as soon as the payment page said “Payment successful”. Her payment is in the dashboard. There's no order for it in my database. Which step am I missing?
Advertisement
MusaT
7 days ago
Where do you first save the order? If it’s on the page she closed before reaching, that would explain the missing record. Save a pending order before payment, then mark it paid when the payment service sends confirmation to your server.