On this page
What this issue is
Many stores create an order as soon as the customer clicks the pay button. The order starts with a status such as Pending payment or Awaiting payment. The payment gateway (Stripe, PayPal, Adyen and similar) then tries to take the money and tells your store the result.
A silent payment failure is when that second part goes wrong and nobody is told. The card is declined, the gateway times out, or the result message never reaches your store. The order stays open. The customer sees a spinner, a blank page or a vague message. You see an order that looks real but has no money behind it.
Why it costs you leads or sales
The customer thinks they tried to buy and may not try again. You think you have a sale, so you do not follow up. Both sides assume the other will act, and the sale disappears.
It also pollutes your data. Unpaid orders can inflate order counts, trigger confirmation emails or stock reductions, and in some setups fire a purchase event to ad platforms. Your campaigns then optimise on sales that never happened.
- Customer clicks PayOrder is created as Pending payment
- Gateway processes cardDeclined, timed out or abandoned
- Result reported to storeWebhook or redirect never arrives
- Customer and you notifiedNo error, no retry, no follow-up
The order is created, but the failed payment is never reported, so later steps never happen.
Example: of 100 orders created in a week, a silent failure leaves 12 unpaid and unnoticed, so only 88 are real sales.
How to check if your site has it
Filter unpaid orders
In your store admin, list orders with status Pending payment, Awaiting payment or Unpaid. A steady trickle of old ones (older than an hour or two) is a warning sign.
Compare with the gateway
Open the gateway dashboard (for example Stripe Payments or PayPal Activity). Match the failed or incomplete attempts to those orders by time and amount.
Check webhook delivery
In the gateway's developer area, look at webhook events. Failed deliveries, 4xx or 5xx responses and timeouts mean the result never reached your store.
Read the error logs
Check the store's payment logs and your server or PHP error log for errors around the time of unpaid orders.
Run a test purchase yourself
Use the gateway's test mode and its documented failing test cards. Confirm the customer sees a clear error and the order does not stay open.
| Cause | What you see |
|---|---|
| Webhook endpoint failing | Gateway shows paid, store shows Pending payment |
| Card declined, error swallowed | Gateway shows failed, customer saw no message |
| Redirect after payment broken | Customer lands on an error or blank page |
| Script error on the pay button | Order created, no gateway attempt at all |
| Security plugin or firewall blocking callbacks | Webhook deliveries return 403 |
How to fix it
Fix the cause you found above. The steps differ by platform, so start with the tab that matches your store.
Re-register the webhook
In WooCommerce go to Settings > Payments, open your gateway and save the settings so the webhook is recreated. Check the gateway dashboard shows it as active.
Allow gateway callbacks
If a security plugin, firewall or caching layer blocks the webhook URL, add an exception for it. Exclude the checkout and callback URLs from page caching.
Check the logs
Turn on gateway logging and review WooCommerce > Status > Logs after a test failure.
Review the payment provider
In Settings > Payments, confirm the provider is connected and active, with no warning banners.
Check unpaid orders
Open Orders and filter by payment status Pending. Compare with the provider's dashboard to see whether the payment failed or never finished.
Review third-party checkout apps
Disable recently added checkout or payment apps one at a time and retest. Contact the provider's support if the payment status does not sync.
Handle the webhook properly
Verify the signature, update the order from the event, and return a 2xx response quickly. Do the slow work afterwards.
Show gateway errors
Catch declined and failed responses from the gateway and show the customer a clear message with a way to retry.
Expire stale orders
Run a scheduled job that marks old pending orders as failed or sends a recovery email, and release reserved stock.
For custom code, this is the shape of a safe webhook handler. It uses Stripe's Node library as an example, so adapt it to your gateway.
app.post('/webhooks/stripe', express.raw({ type: 'application/json' }), (req, res) => {
let event;
try {
event = stripe.webhooks.constructEvent(
req.body,
req.headers['stripe-signature'],
process.env.STRIPE_WEBHOOK_SECRET
);
} catch (err) {
return res.status(400).send('Invalid signature');
}
if (event.type === 'payment_intent.succeeded') {
markOrderPaid(event.data.object.metadata.order_id);
}
if (event.type === 'payment_intent.payment_failed') {
markOrderFailed(event.data.object.metadata.order_id);
}
res.json({ received: true });
});Before
- Order stays Pending payment forever
- Customer sees a spinner or blank page
- You are not told
After
- Order marked failed as soon as the gateway reports it
- Customer sees a clear message and a retry button
- Stale orders expire and trigger a follow-up
How to confirm it's fixed
- A test payment with a failing test card shows a clear error to the customer
- The order is marked failed or cancelled, not left as Pending payment
- A successful test payment moves the order to Paid or Processing
- Webhook deliveries in the gateway dashboard show 2xx responses
- No new stale pending orders appear over the next few days
- No purchase event fires for failed attempts in your analytics
How to prevent it happening again
- Review pending orders older than a few hours every week
- Set up gateway alerts for failed webhook deliveries
- Retest checkout after plugin, theme, firewall or gateway changes
- Exclude checkout and callback URLs from caching
- Rotate gateway keys and webhook secrets on a schedule and update the store at the same time
- Send a recovery email for abandoned or failed payments
0 min
Customer clicks Pay and an order is created as Pending payment.
1 min
The gateway declines the card or times out. The result never reaches the store.
2 min
The customer sees a spinner, closes the tab and leaves.
Next day
You see an order in the admin and assume it is a sale. Nobody follows up.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. The check combines a test purchase with server checks.
What it checks: a robot visitor runs your real checkout journey on a schedule, from the EU or the US, and verifies each step. It stops before payment unless your store's test mode is set up. If a failure appears it is re-checked from a second region, and then one alert goes out with a screenshot and a likely cause.
What it does not check: it never enters real card details, so it cannot see real customers' declines. It does not read your gateway dashboard or your webhook delivery logs, and it cannot tell which real orders are stuck unpaid.
How to cover the rest by hand: review pending orders weekly, compare them with gateway transactions, watch webhook delivery failures in the gateway dashboard, and run a test purchase with the gateway's failing test cards after every change.
You can start with the Free plan (1 site, 2 journeys, daily checks, no card), or try a paid plan free for 3 days. A free read-only website audit is available too.
Questions people ask
Why is my order created but the payment failed?
Most stores create the order before the gateway confirms payment. If the card is declined, the gateway times out or its result message never reaches your store, the order stays open with no money behind it. Check the gateway dashboard and webhook delivery logs to see which happened.
Why do my orders stay on Pending payment?
Pending payment means the store is still waiting for the gateway's result. Common reasons are a failing webhook, a firewall or security plugin blocking the callback, a broken redirect after payment, or a customer who abandoned the payment page.
How do I find unpaid orders that look like real sales?
Filter your orders by status such as Pending payment or Unpaid, then compare each one with your gateway's transactions by time and amount. Orders with no successful gateway payment are unpaid.
How do I check if my payment webhook is working?
Open the webhook section in your gateway's developer dashboard and look at recent deliveries. Successful ones return a 2xx status. Failures, timeouts or 403 and 500 responses mean your store is not receiving payment results.
Can a failed payment still trigger a purchase event in analytics?
Yes, if the purchase event fires when the order is created rather than when payment is confirmed. That inflates conversions and misleads ad platforms. Fire the event only on a confirmed payment or a real thank-you page.
What should the customer see when a payment fails?
A plain message saying the payment did not go through, the reason if the gateway gives one, and a clear way to retry or use another method. A spinner or blank page loses the sale.
Can FunnelGuard detect silent payment failures?
Only partly. It runs a test purchase journey and server checks on a schedule and alerts you when the flow breaks. It does not use real card details or read your gateway's logs, so you also need to review pending orders and webhooks yourself.
Related issues
- CNV-209Payment succeeds but order not createdFix guide
- CNV-206Payment gateway keys expired, all payments declinedFix guide
- CNV-207Payment declined with a valid test cardFix guide
- CNV-2083-D Secure challenge never completesFix guide
- CNV-217Payment error message unhelpfulFix guide
- CNV-205Payment gateway in test mode on live siteFix guide