Tag Archives: Checkout

‘There Was a Problem With Your Order’: Fixing WooCommerce Block Checkout and Store API Errors

WooCommerce’s block-based Cart and Checkout are now the default for new stores, and many established stores have switched to them. They’re faster and easier to customize, but they work differently from the old shortcode checkout, and they fail differently too.

The WordPress.org forums have a steady stream of threads with the same messages: “There was a problem with your order”, “There was an error processing your order. Please check for any charges in your payment method”, block checkout breaking only in a secondary language on a multilingual site, or extensions that “aren’t compatible with the Checkout block”. WooCommerce’s own developer blog has published rounds of checkout fixes for exactly this kind of issue.

This guide explains how block checkout works under the hood, why that matters when it breaks, the common causes, and how to make sure you hear about it before customers do.

How block checkout is different

Block checkout flow through the Store API: load cart, update customer address with shipping and tax, payment script prepares payment, place order posts to the checkout endpoint, order created. Failed requests: 401 or 403 means security blocking; 404 means routes unreachable; 400 with a code means validation; 500 means a PHP error.

The classic checkout is a PHP-rendered form posted back to your site. The block checkout is a JavaScript application in the browser that talks to WooCommerce through the Store API, a set of REST endpoints under /wp-json/wc/store/v1/.

When a shopper uses block checkout:

  1. The browser calls the Store API to load the cart (items, totals, shipping rates).
  2. As the shopper types an address, the browser calls the API to update the customer and recalculate shipping and tax.
  3. The payment method’s script (Stripe, PayPal and so on) prepares the payment in the browser.
  4. Place order sends everything to the checkout endpoint, which creates the order and processes payment.

That means block checkout can break in places classic checkout never touched:

  • If the REST API is blocked or broken, the checkout can’t load or submit.
  • If a payment plugin doesn’t support blocks, its method may be missing from the checkout.
  • If any extension that changes the cart (fees, custom fields, discounts) isn’t block-compatible, its changes may be missing or cause errors.
  • Errors are often shown as a generic message in the browser, while the real reason is in an API response only developers look at.

The common causes

Six causes of WooCommerce block checkout errors: REST or Store API blocked for guests, payment gateways without block support, extensions that aren't block compatible, caching or delayed JavaScript, problems in secondary languages or currencies, and totals increasing before submit in WooCommerce 11.1 and later.

1. The REST API or Store API is blocked

Security plugins, firewalls, CDN rules and “disable REST API” settings sometimes block /wp-json/ requests for visitors who aren’t logged in. Classic checkout may still work; block checkout fails. A WordPress Site Health warning about the REST API is a strong hint.

2. A payment method that doesn’t support blocks

Payment plugins must register a separate integration for the Checkout block. An older or less-maintained gateway may simply not appear in block checkout, or may appear but fail at the payment step.

3. An extension that isn’t block-compatible

Checkout field editors, conditional fees, gift options, upsells and some shipping plugins hook into classic checkout. On block checkout their logic may not run, may run twice, or may throw an error. WooCommerce shows an incompatibility notice in the editor for extensions that haven’t declared support. Take it seriously.

4. Caching and optimization

Page caching of cart or checkout, or script optimization that defers, combines or delays the checkout’s JavaScript, can break the app. Cart and checkout pages and the Store API should never be cached, and checkout scripts should be excluded from “delay JS” features.

5. Multilingual and multi-currency setups

Language and currency switchers change URLs, prices and REST behaviour. Problems that only appear in a secondary language or currency are common, and easy to miss if you only test in your main language.

6. Price changes between load and submit

From WooCommerce 11.1, block checkout stops an order if the total increases between page load and Place order, asking the shopper to refresh. That protects customers, but if dynamic pricing, currency or coupon plugins frequently change totals, shoppers will keep hitting it. (Order totals guide)

7. Server errors and timeouts

A PHP fatal error or timeout on the checkout endpoint shows up in the browser as a generic error. The real message is in your PHP error log or WooCommerce → Status → Logs.

8. Bot protection that blocks real shoppers (or doesn’t block bots)

The Store API is also a target for card testing bots. WooCommerce has added rate limiting and worked with CAPTCHA plugin authors so their protection covers block checkout. Misconfigured protection can block real customers; missing protection invites attacks. (Card testing guide)

How to diagnose a block checkout error

1. Reproduce it like a customer. Private window, logged out, on mobile and desktop, in every language and currency you sell in, with each payment method.

2. Open developer tools → Network. Filter for wc/store. Watch the requests as you load the checkout, enter an address and click Place order. A red request (4xx or 5xx) is your culprit. Click it and read the response: it usually contains a specific error code and message.

3. Read the status code:

  • 401/403: something is blocking the API (security plugin, firewall, CDN rule, nonce problem from caching).
  • 404: the REST route isn’t reachable (permalinks, rewrite rules, or REST disabled).
  • 400 with an error code: WooCommerce rejected the request for a reason in the message (invalid address, coupon, payment data, total changed).
  • 500: a PHP error. Check the logs.

4. Check logs. WooCommerce → Status → Logs for fatal errors and gateway logs around the time of the failure.

5. Switch to classic temporarily (if needed). If you need to keep selling while you investigate, replacing the Checkout block with the classic checkout shortcode is a valid short-term fix, provided your extensions support it.

6. Conflict test on staging. Default theme, then disable plugins one at a time, keeping WooCommerce and the gateway on.

A worked example: the security plugin update

A store using block checkout updates its security plugin. The new version adds a default setting that restricts REST API access for visitors who aren’t logged in, a sensible hardening for many sites.

  • The checkout page loads normally, so it’s cached HTML and looks fine.
  • When a logged-out shopper enters their address, the Store API call to update the cart returns 401. Shipping rates never load.
  • Place order fails with “There was a problem with your order”.
  • Logged-in customers (including the store owner testing from the admin) can check out fine, because they’re authenticated.

The owner’s own test passes. Sales from new customers fall to almost zero, while repeat customers who happen to be logged in still buy. It’s a confusing pattern, until you test logged out with the Network tab open and see the 401 on wc/store/v1/cart/update-customer.

The fix is a one-line exception in the security plugin for the Store API routes. Finding it is the hard part, which is why the diagnosis steps above start with “reproduce it like a customer”, meaning logged out.

Classic vs block checkout: which breaks how

Failure Classic checkout Block checkout
REST API blocked for guests Usually unaffected Breaks
Gateway without block support Works Method missing or failing
Extension without block support Works Feature missing or errors
Page caching of checkout Nonce/session errors Nonce/session errors
JS delay/defer Payment field may not load App may not initialize
Total changes before submit Proceeds Stopped if total increases (WC 11.1+)

If you switch between the two, re-test everything. They’re different code paths.

The part that hurts: you rarely see the error

Block checkout errors happen in the customer’s browser. Unless they email you, you never see the message. Your server may log nothing at all for a blocked request. Your uptime monitor is checking the home page. And because the checkout page itself loads, even a quick visual check can look fine.

The result is a familiar story: conversion quietly falls, and nobody knows why. (Sales suddenly dropped?)

Monitoring the Store API with Ordafide Pro

Ordafide Pro includes synthetic checkout monitoring that checks your shop, product, cart and checkout pages and the Store API every 15 minutes, recording status and response time and whether the expected page content was really there. An optional deep mode adds a test product to a cart through the same path a shopper uses. It never creates orders, so your data stays clean, and it raises a finding only after two consecutive failures to avoid false alarms.

Because it checks the Store API directly, it catches the class of failure that’s specific to block checkout: the classic page looks fine, but the API the block depends on is blocked or erroring.

Pro also adds order volume anomaly detection (a drop in orders compared with comparable past hours), gateway reconciliation, and alerts via Slack, SMS, email or signed webhook.

The free Ordafide plugin helps with the aftermath. Checkout errors often produce orders that are half-finished or duplicated as customers retry. Ordafide flags stuck payments, paid-but-cancelled orders, duplicate charges and totals that don’t add up, so you can clean up the orders affected while checkout was misbehaving.

Block checkout health checklist

  • Cart, checkout and /wp-json/wc/store/ excluded from page caching
  • Checkout scripts excluded from JS delay/combine features
  • Security plugin and firewall allow the Store API for logged-out visitors
  • Every payment method you offer supports the Checkout block
  • Every checkout-related extension declares block compatibility
  • Tested in every language and currency, on mobile and desktop
  • CAPTCHA (if any) supports block checkout and the Store API
  • Automated monitoring of the Store API, not just the home page

Before switching an existing store to block checkout

If you’re moving from the classic checkout to the Checkout block, a little preparation prevents most of the errors above:

  1. List every plugin that touches cart or checkout (gateways, fees, fields, shipping, upsells, gift cards) and confirm each supports the Checkout block.
  2. Check for template overrides in your theme for cart and checkout. The block doesn’t use them.
  3. Test on staging with every payment method, logged in and out, in every language and currency.
  4. Exclude the Store API from caching and confirm security tools allow it.
  5. Switch at a quiet time, watch orders closely for the first days, and keep the classic shortcode ready as a fallback.

Reading a Store API error response

When you find a failed wc/store request in the Network tab, the response is usually JSON with a code and a message. A few you’ll commonly see:

  • a nonce or authentication error: often caching serving a stale page, or a security plugin interfering with authentication
  • invalid address or shipping errors: a shipping zone or validation plugin rejecting the input
  • payment errors: the gateway rejected the payment data, so check the gateway’s own logs
  • cart or total errors: an item went out of stock, a coupon expired, or the total changed

Copy the full code and message into your notes or a support ticket. It turns “checkout is broken” into a precise, fixable error.

WooCommerce Sales Suddenly Dropped? A 30-Minute Diagnosis Checklist

It usually starts as a feeling. Tuesday was quiet. Wednesday was quieter. By Thursday you’re refreshing the orders screen and wondering whether something is wrong with the store or with the world.

Store owners post this question constantly. A WordPress.org thread titled “Not getting any new orders, way to check for errors?” describes a merchant whose orders stopped while ad clicks kept coming in. They had recently hired someone to speed up the site, test purchases worked fine, and they spent days chasing caching, mixed content and mobile behaviour before finding a lead. Shopify’s community has the same threads: “I went from getting tons of sales to none”.

The frustrating part is that a sales drop can come from four very different places, and each needs a completely different fix:

  1. The store can’t take orders: checkout or payments are broken
  2. The store takes orders but records them wrong: orders exist but are stuck, failed or cancelled
  3. The numbers are wrong: sales are fine, but reporting or tracking broke
  4. Demand really dropped: traffic, ads, search ranking or season

This checklist gets you from “something’s wrong” to “it’s this” in about 30 minutes, in the order that finds the expensive problems first.

Minute 0–5: Is it real?

Before diagnosing anything, confirm there’s a drop.

  • Open WooCommerce → Orders and count orders per day for the last 14 days, including all statuses, not just Processing and Completed.
  • Compare with the same weekdays in previous weeks. Mondays aren’t Saturdays.
  • Account for the obvious: a sale that ended, a holiday, a marketing email that didn’t go out.

If total orders (all statuses) are normal but paid orders dropped, skip to Minute 15. That’s a payment recording problem, not a demand problem.

Minute 5–15: Can a customer actually buy?

This is the most common cause and the most expensive, so check it first.

Do a real test purchase, the way a customer would:

  • In a private window, logged out, on a phone as well as a desktop.
  • Add a product, go to cart, go to checkout, pay with a real card (refund it afterwards).
  • Watch for anything odd: slow spinners, missing payment fields, error messages, a Place order button that does nothing.

Check the browser console (developer tools) on the checkout page for red errors naming a plugin.

Check what changed around the day the drop began:

  • Plugin, theme or WooCommerce updates (including auto-updates)
  • New caching, optimization or security settings
  • Hosting changes: migrations, PHP version upgrades, firewall rules
  • Payment gateway changes: new keys, reconnects, account notices

The WordPress.org thread above is typical: the drop started right after “speed optimization” work. Caching and script-optimization plugins are among the most frequent causes of a checkout that loads but doesn’t work. (Update broke checkout playbook)

Remember the partial breaks. Checkout might fail only on iPhones, only for one payment method, only for logged-in customers, only in one language, or only on block checkout. Your own quick test passing doesn’t clear the store. Test the paths your customers actually use. (Block checkout errors)

Minute 15–20: Are orders arriving but getting stuck?

If checkout works, look at what happens after payment.

  • Filter orders by Pending payment, Failed, On hold and Cancelled for the drop period. Are there more than usual?
  • Open a few. Is there a gateway payment reference or a paid date on orders that aren’t Processing?
  • Check your gateway dashboard: are payments arriving that don’t match WooCommerce orders?

If paid orders are being stuck or auto-cancelled, the cause is almost always payment confirmations not reaching WooCommerce: a blocked webhook, a wrong secret, or a stalled background queue. (Stuck pending orders · Failed orders · Firewall blocking webhooks)

Minute 20–25: Is it the numbers, not the sales?

Sometimes nothing is wrong with sales at all.

  • Analytics vs orders: WooCommerce Analytics relies on background processing to import orders. If the background queue stalls, reports can lag or look empty while real orders keep arriving. Check WooCommerce → Status → Scheduled Actions for a large past-due backlog.
  • Ads and analytics tracking: a broken purchase event in Google Analytics or an ad platform can make conversions “disappear” while WooCommerce has the orders.
  • Email notifications: if you judge sales by new-order emails and those stopped, it may be email that’s broken, not sales. (Emails not sending)

Always trust the orders list and your gateway over dashboards and notifications.

Minute 25–30: Is it demand?

Only once the store is cleared should you look outward:

  • Traffic: did sessions fall at the same time as orders? If traffic is steady and orders fell, it’s almost certainly a store problem, not demand.
  • Sources: did one channel collapse? Paused ads, a disapproved product feed, an email that didn’t send, a search ranking drop.
  • Prices and stock: did a best-seller go out of stock, or a price change go live?
  • Competition and season: a competitor’s sale, a seasonal dip.

A worked example: the “speed optimization” week

A store averages 25 orders a day. On Wednesday a freelancer installs a performance plugin and turns on “delay all JavaScript until user interaction”. Desktop checkout still works, because moving the mouse triggers the scripts. On many phones, the payment field never initializes before the shopper taps Place order.

  • Wednesday: 19 orders. “A bit slow.”
  • Thursday: 14 orders. Ads are running as normal.
  • Friday: 12 orders. The owner’s own test purchase, on a laptop, works.
  • Monday: a customer emails: “Your checkout doesn’t work on my phone.”

Running the checklist on Thursday morning would have found it in ten minutes. Minute 5–15 (test on a phone, check what changed) points straight at the new plugin. Instead it took five days and roughly 40 lost orders.

The lessons generalize: test on the devices your customers use, always ask “what changed?”, and don’t wait for a customer to tell you.

Keep a simple change log

Most sales-drop investigations stall on one question: what changed around that day? A one-line-per-change log answers it instantly:

Date Change By
4 Nov Performance plugin installed, JS delay on Freelancer
6 Nov Shipping rates updated Owner
9 Nov Stripe plugin auto-updated Auto

Include plugin installs and updates, settings changes, hosting changes, gateway changes, and marketing changes (ads paused, emails sent). It takes seconds to keep and saves hours when something goes wrong.

The quick decision tree

Decision tree for a WooCommerce sales drop: traffic normal but all orders down means checkout is broken; all orders normal but paid orders down means payments aren't being recorded; orders normal but reports down means reporting broke; traffic down with steady conversion means a demand or marketing problem. Check the store first.

  • Traffic normal, all-status orders down → checkout broken. Test every path.
  • Orders normal, paid orders down → payments not being recorded. Check stuck, failed and cancelled orders against the gateway.
  • Orders normal, reports down → reporting or tracking problem. Check Scheduled Actions and analytics tags.
  • Traffic down, conversion steady → demand or marketing problem. Check channels.

Partial drops are the hardest

A complete stop is obvious within a day. A partial drop, where orders fall by 30% because one payment method or one device type broke, can run for weeks. Daily sales vary anyway, and a 30% dip looks like a slow week.

Signs a “slow week” is actually a partial break:

  • One payment method’s share of orders falls sharply while others hold steady
  • Mobile orders fall while desktop orders don’t
  • New customer orders fall while repeat customers keep buying
  • One country or currency stops ordering

WooCommerce Analytics can break orders down by payment method and customer type, and your web analytics can split conversion by device. Those comparisons often reveal a partial break in minutes.

Why it takes days to notice

Here’s the uncomfortable pattern behind most of these stories: the drop started days before anyone looked. A sales drop is an absence. Nothing errors. Nothing emails you. Absences are hard for people to notice, especially on weekends, during holidays, or when sales naturally vary day to day.

The fix isn’t to stare at the dashboard more. It’s to have something compare “now” with “normal” for you, all the time.

Catching drops automatically with Ordafide

Illustrative line chart of orders per hour: this Thursday tracks a normal Thursday until 13:00, then falls far below. An anomaly is flagged at 14:00, hours before anyone would notice by looking at daily totals.

Ordafide Pro is built to turn an absence into an alert:

  • Order volume anomaly detection compares the current hour’s orders with comparable past hours (same time of day, same day of week) using median-based statistics, so normal ups and downs and one-off busy days don’t trigger false alarms. It flags drops (and spikes) and resolves itself when volume returns to normal.
  • Synthetic checkout monitoring checks shop, product, cart, checkout and the Store API every 15 minutes, with response times. An optional deep mode adds a product to a cart. It never places an order, and it raises a finding only after two consecutive failures.
  • Gateway reconciliation (Stripe, PayPal, Square, Mollie, Razorpay; read-only) shows payments that arrived without matching orders.
  • Alerts to Slack, SMS, email or a signed webhook, with severity routing and throttling.

The free Ordafide plugin covers steps 15–25 of this checklist automatically. It flags stuck payments, paid-but-cancelled orders, duplicate charges and paid customers who were never emailed, and reports Action Scheduler and WP-Cron health, which affects both order processing and reports. Its optional weekly summary email arrives only when there’s something to look at.

What Ordafide doesn’t do is analyse your marketing or traffic. If the store is healthy and demand fell, that’s a job for your analytics.

After you find the cause

  1. Fix it (roll back, reconfigure, unblock), then do a full test purchase.
  2. Sweep up: find orders caught during the outage that are stuck, duplicated or un-emailed, and fix them.
  3. Win back customers who tried and failed, via abandoned-cart emails or a short apology with a discount.
  4. Write down the cause and the date. Next time, it’s the first thing you check.
  5. Set up detection so the next drop is found in an hour, not a week.

What a sales drop costs while you investigate

Every hour of investigation is an hour of lost sales if the cause is a broken checkout. That’s why the checklist starts with the store, not the marketing: the store problems are the ones that cost you money by the hour, and the ones you can fix in minutes once found.

If you can’t find the cause quickly, limit the damage while you look:

  • Pause paid ads sending traffic to a checkout that may be broken.
  • Switch to a known-good setup: roll back the last change, or temporarily use classic checkout instead of the block.
  • Enable a second payment method if one gateway is suspect.
  • Put a short note on the site (“having trouble checking out? email us”) so motivated buyers can still reach you.

A Plugin Update Broke Your WooCommerce Checkout? The Safe Update Playbook

It’s Monday morning. Weekend sales look oddly quiet. You try a test purchase and the checkout spins forever, or shows a blank error, or the Place order button does nothing at all.

You check the plugin list. Three plugins auto-updated on Friday night.

This is one of the most common and most expensive things that happens to WooCommerce stores, and it’s rarely discussed honestly. The update itself usually takes a few minutes to fix. The real cost is the hours or days between the break and someone noticing. During that time your ads keep running, your emails keep sending people to a dead checkout, and every visitor who tries to buy leaves.

This guide covers two things: how to recover quickly when an update has already broken checkout, and how to update in a way that makes it almost impossible to lose a weekend again.

Why updates break checkout in particular

Checkout is the most fragile page on a WooCommerce store because it’s where everything meets:

  • your theme (templates, scripts, styles)
  • WooCommerce itself (classic shortcode or block-based checkout)
  • the payment gateway plugin and its JavaScript
  • shipping, tax, coupon and fee plugins that change totals
  • checkout field editors, address validators and upsell plugins
  • caching and optimization plugins that combine, defer or delay scripts
  • security plugins and CAPTCHAs that intercept requests

An update to any one of them can break the interaction with another. A few patterns cause most incidents:

  1. JavaScript errors. One plugin’s updated script throws an error, and everything after it stops running, including the payment form.
  2. Optimization plugins delaying or combining a gateway’s script so the card field never loads.
  3. Template overrides. Your theme overrides a WooCommerce template that changed, leaving the checkout using an outdated version.
  4. Block vs classic mismatches. An extension supports one checkout type but not the other.
  5. PHP fatal errors on the checkout or the Store API endpoint after a PHP or plugin version jump.
  6. Payment gateway changes that require new settings, new webhooks or reconnection.

What merchants report

Browse r/woocommerce or the WordPress.org support forums and the same stories repeat:

  • “Checkout spinner never stops after update.” Usually a JavaScript error in one plugin stopping the payment script.
  • “Card field disappeared.” Frequently an optimization plugin delaying or combining the gateway’s script.
  • “Customers can pay but no order is created.” A fatal error after payment, or a webhook endpoint broken by a security plugin update.
  • “Block checkout broke but the classic shortcode works.” An extension that doesn’t yet support the Store API that block checkout relies on.
  • “It only fails for logged-in customers” (or only on mobile, or only for one payment method). That’s the hardest kind to spot, because the owner’s own quick test passes.

The common thread is that the store owner discovered the problem from customers or from falling sales, not from any tool. That’s the gap worth closing.

The silent part

Here’s why these incidents last so long. When checkout breaks, almost nothing looks broken:

  • The home page loads, so your uptime monitor stays green.
  • Product pages load, so casual checks look fine.
  • Traffic continues, so analytics looks normal at a glance.
  • No orders means no failed orders, so WooCommerce shows nothing unusual. It just shows… less.

The only signal is an absence: fewer orders than usual. Absences are hard for humans to notice, especially at weekends.

Already broken? Recover in this order

1. Confirm and capture the error (5 minutes)

  • Try checkout in a private window as a guest and as a logged-in customer.
  • Open your browser’s developer tools Console tab and note any red errors, especially ones naming a plugin.
  • Check WooCommerce → Status → Logs for fatal errors since the update.
  • Note which plugins, theme or WooCommerce version changed, and when (your host’s logs or the plugin list will show recent updates).

2. Restore sales first, diagnose second

Your priority is taking money again, not finding the perfect fix.

  • If you know which update caused it, roll that plugin back to the previous version (many hosts keep backups; some plugins offer rollback; you can also reinstall a previous version from the plugin’s WordPress.org page under Advanced View).
  • If you don’t know, restore the most recent pre-update backup of files and database if no orders have arrived since, or roll back the updated plugins one at a time.
  • If an optimization plugin is involved, exclude checkout and cart pages from script delay/combine features, or temporarily disable it.

3. Confirm with a real purchase

Place a real order with a real card (then refund it), or use a 100% coupon if your gateway supports zero-value orders. Confirm the order arrives as Processing, the confirmation email arrives, and the gateway shows the payment.

4. Measure the damage

Compare orders per day with the same days in previous weeks to estimate lost sales. Check for orders that did come through during the outage but are incomplete: stuck on Pending payment, missing emails, or duplicated by frustrated customers who tried several times. (See WooCommerce order stuck on pending payment.)

5. Tell affected customers

If abandoned-cart emails captured anyone, a short “sorry, our checkout had a problem, it’s fixed now” with a small discount often recovers a surprising number of sales.

What a silent outage really costs

Bar chart of lost sales for the same broken checkout: about $25 if noticed in 15 minutes, $360 if noticed the same evening, and about $5,670 if noticed Monday morning after 63 hours, for a store making about $90 an hour.

It’s worth putting a number on this, because it changes how seriously teams treat updates.

Suppose your store averages 40 orders a day at $55 each: about $2,200 a day, or roughly $90 an hour. A plugin auto-updates at 18:00 on Friday and breaks the payment form. Nobody checks until 09:00 Monday. That’s 63 hours. At normal weekend volume you’ve lost something like $5,000–$6,000 in sales, plus the ad spend that sent people to a dead checkout, plus the customers who tried, failed, and won’t come back.

The same break noticed in 15 minutes costs about $25.

The update was identical in both cases. The only difference was detection time. That’s why the playbook below spends as much effort on noticing as on preventing.

A five-step test purchase script

Write this down and keep it where whoever updates the store can find it. Adapt the products and methods to your store.

  1. Product page: open your best-selling product in a private window. Choose a variation if it has one. Click Add to cart. Confirm the cart count changes.
  2. Cart: open the cart. Apply a coupon you keep for testing. Confirm the total updates and shipping options load for a typical address.
  3. Checkout: go to checkout. Confirm the payment form (card field, PayPal button, wallets) appears without console errors.
  4. Pay: complete payment with your normal method (refund afterwards), or with your test coupon set to 100% if your gateway supports zero-value orders.
  5. After: confirm the order is Processing, the customer email arrives, the admin email arrives, and the gateway shows the payment.

If you sell to logged-in customers or use several payment methods, repeat steps 3–5 for the most-used variations. The whole thing takes five minutes, and it’s the cheapest insurance a store can buy.

The safe update playbook

Cycle of five steps repeated for each group of updates: back up, update one group (core, gateway, checkout plugins, the rest), run a test purchase, check the browser console and logs, and watch for 24 hours. Weekday mornings only, never Friday night.

The goal isn’t to stop updating. Outdated plugins are a security risk and accumulate bugs. The goal is to find breakage in minutes, on your schedule, not days later by accident.

Rule 1: Don’t let checkout-critical plugins auto-update unattended

Auto-updates are great for low-risk plugins. For WooCommerce itself, your theme, payment gateways, and anything that touches cart or checkout, update manually, on a weekday morning, when someone can test immediately. Never on Friday afternoon.

Rule 2: Stage first when you can

If your host offers one-click staging, update there first and run through the purchase flow. Use test payment keys on staging, never live ones.

Rule 3: Update one group at a time

Update WooCommerce core, then test. Then the gateway, then test. Then everything else. If something breaks, you know exactly which change caused it.

Rule 4: Back up immediately before updating

A fresh backup turns a disaster into a five-minute restore.

Rule 5: Run the same test purchase after every update

Write down a five-step test: add product → cart → checkout → pay → confirm order and email. Run it every time. Takes three minutes.

Rule 6: Watch the next 24 hours

Some breaks only affect certain browsers, payment methods, products or customer types. Keep an eye on orders and errors for a day after significant updates.

Rule 7: Have monitoring that notices for you

Rules 1–6 depend on people remembering. The last line of defence should be automatic: something that checks checkout on a schedule and notices when orders stop.

Automating the “notice” part with Ordafide Pro

Ordafide Pro is built for exactly the failure in this article: the store is up, but it has stopped taking money.

  • Synthetic checkout monitoring runs every 15 minutes, checking your shop, product, cart and checkout pages and the Store API used by block checkout, with response-time tracking. An optional deep mode adds a test product to a cart. It never places an order, so your data stays clean. A finding is raised only after two consecutive failures, so a single blip doesn’t wake anyone.
  • Order volume anomaly detection compares each hour’s orders with comparable past hours using median-based statistics and flags drops. That’s the absence-of-orders signal humans miss, and it catches breaks that a page check can’t see, such as a payment method failing silently for some customers.
  • Alerts go to Slack, SMS, email or a signed webhook (Discord, Teams, PagerDuty and others), with severity routing and throttling.
  • A signed heartbeat endpoint lets an external monitor confirm Ordafide’s own checks are still running, so you’d know if a broken update took the monitoring down too.

The free Ordafide plugin covers the aftermath. After any update, a scan finds the orders that slipped through badly: stuck payments, paid-but-cancelled orders, duplicate charges from frustrated customers retrying, order totals that no longer add up (common when a coupon, tax or fee plugin misbehaves), and paid customers who never got a confirmation email. It also reports the health of the background job queue, which some updates quietly break.

Your update-day checklist

Before

  • [ ] It’s a weekday morning, and someone is available for a few hours
  • [ ] Fresh backup taken
  • [ ] Changelogs skimmed for WooCommerce, gateway and checkout plugins
  • [ ] Staging updated and tested first (if available)

During

  • [ ] Update in groups: core → gateway → checkout-related → the rest
  • [ ] Test purchase after each group
  • [ ] Browser console checked for errors on checkout

After

  • [ ] Real or zero-value order placed, email received, gateway checked
  • [ ] Ordafide scan run for stuck, duplicate or mis-totalled orders
  • [ ] Orders watched for 24 hours (or monitoring/alerts confirmed active)
Is Your WooCommerce Checkout Broken Right Now? How to Monitor It Before Customers Notice

Is Your WooCommerce Checkout Broken Right Now? How to Monitor It Before Customers Notice

Here’s a scenario that plays out on WooCommerce stores every day.

A plugin auto-updates overnight. The home page loads. Product pages load. Your uptime monitor shows a green tick. But the checkout throws a JavaScript error, or the payment step silently fails, or the cart empties itself on the way to checkout.

You find out two days later, when someone finally emails to say they couldn’t pay. Or you don’t find out at all, and just wonder why sales were slow that week.

Uptime is not the same as “customers can buy.” This guide explains what actually needs monitoring on a WooCommerce store, the free and paid ways to do it, and a practical setup for both single stores and agencies.

Why uptime monitoring isn’t enough

A typical uptime monitor requests your home page every few minutes and checks it returns a 200. That catches a crashed server. It misses almost everything that loses money in WooCommerce:

  • A broken cart or checkout page (PHP or JavaScript error on one page only)
  • A payment gateway that’s misconfigured, expired, or rejecting every payment
  • Webhooks being blocked, so paid orders never advance
  • The WooCommerce Store API failing, which block-based cart and checkout rely on
  • Background jobs stalling, so emails and stock updates stop
  • Caching serving a stale or broken checkout page
  • A sudden drop in orders because something upstream broke (ads, DNS for a payment script, a geo-blocking rule)

What to monitor on a WooCommerce store

Four monitoring layers: 1, buying pages load (shop, product, cart, checkout, Store API); 2, shoppers can reach payment; 3, incoming orders are correct; 4, order volume is normal. A basic uptime monitor only checks the home page and misses layers 2 to 4.

Think about it in four layers.

Layer 1: Can people reach the buying pages?

Not just the home page, but shop, a product page, cart, and checkout, plus the Store API endpoints the block checkout uses. Each should load quickly and without errors.

Layer 2: Can they get to the payment step?

The real test is adding a product to the cart and reaching checkout. That’s where most plugin conflicts show up. This is called synthetic monitoring: a script behaves like a shopper on a schedule.

A word of caution: synthetic tests should not place real orders. Test orders pollute your reports, trigger fulfilment, and can create real charges. Good synthetic checks stop before payment.

Layer 3: Are orders that come in actually correct?

Orders can be created and still be wrong: stuck on Pending payment, charged twice, cancelled despite payment, missing a confirmation email. That needs integrity checks on the orders themselves. (See stuck pending orders) and (double charges.)

Layer 4: Is order volume normal?

Sometimes nothing is technically “broken” by any test, but orders stop anyway. Comparing the current hour’s orders against comparable past hours (same day of week, same time of day) catches drops and spikes that point to a problem. The trick is avoiding false alarms on naturally quiet hours, which is why median-based comparisons work better than simple averages.

Alerts: the part people get wrong

Alert routing table: critical events like checkout down or payments stopped go to SMS and Slack; high events like a stuck paid order or order volume drop go to Slack and webhook; normal events like an email backlog go to email; everything else goes into a weekly summary. Confirm before alerting, throttle repeats, keep a delivery log.

Monitoring is useless if the alert goes to an inbox nobody reads, and equally useless if it fires so often everyone mutes it. Good alerting means:

  • The right channel: Slack or SMS for “checkout is down,” email for “weekly summary.”
  • Severity routing: urgent things wake someone, minor things wait.
  • Confirmation before alerting: one failed check could be a blip. Two in a row is a problem.
  • Throttling: one alert per issue, not one every five minutes.
  • A delivery log: so you can prove an alert was sent.

A free starting setup

You can get decent coverage for free:

  1. An uptime monitor on your home page and your checkout URL.
  2. WooCommerce → Status → Scheduled Actions checked weekly for past-due actions.
  3. ‘Tools → Site Health’ checked for loopback and REST API problems.
  4. Ordafide Order Integrity for WooCommerce (free) to scan orders for stuck payments, paid-but-cancelled orders, duplicate charges, refund mismatches, total mismatches, and customers who were never emailed. It also shows background queue and email delivery health, and sends an optional weekly summary when there’s something to report.
  5. A manual test purchase after every significant update, using a coupon to make it zero-cost or refunding immediately.

That covers layers 1 and 3 reasonably well. It leaves gaps in layers 2 and 4, and it relies on someone remembering to look.

A complete setup

Ordafide Pro fills those gaps:

  • Synthetic checkout monitoring every 15 minutes across shop, product, cart, checkout and the Store API, with response-time tracking. An optional deep mode adds a test product to a cart. It never creates orders, and a finding is raised only after two consecutive failures.
  • A signed heartbeat endpoint so an external monitor can confirm the store’s own checks are still running.
  • Order volume anomaly detection that compares the current hour with comparable past hours using median-based statistics, flags drops and spikes, and resolves itself when things return to normal.
  • Alerts via Slack, SMS (Twilio), signed webhooks (for Discord, Microsoft Teams, PagerDuty and similar) and email, with severity routing, per-check throttling, retries and a delivery log.
  • Read-only gateway reconciliation with Stripe, PayPal, Square, Mollie and Razorpay to catch payments with no order (see how to reconcile WooCommerce with Stripe and PayPal).

For agencies: monitoring client stores

If you maintain WooCommerce stores for clients, a broken checkout is an emergency you want to hear about before the client does, not from them.

What matters at agency scale:

  • One dashboard for all stores, not 20 logins.
  • Per-store alert routing, so the right person or client channel gets the right alert.
  • Silence detection, so a store that stops reporting entirely gets flagged rather than quietly looking “fine.”
  • Privacy. Clients’ order data shouldn’t be copied into a third-party service.
  • CLI access for scripted checks across many sites.

Ordafide’s free plugin includes WP-CLI commands (`wp ordafide scan`, `wp ordafide findings`, `wp ordafide health`, `wp ordafide digest`). Ordafide Pro adds a multi-store agency dashboard built on signed hourly snapshots that contain only counts and totals, not customer data. It flags any store that’s been silent for two hours, and the Agency licence adds per-store alert routing.

A monitoring checklist

  • [ ] Uptime checks on home and checkout
  • [ ] Synthetic check that reaches checkout without placing an order
  • [ ] Order integrity scan (stuck, duplicate, refund and total mismatches)
  • [ ] Background queue and email delivery monitored
  • [ ] Order volume compared against normal for the hour
  • [ ] Alerts routed to Slack/SMS for urgent issues, with throttling
  • [ ] Manual test purchase after major updates
  • [ ] For agencies: one dashboard and per-store routing
WooCommerce Customer Charged Twice? How to Find and Prevent Duplicate Orders and Double Charges

WooCommerce Customer Charged Twice? How to Find and Prevent Duplicate Orders and Double Charges

Few emails damage trust faster than “You charged my card twice.”

Double charges are rarely caused by one dramatic bug. They come from ordinary things: a slow checkout, an impatient click, a firewall that retries a request, a payment plugin that times out and tries again. Each one is rare. Across hundreds of orders a month, they add up, and each one that goes unnoticed becomes a refund request, a chargeback, or a one-star review.

This guide covers what causes duplicate orders in WooCommerce, how to find every one in your store, how to refund them without breaking your records, and how to prevent them.

Two different problems that look the same

It helps to separate two situations:

  1. Duplicate orders: two WooCommerce orders for the same basket. The customer may have been charged once or twice.
  2. Duplicate charges: the customer’s card was charged twice. There may be one order or two.

The worst case is a second charge with no matching order at all. WooCommerce has nothing to show you, so you only find it in your gateway dashboard, or when the customer’s bank statement arrives.

What causes double charges in WooCommerce

Four causes of WooCommerce double charges: a double click on Place order, a page refresh or Back on the payment step, a firewall or proxy replaying the request, and a payment plugin retrying after a timeout. All are made worse by a slow checkout.

Multiple clicks on “Place order”

On a slow checkout, shoppers click again. WooCommerce’s classic checkout blocks the form while it processes, but slow pages, custom themes, page builders and some checkout plugins can weaken that protection. A second click can create a second order and, depending on the gateway, a second payment.

The page was refreshed or the back button was used

A shopper who refreshes on the payment step, or goes back and resubmits, can create a second order with an identical basket.

Request replays by a firewall, proxy or host

Some firewalls, CDNs and reverse proxies resend a POST request when the first one is slow to respond, assuming it failed. If your checkout takes several seconds (often because of third-party API calls for tax, shipping rates or fraud checks), the replayed request can process as a brand-new checkout. Sucuri, in particular, has published guidance on configuring it for WooCommerce for this reason.

Payment plugin retries after a timeout

If the gateway responds slowly, a payment plugin may treat the request as failed and retry. If the first attempt actually succeeded, the customer is charged twice.

Subscription renewal retries

Renewal logic that retries a “failed” payment which actually went through can create two renewal orders and two charges.

One transaction ID attached to two orders

Occasionally a plugin conflict attaches the same gateway transaction to two different orders. You see two “paid” orders but only one payment. This inflates your revenue reports and can lead to shipping two parcels for one payment.

How to find every duplicate charge

Step 1: Look for near-identical orders

In WooCommerce → Orders, sort by date and look for the same customer email, same total and same items within a few minutes of each other. On a small store this is tedious. On a busy store, it isn’t realistic to do by hand every week.

Step 2: Check transaction IDs

Open each suspected pair and compare the gateway transaction IDs. Two orders with the same transaction ID usually means one payment, two orders. Two orders with different transaction IDs means two real payments.

Step 3: Compare against the gateway

Search your Stripe or PayPal dashboard for the customer’s email. Count the successful payments for that basket and compare against the orders in WooCommerce. This is the only way to catch a second charge that never produced an order.

Step 4: Check your logs

‘WooCommerce → Status → Logs’ and your server access logs can show whether two checkout requests arrived close together. That tells you whether it was the shopper, a replay, or a plugin retry, and that decides the fix.

How to refund a double charge without breaking your records

Decision tree: if two similar orders share a transaction ID, it's one payment and two orders, so cancel the extra order. If they have different IDs, it's two real payments, so refund the duplicate from the WooCommerce order via the gateway. If there's no second order, check the gateway for a charge with no order.

The cleanest fix keeps WooCommerce and your gateway in agreement:

  1. Decide which order to keep. Usually the first one.
  2. Refund the duplicate from inside WooCommerce, using the Refund button on the duplicate order and choosing Refund via gateway. This sends the refund to the gateway and records it in WooCommerce, so stock, revenue and reports stay correct.
  3. Avoid refunding only in the gateway dashboard. A refund made directly in Stripe or PayPal may never be recorded in WooCommerce. The order still looks paid, your revenue is overstated, and stock may be wrong. (See how to reconcile WooCommerce with Stripe and PayPal.)
  4. Make sure the duplicate isn’t shipped. Once fully refunded, the order should move to Refunded. A fully refunded order still sitting in Processing is a classic way to ship an order you didn’t get paid for.
  5. Tell the customer. Let them know it was spotted, refunded, and how long their bank usually takes to show it.

How to prevent duplicate orders

  • Speed up checkout. The slower the checkout, the more people click twice and the more likely a proxy replays the request. Audit plugins that call external APIs during checkout.
  • Don’t break the built-in submit protection. If you’ve customized the checkout or use a page builder, test what happens when you double-click Place order on a slow connection (browser DevTools can throttle the network).
  • Review your firewall and CDN. Make sure nothing retries POST requests to checkout or payment endpoints.
  • Keep your gateway plugin updated. Retry and idempotency handling improves over time.
  • Test with block checkout and classic checkout separately if you’ve switched between them.
  • Monitor continuously. Prevention reduces duplicates. It doesn’t eliminate them.

Catch duplicates automatically

Ordafide Order Integrity for WooCommerce is a free plugin that scans your recent orders and flags problems in plain sentences, sorted by money at risk. Its Duplicate charge check looks for:

  • one gateway payment reference attached to two orders, and
  • the same customer charged twice for an identical basket within minutes.

It also runs a Refund mismatch check that catches orders marked Refunded with no refund record, refunds larger than the order total, and fully refunded orders still marked Processing, so a refunded duplicate doesn’t get shipped anyway.

The duplicate window and other thresholds are configurable, findings you’ve reviewed can be ignored, and the plugin never captures, refunds or voids a payment. Everything runs on your own server.

The one case a store-side scan can’t see is a charge with no order. Ordafide Pro covers it with read-only reconciliation against Stripe, PayPal, Square, Mollie and Razorpay, flagging money with no order, paid orders with no payment, and amount disagreements.