All posts

When a security plugin blocks WooCommerce checkout

A security plugin protects the store by blocking requests that look suspicious. Checkout requests carry addresses, long form posts and JSON, and payment gateways call the store from servers you do not control. A rule written for attacks can match all of that, and the customer just sees a checkout that does not finish.

Free checkout scan

Enter your store address. A real browser adds a product to the cart and walks the checkout up to the payment step, like a customer, and shows you every step with a screenshot.

  • Free, no account
  • Stops before payment, no order
  • Nothing to install
· Updated · 2 min read
A closed shutter at the end of a corridor

What gets blocked

Blocked requestWhat the customer sees
?wc-ajax=update_order_reviewTotals and shipping never load
?wc-ajax=checkoutPlace Order spins or shows a generic error
/wp-json/wc/store/v1/checkout (block checkout)“There was a problem processing your order”
REST API disabled for visitorsBlock cart and checkout do not load at all
Gateway webhook (/?wc-api=…, /wp-json/…)Nothing; the order stays pending after payment
Rate limit or country blockSome customers fail, others do not

Address lines with apostrophes or SQL-like words, and coupon codes, are typical false positives for WAF rules.

Finding it

Open DevTools → Network, place an order, and look at the failing request. A 403, or an HTML page where JSON was expected, means something in front of WooCommerce answered instead of it.

bash
# A blocked AJAX call returns 403 or an HTML block page
POST /?wc-ajax=checkout            403
POST /wp-json/wc/store/v1/checkout 403

Then check, in this order: the security plugin’s live traffic or firewall log, the host’s WAF or ModSecurity log, and the CDN’s security events. Match the time and IP of your test order to find the rule.

Fixing it safely

  1. Allow the rule, not the plugin off. Whitelist the specific rule for the checkout path, or use the plugin’s learning mode for that URL.
  2. Allow gateway webhooks by path. The gateway’s documented IP ranges are better still, where it publishes them.
  3. Keep the REST API open for the Store API. “Disable REST API” options must exclude /wp-json/wc/store/.
  4. Re-test every payment method. Including a real webhook round trip.
Do not disable the firewall to fix checkout

Card-testing bots target checkout endpoints. Removing protection trades a broken checkout for a flood of fraudulent attempts. See card testing attacks.

Plugin updates can add rules, so the same break can come back after an update. Related: updating WooCommerce plugins safely and Cloudflare and CDNs.

Check your own store now with the free WooCommerce checkout checker: it walks the checkout in a real browser, stops before payment, and shows the step where it breaks.

Find out your checkout broke before your customers do.

Real checkout checks for Magento and WooCommerce · free plan · no card requiredWooCommerce checkout monitoring →
FAQ

Common questions

Still have a question?More answers, and a way to reach us.Support →
01Can Wordfence block WooCommerce checkout?

Yes, any WAF can block checkout AJAX, the Store API or payment webhooks when a rule matches. Check its firewall log for the request and allow that rule for the checkout path.

02How do I know a security plugin is the cause?

The failing checkout request returns 403 or an HTML block page instead of JSON, and the plugin’s log shows a block at that time.

03Should I turn off the firewall?

No. Allow the specific rule or path. Checkout endpoints are a target for card-testing bots.