{"id":131109,"date":"2020-11-04T12:53:06","date_gmt":"2020-11-04T12:53:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/block-specific-spam-woo-orders\/"},"modified":"2025-12-03T11:55:55","modified_gmt":"2025-12-03T11:55:55","slug":"block-specific-spam-woo-orders","status":"publish","type":"plugin","link":"https:\/\/lv.wordpress.org\/plugins\/block-specific-spam-woo-orders\/","author":5263802,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.79","stable_tag":"0.79","tested":"6.9.4","requires":"5.1","requires_php":"5.4","requires_plugins":null,"header_name":"Block Specific Spam Woo Orders","header_author":"guwii","header_description":"A quick plugin to block on-going issues with spam WooCommerce orders November 2020","assets_banners_color":"1d5669","last_updated":"2025-12-03 11:55:55","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/block-specific-spam-woo-orders\/","header_author_uri":"https:\/\/guwii.com","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":18697,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"0.75":{"tag":"0.75","author":"Wigster","date":"2024-05-22 08:18:30"},"0.76":{"tag":"0.76","author":"Wigster","date":"2024-07-30 13:11:43"},"0.77":{"tag":"0.77","author":"Wigster","date":"2024-09-03 11:19:20"},"0.78":{"tag":"0.78","author":"Wigster","date":"2025-04-10 21:04:36"},"0.79":{"tag":"0.79","author":"Wigster","date":"2025-12-03 11:55:55"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":10},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2412418,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2412418,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2412418,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2412418,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.75","0.76","0.77","0.78","0.79"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,16281,599,5485,286],"plugin_category":[45,54],"plugin_contributors":[192666],"plugin_business_model":[],"class_list":["post-131109","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-orders","plugin_tags-spam","plugin_tags-woo","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_category-security-and-spam-protection","plugin_contributors-wigster","plugin_committers-wigster"],"banners":{"banner":"https:\/\/ps.w.org\/block-specific-spam-woo-orders\/assets\/banner-772x250.png?rev=2412418","banner_2x":"https:\/\/ps.w.org\/block-specific-spam-woo-orders\/assets\/banner-1544x500.png?rev=2412418","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/block-specific-spam-woo-orders\/assets\/icon-128x128.png?rev=2412418","icon_2x":"https:\/\/ps.w.org\/block-specific-spam-woo-orders\/assets\/icon-256x256.png?rev=2412418","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin prevents a specific set of WooCommerce fake\/spam orders.\nSimply install and activate the plugin; there are no settings or tweaks to be made unless you want to add your own filters.\nThe 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.\nThe names\/emails it checks for would only be used by spam bots, so there is no need to worry about false positives.<\/p>\n\n<p>If you've found this plugin useful, you can support my work by buying me a coffee at:\n<a href=\"https:\/\/buymeacoffee.com\/alexwigmore\">Buy Me a Coffee<\/a>.<\/p>\n\n<h3>How to Use Custom Filters<\/h3>\n\n<p>Starting from plugin version 0.77, you can extend the list of blocked email domains and blocked customer names using custom filters.<\/p>\n\n<h3>Available Filters:<\/h3>\n\n<ol>\n<li><strong>BSSO_extra_domains:<\/strong> Add custom email domains to block during the checkout process.<\/li>\n<li><strong>BSSO_extra_names:<\/strong> Add custom first names to block during the checkout process.<\/li>\n<\/ol>\n\n<h3>Example Usage<\/h3>\n\n<p>To use these filters, add code to your theme's <code>functions.php<\/code> file or a custom plugin.<\/p>\n\n<h4>1. Blocking Additional Email Domains<\/h4>\n\n<p>If you want to block additional email domains like <code>exampledomain.com<\/code> and <code>spamdomain.net<\/code>, use the <code>BSSO_extra_domains<\/code> filter.<\/p>\n\n<p><strong>Code Example:<\/strong><\/p>\n\n<pre><code>add_filter('BSSO_extra_domains', function () {\n    return ['exampledomain.com', 'spamdomain.net'];\n});\n<\/code><\/pre>\n\n<h4>2. Blocking Additional First Names<\/h4>\n\n<p>If you want to block additional first names like <code>spambot<\/code> and <code>faker<\/code>, use the <code>BSSO_extra_names<\/code> filter.<\/p>\n\n<p><strong>Code Example:<\/strong><\/p>\n\n<pre><code>add_filter('BSSO_extra_names', function () {\n    return ['spambot', 'faker'];\n});\n<\/code><\/pre>\n\n<h3>Complete Example<\/h3>\n\n<p>Here\u2019s how you might use both filters together:<\/p>\n\n<p><strong>Code Example:<\/strong><\/p>\n\n<pre><code>add_filter('BSSO_extra_domains', function () {\n    return ['exampledomain.com', 'spamdomain.net'];\n});\n\nadd_filter('BSSO_extra_names', function () {\n    return ['spambot', 'faker'];\n});\n<\/code><\/pre>\n\n<h3>Version Compatibility<\/h3>\n\n<p>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.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='will%20you%20keep%20this%20plugin%20updated%3F'><h3>Will you keep this plugin updated?<\/h3><\/dt>\n<dd><p>Yes, where possible, I will try my best to add additional checks if the attack vectors change.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.79<\/h4>\n\n<ul>\n<li>Tested compatibility with WordPress 6.9<\/li>\n<li>Minor change to enforce case insenstiive comparison of names.<\/li>\n<\/ul>\n\n<h4>0.78<\/h4>\n\n<ul>\n<li>Tested compatibility with WooCommerce 9.8.1<\/li>\n<li>Tested compatibility with WP 6.8<\/li>\n<\/ul>\n\n<h4>0.77<\/h4>\n\n<ul>\n<li>Added filters for extending blocked email domains and names.<\/li>\n<li>Tested compatibility with WooCommerce 9.2.3.<\/li>\n<\/ul>\n\n<h4>0.76<\/h4>\n\n<ul>\n<li>Tested compatibility with WP 6.6.1 and WC 9+.<\/li>\n<li>Added confirmation that this plugin is compliant with the new WooCommerce HPOS (High-Performance Order Storage) \/ Custom Order Tables (COT) systems.<\/li>\n<\/ul>\n\n<h4>0.75<\/h4>\n\n<ul>\n<li>Tested compatibility with WP 6.5.2 and WC.<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>Updated logic slightly to simplify checks. Names are now also array-based if people want to manually extend.<\/li>\n<li>Added ability to translate\/localize the Spam Validation message with typical language translators (WPML, etc.).<\/li>\n<li>Confirmed support with WP 6.4 and the latest WooCommerce.<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Added a new function to handle checking against multiple blocked domains, now including [\"@fakemail\"].<\/li>\n<li>Confirmed support with WP 6.1 and the latest WooCommerce.<\/li>\n<\/ul>\n\n<h4>0.55<\/h4>\n\n<ul>\n<li>Tested support with WP 6.0 and the latest WC - works fine.<\/li>\n<\/ul>\n\n<h4>0.54<\/h4>\n\n<ul>\n<li>Updated supported versions for WP and WooCommerce.<\/li>\n<\/ul>\n\n<h4>0.53<\/h4>\n\n<ul>\n<li>Added support for readme.txt changelogs.<\/li>\n<\/ul>\n\n<h4>0.52<\/h4>\n\n<ul>\n<li>Updated support for WooCommerce - no code changes, minor updates to comment wording.<\/li>\n<\/ul>\n\n<h4>0.51<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A simple plugin to automatically block spam Woo orders that began in October 2020.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/131109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=131109"}],"author":[{"embeddable":true,"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wigster"}],"wp:attachment":[{"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=131109"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=131109"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=131109"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=131109"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=131109"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=131109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}