On this page
What this issue is
Many stores create or confirm the order only after the payment provider sends a webhook. A webhook is a message the provider posts to a URL on your site when something happens, such as checkout.session.completed or payment_intent.succeeded in Stripe, or PAYMENT.CAPTURE.COMPLETED in PayPal.
- Customer paysCard or PayPal charge succeeds
- Provider sends webhookRequest to your endpoint returns an error or times out
- Order createdNever happens
- Emails and stockNo confirmation, no stock change
- FulfilmentNothing to ship
The payment succeeds, but the webhook step breaks and everything after it is lost.
Why it costs you leads or sales
The customer has paid and expects a product. With no order there is nothing to ship, so they email, dispute the charge or ask for a refund. You lose the sale, pay fees, and risk chargebacks.
It also hides in plain sight. Revenue in the payment dashboard looks fine, while your store reports undercount. Providers retry failed webhooks for a limited time and may disable an endpoint that keeps failing, so a small fault can turn into days of missing orders.
Example: 50 payments in a week, but only 41 orders because 9 webhooks failed.
How to check if your site has it
Check webhook delivery in StripeStripe
Open Developers > Webhooks, select your endpoint and look at recent events. Failed ones show a red status and the HTTP response code your server returned.
Check PayPal notificationsPayPal
In the PayPal Developer Dashboard open your app and its Webhooks section, then use Webhook events to see recent events and delivery status.
Compare payments with orders
Export recent payments from the provider and compare the amount, email and time with your store's order list. Any payment without an order is a hit.
Read your server or store logs
Look for requests to the webhook URL and their status. WooCommerce logs are under WooCommerce > Status > Logs. Shopify apps and custom code have their own logs.
| Response | Usual cause |
|---|---|
| 400 | Signature check failed: wrong signing secret, or the request body was changed before verification |
| 401 / 403 | Firewall, security plugin or login wall blocking the provider |
| 404 | Wrong or old endpoint URL, or permalinks and routes changed |
| 301 / 302 | Redirect (http to https, www change); webhooks do not follow redirects reliably |
| 500 / 502 / 504 | Your code crashed or timed out |
| Timeout | Endpoint does too much work before replying |
How to fix it
Confirm the endpoint URL
It must be the exact live URL, using https and the final domain (no redirect). Make sure it points to the right mode: live keys use the live endpoint, test keys the test one.
Check the signing secret
Copy the endpoint's signing secret (starts with whsec_ in Stripe) into your store or plugin settings. Each endpoint has its own secret, and live and test differ.
Let the provider through
Allow the requests in your firewall, CDN or security plugin. Do not put the endpoint behind a login, a CAPTCHA or a bot challenge.
Reply fast
Return a 2xx status quickly, then do slow work (emails, exports) in the background.
Resend the failed events
In Stripe, open the failed event and choose Resend, or use the Stripe CLI. In PayPal, use the Webhook events list to resend. Make sure your handler ignores duplicates.
Create orders for anything that cannot be replayed
Events are only kept for a limited time. For older payments, create the order manually from the provider data, or refund the customer and tell them.
Contact affected customers
Send the confirmation they never got, and check shipping and access are set up.
Check the gateway plugin
For WooCommerce, open WooCommerce > Settings > Payments, open the Stripe or PayPal gateway and re-enter the webhook secret. Use the webhook URL the plugin displays.
Exclude the endpoint from security and cache
Add the webhook URL to the exclusions of your caching and security plugins or firewall rules.
Check the payment app
Shopify Payments handles this for you. With a third-party gateway or custom app, open its settings and confirm the webhook is registered and active in the app's dashboard.
Review the order list
Check Orders and Drafts for the customer's email, and look at the gateway's own transaction list.
Verify with the raw body
Stripe signatures are computed on the raw request body. Parse JSON only after verification, or the check will fail with a 400.
Acknowledge, then process
Return 200 right after verifying and storing the event, and process it in a queue. Make the handler idempotent using the event id.
Check your Ecommerce provider
Webflow Ecommerce uses Stripe, PayPal and other connected processors. If you use a separate app or automation to create orders, check that its webhook URL and secret are correct.
Check connected payment methods
Under Settings > Accept Payments, confirm the provider is connected. For custom webhooks via Velo, check the endpoint's logs.
const express = require('express');
const Stripe = require('stripe');
const stripe = Stripe(process.env.STRIPE_SECRET_KEY);
const app = express();
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('Signature check failed');
}
if (event.type === 'checkout.session.completed') {
// create the order here, using event.id to avoid duplicates
}
res.sendStatus(200);
});How to confirm it's fixed
- Send a test event from the Stripe dashboard or CLI, or a PayPal webhook simulator event, and see a 2xx response
- Make a test purchase in test or sandbox mode and confirm an order appears
- Resent events show as delivered and did not create duplicate orders
- Every payment from the affected period matches an order, or has been refunded
- The confirmation email and stock change happen for the new order
How to prevent it happening again
- Turn on failure notification emails in Stripe and PayPal and send them to a shared inbox
- Reconcile payments against orders daily or weekly
- Re-check the webhook URL and secret after domain, hosting, plugin or security changes
- Keep the endpoint free of redirects, logins and bot challenges
- Also create or verify the order on the success page as a backup, where your platform supports it
- Keep separate live and test endpoints and secrets, clearly labelled
How FunnelGuard handles this
FunnelGuard does not check this yet. Confirming that a webhook reached your store and created an order is a possible future check, not something it does today.
What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys on a schedule, including checkouts, and checks each step and the tracking hits sent to ad and analytics platforms. It stops before payment unless your store's test mode is set up, and it never enters real card details. If a journey breaks before payment, such as a broken button or form, that is the kind of failure it is built for.
For this issue, use the manual route: enable failed-webhook emails in Stripe and PayPal, and run a regular payments-versus-orders comparison. You can also run a test purchase in test mode yourself after every change. A free read-only website audit and a Free plan (1 site, 2 journeys, daily checks, no card) are available if you want to monitor the rest of the funnel.
Broken
- Endpoint returns 400, 403 or 500
- Paid customers have no order
- Gaps found only when customers complain
Fixed
- Endpoint returns 2xx quickly
- Every payment creates one order
- Failures reach you by email the same day
Questions people ask
Why was my customer charged but no order was created?
Most often the payment provider's webhook to your store failed. Typical causes are a wrong endpoint URL, a wrong signing secret, a firewall blocking the request, or a server error. Check the failed events in your Stripe or PayPal dashboard.
How do I find Stripe webhook failures?
In the Stripe dashboard go to Developers > Webhooks, open your endpoint and review recent events. Failed deliveries show the HTTP response your server returned, which points to the cause.
How do I resend a failed Stripe webhook?
Open the failed event in the Stripe dashboard and choose Resend, or replay it with the Stripe CLI. Fix the endpoint first, and make sure your handler ignores duplicate events so you do not create two orders.
Why does Stripe webhook signature verification fail?
Usually the signing secret is wrong (live and test endpoints have different ones), or the request body was parsed or changed before verification. Stripe signs the raw body, so verify before any JSON parsing.
How long does Stripe retry failed webhooks?
Stripe retries failed deliveries for a limited period and may disable an endpoint that keeps failing. Do not rely on retries. Fix the cause quickly and check the dashboard for events you must resend.
What do I do about customers who paid but have no order?
Replay the failed events if they are still available. If not, create the order manually from the payment details, or refund the customer. Then contact them so they know what is happening.
Can FunnelGuard detect a failed payment webhook?
Not yet. It is a possible future check. FunnelGuard currently runs journeys such as checkouts and checks steps and tracking hits, but it stops before payment unless test mode is set up. Use provider failure emails and regular reconciliation for this issue.
Related issues
- DLV-160Order not created in the store after test purchaseFix guide
- DLV-162Stripe webhook endpoint disabled after repeated failuresFix guide
- DLV-163PayPal IPN/webhook URL wrong, orders stay pendingFix guide
- DLV-164Order stuck in pending paymentFix guide
- DLV-165Stock not reduced after purchaseFix guide
- DLV-179Admin new-order email not sent to the store ownerFix guide