Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Stripe webhook endpoint disabled: how to find and fix it

DLV-162High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A webhook is a message Stripe sends to a URL on your site when something happens, such as a payment succeeding. Your store reads that message and marks the order as paid.

If your endpoint answers with errors (4xx or 5xx codes), times out or cannot be reached, Stripe retries for a while. If failures continue, Stripe emails the account owners and eventually disables the endpoint. After that, no new events are sent to it. The customer is still charged, but your store is never told.

Why it costs you leads or sales

Your checkout can look perfect while the back office is silently broken. Customers pay, but orders stay in pending payment, no confirmation email goes out, stock is not reduced, access is not granted and fulfilment never starts. You then get refund requests, chargebacks and support tickets from people who paid for something they never received.

Where the chain breaks
  1. Customer paysStripe charges the card
  2. Stripe sends webhookEndpoint is disabled, nothing is sent
  3. Order marked paidNever happens
  4. Email, stock, fulfilmentNever triggered

The customer pays, but the webhook is never delivered, so everything after it is lost.

How it unfolds (Example)
  1. Day 1

    A plugin update or firewall rule makes the endpoint return 403 errors.

  2. Days 1-3

    Stripe retries failed events. Some orders sync late, others do not.

  3. Later

    Stripe emails a warning to the account owners. It often goes unnoticed.

  4. After continued failures

    Stripe disables the endpoint. Payments succeed but orders stay pending.

  5. Fix day

    You repair the endpoint, re-enable it and resend missed events.

How to check if your site has it

Check the endpoint status in Stripe
  1. Open the Webhooks page

    In the Stripe Dashboard go to Developers > Webhooks. Make sure you are in the right mode (Live, not Test sandbox).

  2. Look at the endpoint status

    A disabled endpoint is shown as disabled, and Stripe usually shows a banner about it. Also open the endpoint and look at the recent deliveries list for failures.

  3. Read the error responses

    Click a failed event to see the HTTP status code and the response your server gave. 401/403 points to a firewall or auth block, 404 to a wrong URL, 5xx to a server or plugin error, timeouts to a slow site.

  4. Compare with your orders

    In Payments, find recent successful charges and check that matching orders exist and are marked paid in your store.

  5. Search your inbox

    Look for Stripe emails about webhook delivery failures sent to the account owner.

How to fix it

Fix the cause first. If you re-enable an endpoint that still fails, Stripe will disable it again. Common causes are listed below.

Common causes by response seen in Stripe
Response in StripeLikely causeWhat to do
404URL changed after migration, permalink change or plugin removalUpdate the endpoint URL to the one your plugin shows
401 / 403Firewall, security plugin or CDN rule blocking StripeAllow the webhook path; do not disable bot protection site wide
400 (signature error)Wrong signing secret after recreating the endpointPaste the new signing secret (whsec_...) into your store
500 / 502 / 503PHP error, plugin conflict or server downCheck server error logs and fix the error
TimeoutHandler does slow work before replyingReply 2xx quickly, then process in the background
Redirect (301/302)HTTP to HTTPS or www redirect on the endpointUse the final HTTPS URL directly
Fix by platform
  1. Find the webhook URL

    In WooCommerce > Settings > Payments > Stripe, open the settings and copy the webhook URL shown there (the layout depends on your plugin version).

  2. Allow it through security tools

    Check your security plugin, firewall or host rules for blocks on that path, and add an exception for it.

  3. Re-save the plugin webhook settings

    Re-enter the signing secret from Stripe so the plugin can verify events.

Node.js (Express) webhook handler that verifies and replies quicklyjavascript
const express = require('express');
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
const app = express();

app.post('/stripe/webhook', 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');
  }
  // Queue the slow work, do not do it here
  queueEvent(event);
  res.status(200).send('ok');
});
Re-enable the endpoint and recover missed orders
  1. Re-enable the endpoint

    In Developers > Webhooks, open the disabled endpoint and use the option to enable it again. If it will not stay enabled, create a new endpoint and update the signing secret in your store.

  2. Send a test event

    Use the send test webhook option on the endpoint, or trigger a test event, and confirm your server answers 2xx.

  3. Resend missed events

    Open the failed events and resend them. Stripe can resend events from a limited recent period, so do this soon.

  4. Reconcile older payments by hand

    For anything too old to resend, compare Stripe payments with your orders and mark them paid manually or via your store's tools.

How to confirm it's fixed

Confirmation checklist
  • The endpoint shows as enabled in Developers > Webhooks
  • Recent deliveries show 2xx responses
  • A test purchase (Stripe test mode) creates a paid order
  • The confirmation email, stock change and fulfilment trigger all happen
  • Missed live payments now have matching paid orders
  • No new failure warning emails arrive over the following days

How to prevent it happening again

Prevention checklist
  • Send Stripe webhook warning emails to a shared inbox, not one person
  • Re-check the endpoint after plugin, theme, PHP, firewall or CDN changes
  • Keep the signing secret stored safely and update it when you recreate an endpoint
  • Return 2xx quickly and process work in the background
  • Make order handling safe to repeat so replays cause no duplicates
  • Review Developers > Webhooks weekly, or after any site migration
Before and after

Endpoint disabled

  • Payments succeed in Stripe
  • Orders stay pending
  • No confirmation emails
  • Warnings missed in one inbox

Endpoint healthy

  • Events return 2xx
  • Orders marked paid automatically
  • Emails, stock and fulfilment fire
  • Warnings reach a shared inbox

How FunnelGuard handles this

FunnelGuard does not check Stripe webhook endpoints today. A check for this is a possible future addition, but it does not exist yet, so do not rely on FunnelGuard to tell you an endpoint was disabled.

What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, from the EU or the US, and check 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, so it is not a replacement for watching webhooks.

To watch for this yourself: keep Stripe's failure emails going to a shared inbox, look at Developers > Webhooks each week, and compare successful Stripe payments with paid orders in your store. You can also set up your own alert on your server logs for errors on the webhook route.

Questions people ask

Why was my Stripe webhook endpoint disabled?

Stripe disables an endpoint when deliveries keep failing over a period of days. Failures mean your server returned errors, timed out, redirected or could not be reached. Common triggers are a changed URL, a firewall block or a plugin error.

How do I re-enable a disabled Stripe webhook endpoint?

Go to Developers > Webhooks in the Stripe Dashboard, open the endpoint and enable it again. Fix the cause of the failures first, or it will be disabled again. If it will not re-enable, create a new endpoint and update the signing secret in your store.

Will I lose orders if my Stripe webhook is disabled?

The customer is still charged, but your store may never mark the order as paid. You can recover many of them by resending events from the Dashboard within Stripe's retention window, and by matching Stripe payments with your orders by hand.

Can I resend failed Stripe webhook events?

Yes. Open the event in Developers > Webhooks or Events and resend it to the endpoint. Only recent events can be resent, and your store should handle repeats safely so you do not get duplicate emails or shipments.

Why does my Stripe webhook return 400 or signature errors?

Usually the signing secret in your store does not match the endpoint, often after recreating the endpoint. It can also happen when a framework changes the raw request body before it is verified. Paste the current whsec_ secret and verify against the raw body.

How do I know if my Stripe webhooks are failing?

Check the recent deliveries on the endpoint in Developers > Webhooks for non-2xx responses, and watch for Stripe's warning emails. Also compare successful payments with paid orders in your store.

Does FunnelGuard monitor Stripe webhooks?

Not yet. A webhook check is a possible future addition. FunnelGuard currently monitors journeys such as forms and checkouts, tracking hits and test lead delivery, so you should still review your Stripe webhook page yourself.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.