xpay✦ Commerce
Directory
WooCommerce plugins
Block Specific Spam Woo Orders
Block Specific Spam Woo Orders
A simple plugin to automatically block spam Woo orders that began in October 2020.
5.0
(10 ratings)Will this break my store?
What the WordPress.org registry says about keeping Block Specific Spam Woo Orders running.
Tested to 7.0.2
Tested against the WordPress branch in use today.2 months ago
At least 1.2 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.5.4
Your host must be running at least this version.5.1
woocommerce
These must be installed and active first.1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how Block Specific Spam Woo Orders is looked after — not on how many stores run it.
92
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
13 / 15Listing transparency
6 / 10Ratings
5.0
10 ratingsThis 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 unless you want to add your own filters.
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 would only be 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.
How to Use Custom Filters
Starting from plugin version 0.77, you can extend the list of blocked email domains and blocked customer names using custom filters.
Available Filters:
- BSSO_extra_domains: Add custom email domains to block during the checkout process.
- BSSO_extra_names: Add custom first names to block during the checkout process.
Example Usage
To use these filters, add code to your theme’s functions.php file or a custom plugin.
1. Blocking Additional Email Domains
If you want to block additional email domains like exampledomain.com and spamdomain.net, use the BSSO_extra_domains filter. Domains can be supplied with or without a leading @.
Code Example:
add_filter('BSSO_extra_domains', function () {
return ['exampledomain.com', 'spamdomain.net'];
});
2. Blocking Additional First Names
If you want to block additional first names like spambot and faker, use the BSSO_extra_names filter.
Code Example:
add_filter('BSSO_extra_names', function () {
return ['spambot', 'faker'];
});
Complete Example
Here’s how you might use both filters together:
Code Example:
add_filter('BSSO_extra_domains', function () {
return ['exampledomain.com', 'spamdomain.net'];
});
add_filter('BSSO_extra_names', function () {
return ['spambot', 'faker'];
});
Yes, where possible, I will try my best to add additional checks if the attack vectors change.
Categories
Plugin details
Tags on WordPress.org
