← All guides

WooCommerce Stripe Webhook Failed: How to Fix It

Updated

When a WooCommerce Stripe webhook fails, Stripe takes the payment but cannot notify your store, leaving orders stuck in Pending payment or missing refund and dispute updates. In most stores, the fix is to reconfigure webhooks inside WooCommerce Stripe settings, remove duplicate manual endpoints in Stripe, and make sure your firewall or cache does not block POST requests to /?wc-api=wc_stripe. Follow the checks below in order to isolate the exact status code and restore webhook delivery.

1. Check webhook status inside WooCommerce first

Open WooCommerce > Settings > Payments > Stripe > Settings, scroll to Account details, and select Configure connection. Check both the Live tab and the Test tab. Both should show the webhook status as Configured.

Since version 8.6.1 of the WooCommerce Stripe Payment Gateway plugin, the extension creates and updates its own webhooks automatically. According to the WooCommerce Stripe webhooks documentation, automatic updates are skipped in two common situations:

  • A webhook signing secret was entered manually in your plugin settings.
  • The saved webhook points to a different site URL, which often happens after copying a live store to or from a test copy or changing domains.

If either applies, WooCommerce shows a dashboard notice that the saved endpoint no longer exists or that automatic reconfiguration was skipped.

2. Reconfigure webhooks and remove duplicate endpoints

If the status is not Configured, or if logs show a signing secret mismatch:

  1. Go to WooCommerce > Settings > Payments > Stripe > Settings and click Configure connection.
  2. Open the Live tab and click Reconfigure webhooks.
  3. Open the Test tab and click Reconfigure webhooks.
  4. Log in to your Stripe dashboard, open Developers > Webhooks, and inspect every endpoint that points to https://yourdomain.com/?wc-api=wc_stripe.

Reconfiguring removes endpoints that the Stripe plugin created earlier, but it does not delete endpoints you added by hand. Because the plugin now validates incoming events against the new signing secret, any leftover manual endpoint pointing to /?wc-api=wc_stripe will keep returning signature errors until you delete it in Stripe.

3. Read the HTTP status code in Stripe webhook logs

If the endpoint is configured and unique but deliveries still fail, open the endpoint in your Stripe dashboard under Developers > Webhooks and check the Failed deliveries list. The HTTP status code and response body point directly to the cause:

HTTP 403, 406, or HTML challenge responses

A firewall, CDN rule, or security plugin (such as Cloudflare, Wordfence, or ModSecurity) is blocking or challenging Stripe's POST requests to /?wc-api=wc_stripe. Check your firewall logs for blocked requests targeting wc-api=wc_stripe and add an allow or bypass rule for that query path.

HTTP 301 or 302 redirects

Stripe does not follow redirects on webhook deliveries. If your store redirects http:// to https:// or www to non-www, make sure the webhook URL in Stripe matches your final canonical domain exactly, including HTTPS and the exact host.

HTTP 500 or 502 server errors

Your site threw a PHP error while handling the webhook payload. Enable logging under WooCommerce > Settings > Payments > Stripe > Settings (Log error messages) and inspect WooCommerce > Status > Logs for woocommerce-gateway-stripe and fatal-errors entries. If this started right after a plugin update, also review our WooCommerce checkout troubleshooting guide and our notes on the WooCommerce Stripe Gateway 11.2.0 security update.

Cached or empty responses

Page caches and reverse proxies must never cache /?wc-api=wc_stripe. Exclude wc-api query strings in your caching plugin and host-level cache, then clear all caches and resend a failed event from the Stripe dashboard to confirm a 200 OK response.

4. Check for legacy Stripe or PayPal settings

Older stores sometimes have leftover legacy Stripe checkout settings or a second Stripe plugin active at the same time, creating conflicting webhook handlers. You can run our PayPal Standard and Stripe legacy checker or verify in Plugins > Installed Plugins that only one Stripe integration is active and updated to the current release from WooCommerce Stripe documentation.

5. Verify with a live or test event

After fixing the endpoint or firewall rule:

  1. Resend one recent failed event from Stripe's webhook delivery log and confirm HTTP 200.
  2. Place a low-value test order and confirm the order moves from Pending payment to Processing (or Completed for virtual products) with the Stripe charge ID recorded in Order Notes.
  3. Confirm the Account details section in WooCommerce Stripe settings shows webhooks processing normally.

When to get help

If Stripe deliveries still fail with 403, 500, or signature errors after reconfiguring webhooks and clearing duplicate endpoints, the cause is usually a host firewall rule, a reverse-proxy header stripping Stripe-Signature, or a plugin conflict inside the webhook hook. If you want the Tadrik team to trace the logs, fix the webhook delivery, and verify live checkout orders on your store, request a fix on our WooCommerce Store Fix page. We quote a fixed price before we start, and fixes usually take 2 working days once we have access.

Common questions

"What URL does the WooCommerce Stripe plugin use for webhooks?" "The official WooCommerce Stripe Payment Gateway plugin only listens on https://yourdomain.com/?wc-api=wc_stripe. Any other webhook URL in your Stripe dashboard belongs to a different gateway or third-party tool."

"Why do Stripe webhooks keep failing after I click Reconfigure webhooks?" "Reconfiguring creates a new endpoint with a new signing secret and deletes endpoints created by the plugin, but it does not delete endpoints you added manually. Remove any older manual endpoint pointing to /?wc-api=wc_stripe in your Stripe dashboard."

"Do I still need to create Stripe webhooks manually in WooCommerce?" "No. Since version 8.6.1 of the WooCommerce Stripe Payment Gateway plugin, webhooks are created automatically when you connect Stripe and updated when the plugin updates, unless you set a signing secret manually or cloned the site from a different URL."