The point about treating a UPI payment as an intent that needs server-side reconciliation is spot on. A client-side success screen proves nothing when users bounce between apps.
Exactly, and the failure is usually silent. What I do now is keep the order row on an explicit state machine (created, pending, paid, expired) with a signature-verified server webhook, an idempotency key on every retry, and a nightly reconciliation job that pulls the PSP statement and closes anything still stuck in pending. The nightly job is the part that catches payments where the callback never arrives at all, which is the case people forget until it costs them a day of revenue. Thanks for reading.