Razorpay payment captured, but the order isn't updated

The customer paid, Razorpay shows captured, and your system still says pending. Here is what usually went wrong and how to make sure you hear about it first.

The usual causes

1) The webhook never reached you: a firewall, security plugin or CDN blocked Razorpay's POST, or the URL changed in a deploy. 2) It reached you but was rejected: the webhook secret in your app doesn't match the one in the Razorpay dashboard, so signature verification fails. 3) It was accepted but not processed: the handler crashed on an unexpected field, or looked up the wrong order.

Fix the immediate problem

Check the webhook delivery log in the Razorpay dashboard for failed attempts and their response codes. Confirm the secret matches, the endpoint answers 2xx quickly, and nothing in front of your app blocks POSTs. Then reconcile: fetch captured payments from Razorpay's API and update any orders still marked pending — and keep that reconciliation running on a schedule, because webhooks can always go missing.

Catch it before customers do

MockCard's limbo scenario simulates a captured payment whose webhook never arrives, so you can check your app doesn't fulfil without confirmation and does reconcile. Production probes check every hour that your webhook route is still reachable and wired correctly, and alert you on Slack or email the moment a deploy breaks it.

Webhook Health Check

Score your payment handler out of 100 against real failure scenarios — free, no signup

https://

Fires 5 probes · ~5 seconds · score out of 100 · no account required

Nothing stored

Your URL and responses are never saved.

No abuse

5 labelled test requests. Rate-limited.

Testing only

Fictitious payments — no real money moves.

Only test endpoints you own. How the check works

Frequently asked questions

Why does the Razorpay dashboard say captured when my order says pending?
Capture happens at Razorpay; your order only changes when your webhook handler receives and processes payment.captured. If that delivery fails or is rejected, the two disagree.
Does this affect WooCommerce stores?
Yes — it's one of the most common WooCommerce payment issues. The MockCard WooCommerce plugin checks your store with hidden test orders and alerts you when webhooks stop updating orders.

Related guides