Help for owners
Razorpay took the payment but my site never created the order
Short answer
Razorpay says an order should be fulfilled only after the payment shows as captured and the order as paid. Sites that rely on the customer's browser returning can miss the order when the tab closes. The safe design also listens for Razorpay's webhooks, checks the signature on the raw body, and ignores repeats.
Does this sound like your situation?
- Razorpay shows the payment but my site has no order.
- A customer says they were charged and received nothing.
- The payment shows as authorised and not captured.
- It happens mostly on mobile or when people close the page quickly.
- Some webhooks work, some fail with a signature error.
Why does this happen?
Authorised is not the same as captured
Razorpay states that authorised payments must be captured to settle in your bank account, and capture is set at account level under the Payment Capture Setting. It tells you to confirm the payment is captured and the order paid before providing services.
Confirmed by razorpay.com
The browser callback can be lost
Razorpay recommends webhooks because they guard against drop-offs caused by callback or network failures, and let you verify payment details server to server. It suggests enabling the payment captured, payment failed and order paid events.
Confirmed by razorpay.com
The signature check is mandatory
Razorpay says verifying the signature of the details returned to Checkout is mandatory, to confirm they were not tampered with. A site that skips it can accept fake success, and one that checks wrongly rejects real payments.
Confirmed by razorpay.com
The webhook signature needs the raw body and the right secret
Razorpay computes an HMAC-SHA256 of the raw request body with your webhook secret and says not to parse or cast the body. If you change the secret, retries of older requests must still be checked with the old secret, or they mismatch.
Confirmed by razorpay.com
Repeats and wrong order happen
Razorpay says the same event can arrive more than once, so use the event ID header to skip ones already processed, and events can arrive out of order, for example captured before authorised. A site that assumes sequence or repeats an action creates gaps or duplicate orders.
Confirmed by razorpay.com
What can I do about it today?
- List the affected paymentsWrite down the Razorpay payment ID, amount, time and customer for each charge without an order.
- Do not refund everything at onceCheck each payment first. Some customers may have an order under a different email or reference.
- Contact those customersTell them honestly that you are checking, and that you will confirm the order or refund after reviewing. Do not promise a date you do not control.
- Check the capture settingAsk who manages the Razorpay dashboard to confirm whether payments are set to capture automatically or stay authorised.
- Ask for webhook delivery to be checkedYour developer can look at whether Razorpay's notifications are reaching the site and what answer they get.
When should I bring someone in?
- Several customers have paid with no order, and you are not sure who was charged.
- Failures began after a site update or a change of secret.
- You process many orders and cannot reconcile by hand.
How do I handle it?
- Reconcile firstI match Razorpay's payments against your orders and produce one list of payments without an order.
- Trace one failed payment end to endFrom the checkout, through the browser return and the webhook, to your database, to see exactly which step was lost.
- Make order creation depend on the server-side eventThe order is confirmed from the verified webhook and from a server check of status, not from the browser alone, and repeats are ignored.
- Repair the gapsMissing orders are created from the verified payments, in a list you approve before anything is sent to customers.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
Is the customer's money lost?
The payment is recorded in Razorpay. What happens next, such as capture or refund, depends on its status and your settings.
Why does it only happen sometimes?
Razorpay notes browser callbacks can fail on drop-offs and network problems, which is why it recommends webhooks as a second route.
Can I skip signature checks to get orders flowing?
I advise against it. Razorpay calls the check mandatory, and skipping it lets fake success messages through.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.