Block Specific Spam Woo Orders


This plugin prevents a specific set of WooCommerce fake/spam orders.
Simply install and activate the plugin, there are no settings or tweaks to be made.
The plugin extends WooCommerce’s built-in checkout validations to check for a specific set of known spam email accounts and names. If triggered, the spam bot simply cannot checkout and importantly does not get to the account creation stage.
The names/emails it checks for are only used by spam bots, so there is no need to worry about false positives.

If you’ve found this plugin useful, you can support my work by buying me a coffee at:
Buy Me a Coffee.


Will you keep this plugin updated?

Yes, where possible, I will try my best to add additional checks if the attack vectors change.


1 de febrero, 2022 2 replies
BEST & EASIEST PLUGIN TO BLOCK SPAM ORDERS AS bbbbb bbbbb bbbbb [ Fake email and address removed ] BUT SAD: This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
21 de enero, 2021
Thank you so much for this small snippet of code, I’ve had a minor problem with this bot attacking our site, and the code seems to fix it / prevent it from completing registration. The code is clean, and simple and does the job.
15 de enero, 2021
Love the simplicity of this. Just what I needed. Any chance it will continue to update as Woocommerce does?
Read all 9 reviews

Contributors & Developers

“Block Specific Spam Woo Orders” is open source software. The following people have contributed to this plugin.




  • Tested Compatibility with WP 6.5.2 + WC


  • Update logic slightly to simplify checks. Names are now also array-based if people wanted to manually extend.
  • Added ability to translate/localize the Spam Validation message with typical language translators (WPML etc).
  • Confirming support with WP 6.4 and Latest WooCommerce


  • Added a new function to handle checking against multiple blocked domains, now including [“@fakemail”]
  • Confirming support with WP 6.1 and Latest WooCommerce


  • Tested support with WP 6.0 and latest WC – works fine.


  • Updating supported versions for WP and WooCommerce


  • Adding support for readme.txt changelogs.


  • Updating support for WooCommerce – no code changes, minor updates to comment wording.


  • Initial release.