Stuart Neal
Director of Operations at Nextgen Marketing
We have worked with Vitalli and his team for well over a year now and will continue to do so in the future.
Having the confidence in an agency that allowed us to scale up and down development resources, as and when needed, has really made a positive difference to our agency.
Home / Blog / News / Square for WooCommerce shipped a fix for two checkout flaws that let shoppers pay less than the order total — or nothing
The WooCommerce developer blog published an advisory on 2 December for Square for WooCommerce, and it is a different shape from the usual plugin disclosure. Nobody gets a shell. Nobody plants a backdoor. A shopper simply pays less than the order says, or nothing at all, and the store marks the order paid and carries on. That is a revenue bug wearing a security bug’s clothes, and finding it means reading order history rather than scanning for malware — which is the kind of work a maintenance arrangement that extends to the money side of a store exists to cover.
Once the order is marked paid, WooCommerce treats it as paid for every downstream purpose. The advisory calls out downloadable products specifically: the files are released immediately, because as far as the store is concerned the transaction completed normally. On a physical-goods store you have a window to notice before anything ships. On a digital store the goods are gone before the order appears in anyone’s morning review.
The second half is that the fix is forward-looking only. In WooCommerce’s own words, the update does not change past orders. Any order already placed through one of these paths stays exactly as it is in the database, marked paid, with whatever was delivered already delivered.
So the advisory asks store owners to go back through recent orders and look for:
Where you find one, WooCommerce’s guidance is to cancel the order, revoke access under the order’s Downloadable product permissions, and then run it through whatever fraud process you normally would.
This is the detail most likely to bite an agency, and it is easy to miss. Automatic updates and the Update Now button only ever offer the latest stable release. A store sitting on the 5.4.x branch will therefore not receive 5.4.4 automatically — it will be offered 5.5.4 or nothing.
If a client needs to stay on 5.4.x, 5.4.4 has to be fetched by hand: the plugin’s Advanced view on WordPress.org, down to Previous Versions, then Plugins → Add New Plugin → Upload Plugin and install with Replace current with uploaded. WordPress.org will throw its standard warning about installing an older version; WooCommerce states explicitly that the warning does not apply to 5.4.4, which contains the fixes.
Stores on anything older than 5.4 should go straight to 5.5.4, testing on staging first if the checkout has been customised. WooCommerce confirms no settings changes are required, and that saved cards, subscriptions and the Square connection all survive the update.
Three passes, in this order.
Inventory. Which client stores run Square for WooCommerce, on what version, and which of them have digital wallets, Cash App Pay or the card gateway enabled. The advisory is blunt about not trusting assumptions here — check every install including staging and dev copies, and do not assume a managed host’s auto-updates have run. A staging site with live Square credentials is as exposed as production.
Update. Minutes per site once you have the list. The only awkward case is the 5.4.x stores, which need the manual upload described above.
Reconcile. This is the pass that gets skipped, and it is the one that recovers actual money. Pull recent orders against the Square Dashboard and look for the mismatches listed earlier. For a client selling downloads, do this before you do anything else.
Worth saying out loud to clients who hear “plugin vulnerability” and tune out: this one does not look like a hack from the inside. There is no defacement, no spam injection, no alarming file in `wp-content`. There is a perfectly normal-looking order that was never paid for. Nobody finds that by looking at the site — somebody finds it by looking at the books.
If your store is on one of our maintenance plans, this is already in hand: we checked which sites run Square for WooCommerce, moved them onto the patched release, handled the 5.4.x branch manually where a store needed to stay there, and ran the order reconciliation the advisory describes against recent transactions. It will appear in your next monthly maintenance report, and there is nothing you need to do. If you are not on a plan and you take Square payments, this is the clearest example of what the plan is for — the fix itself takes ten minutes, but knowing the extension is on your site, knowing which payment methods are live, and going back through the orders afterwards is the part that only happens if it is someone’s job.
Source: WooCommerce Developer Blog