On this page
What this issue is
A webhook is a message one service sends to a URL on your site when something happens, for example Stripe saying a payment succeeded or a form tool saying a lead was created. It is a server-to-server request. No browser and no human is involved.
Firewalls are built to stop unknown automated traffic. A webhook looks exactly like that: a POST request from a data centre IP, with no cookies, a non-browser user agent and a JSON body. Cloudflare managed rules, Bot Fight Mode, rate limits, country blocks, ModSecurity and security plugins can all answer with a 403, a 429 or a CAPTCHA page. The sender cannot solve a CAPTCHA, so the delivery fails.
Why it costs you leads or sales
The visitor sees a normal success page, so nothing looks wrong. Behind the scenes your site never hears about the event.
- Paid orders stay as pending or unpaid in your shop
- Customers do not get access, download links or confirmation emails
- Subscriptions and renewals are not recorded
- CRM leads, deal stages or booking updates do not arrive
- Purchase conversions that fire from the confirmation logic are missing
- Stripe retries for a while, then gives up and may disable the endpoint
- Customer paysStripe takes the payment
- Stripe sends webhookPOST to /wp-json/... or your endpoint
- FirewallReturns 403 or a challenge
- Order marked paidNever happens
- Access and email sentNever happens
The customer's payment succeeds, but the callback is stopped at the firewall.
Example: 100 customers pay in a week. With the webhook blocked, only orders confirmed by hand are recorded.
How to check if your site has it
Check the sender's delivery log
In Stripe, open Developers, then Webhooks, pick your endpoint and look at recent events. Responses of 403, 401, 429 or 5xx, or an HTML page instead of a short reply, point to a block. Most CRMs have a similar webhook or workflow history.
Look at your firewall events
In Cloudflare, open Security, then Events, and filter by the webhook path. Check your host's WAF log, ModSecurity audit log or security plugin log too. Note the rule that fired.
Compare with your order data
Match recent Stripe payments against orders marked paid on your site. Gaps mean callbacks are not landing.
Replay one event
Resend a failed event from the Stripe dashboard, or use the Stripe CLI against a test endpoint, and watch the response code.
How to fix it
The goal is a narrow exception for the webhook path, not switching the firewall off. Keep signature checking in your handler so only the real sender is trusted.
Find the endpoint URL
For WooCommerce Stripe this is shown in the Stripe gateway settings; many plugins use a /wp-json/ or ?wc-api= URL.
Exempt it in your security plugin
In Wordfence, Solid Security or similar, add the path to the allow-list or disable the firewall rule that fired, as seen in the plugin's log.
Exclude it from caching
Make sure your cache plugin does not cache or rewrite POST requests to that path.
Add a Cloudflare skip rule
In Security, then WAF, then Custom rules, create a rule: URI Path equals your webhook path AND request method equals POST. Set the action to Skip and tick the managed rules, Bot Fight Mode or rate limiting that were blocking. Place it above the blocking rules.
Optionally restrict by sender
Stripe publishes its webhook source IP list in its documentation. You can combine the skip rule with that list, but check the list is current before relying on it. Always verify the signature in your code as well.
Fix server rules
For ModSecurity or nginx limits, add an exception for the path based on the rule ID in the log.
Know the limit
GTM does not receive webhooks, so the fix is not in the container. If you use a server-side GTM endpoint, apply the same path exception on the firewall in front of it.
(http.request.uri.path eq "/webhooks/stripe" and http.request.method eq "POST")
Action: Skip
Skip: Managed rules, Rate limiting rules, Bot Fight Mode / Super Bot Fight Mode (as available on your plan)How to confirm it's fixed
Resend a failed event
In Stripe, open the failed event and choose to resend it. The response should be a 2xx from your handler.
Check the firewall log
The request should show as allowed or skipped, with no block for that path.
Run a test order
Use Stripe test mode and confirm the order flips to paid and the emails send.
Send a test lead
Submit a form and confirm the contact appears in the CRM with the right fields.
How to prevent it happening again
- Document every webhook path and its sender
- Re-test webhooks after any firewall, CDN, host or plugin change
- Turn on failure alerts in Stripe and your CRM
- Review the sender's delivery log weekly
- Reconcile payments against orders on a schedule
- Keep signature verification in every handler
How FunnelGuard handles this
FunnelGuard detects this issue only partly. Its CRM catcher checks that a test lead arrives, meaning the submission made it through to the inbox or CRM. If a firewall blocks that delivery path, you get an alert with a screenshot and a likely cause.
What it does not do: it does not read Stripe's webhook delivery log, does not replay your webhook events, and does not check that every callback was accepted or that data inside the CRM is correct. It also stops before payment unless your store's test mode is set up, so real Stripe callbacks are not exercised by default.
- Check Stripe, then Developers, then Webhooks for failed events each week
- Check your CRM's workflow or webhook history for errors
- Use Stripe test mode to run a full test order after changes
- Reconcile paid orders against Stripe payments monthly
- Review Cloudflare Security Events for the webhook path
You can start with the Free plan (1 site, 2 journeys, daily checks, no card), or try any paid plan free for 3 days.
Questions people ask
Why is my Stripe webhook failing with a 403?
A 403 usually means a firewall, CDN or security plugin rejected the request before your code ran. Check Cloudflare Security Events, your host's WAF log or your security plugin log for the rule that fired, then add a narrow exception for the webhook path.
Can Cloudflare block Stripe webhooks?
Yes. Managed rules, Bot Fight Mode, rate limits and geo rules can all block webhook POST requests because they come from servers, not browsers. Create a custom rule with the Skip action for your exact webhook path and POST method.
How do I know if my webhooks are being blocked?
Open the sender's delivery log, such as Stripe's Developers, then Webhooks page. Failed events with 403, 429 or HTML responses indicate a block. Also compare paid payments against orders marked paid on your site.
Should I allow-list Stripe's IP addresses?
You can, and it narrows the exception, but IP lists change, so use the current list from Stripe's documentation. Whatever you do, keep verifying the webhook signature in your handler.
Will Stripe retry a webhook that was blocked?
Stripe retries failed deliveries for a period, but if the block continues it eventually stops and may disable the endpoint. After fixing the block, resend missed events from the dashboard.
Why do paid orders stay pending after checkout?
Often the payment succeeded but the callback that marks the order paid never reached your site. A firewall block on the webhook URL is a common cause, so check the delivery log first.
Can FunnelGuard detect a blocked webhook?
Only partly. Its CRM catcher checks that a test lead arrives, which can reveal a block on that path. It does not read Stripe's delivery log or verify every callback, so check those by hand.
Related issues
- OPS-100Cloudflare/WAF blocks real visitors (challenge loops)Fix guide
- OPS-101Bot Fight Mode blocking checkout or form postsFix guide
- OPS-102Country/geo block hitting target marketFix guide
- OPS-103WAF rule blocking form submissions with certain wordsFix guide
- OPS-122Allow-list missing for monitoring IPs (false blocks)Fix guide
- OPS-113CDN origin errors (520-526 Cloudflare errors)Fix guide