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 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.
Starting from plugin version 0.77, you can extend the list of blocked email domains and blocked customer names using custom filters.
To use these filters, add code to your theme’s functions.php
file or a custom plugin.
If you want to block additional email domains like exampledomain.com
and spamdomain.net
, use the BSSO_extra_domains
filter.
Code Example:
add_filter('BSSO_extra_domains', function () {
return ['exampledomain.com', 'spamdomain.net'];
});
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'];
});
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'];
});
Please note that these filters are only available starting from version 0.77 of the plugin. Ensure your plugin is updated to at least this version to use the custom filters.