Block Emails & Addresses for WooCommerce Checkout
Block Emails & Addresses for WooCommerce Checkout
Description
Block Emails & Addresses for WooCommerce lets you stop unwanted customers at checkout. The order is rejected before payment is taken, and you can customize the error message shown to the blocked customer.
Block by:
- Email — exact address (
spam@spammy.org), whole domain (@spammy.org) or TLD (.xyz) - Shipping address — substring patterns checked against all address fields, or
r:regex; also catches street/number split across address lines 1 and 2 - Phone — digit-normalized substring matching, so
5256016catches302-525-6016,(302) 525-6016and+13025256016alike;r:regex supported - Name — case-insensitive fragments against billing/shipping first and last names;
r:regex supported - IP — exact IPs and CIDR ranges (
119.237.8.0/24), with#comment lines
Covers every checkout path:
- Classic (shortcode) checkout
- Block checkout (Store API)
- Express payment buttons — Apple Pay, Google Pay, PayPal — which bypass the classic checkout validation
Keeps you informed:
- Counters of blocked checkout attempts (with reset buttons)
- A recent-blocks log on each settings page showing the matched rule, attempted value and IP
- Full history in WooCommerce > Status > Logs (source
wc-block-emails)
Matching is case-insensitive. Nothing is blocked until you add an entry.
Installation
- Upload the plugin files to the
/wp-content/plugins/wc-block-emailsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the WooCommerce->Block Emails and WooCommerce->Block Addresses screens to configure the plugin.
Screenshots
Faq
It blocks checkouts by email, shipping address, phone, name or IP during the WooCommerce checkout process.
After installing and activating the plugin, go to WooCommerce->Block Emails for email rules (one per line: spam@spammy.org, @spammy.org or .xyz) and WooCommerce->Block Addresses for address, phone, name and IP rules.
Yes. The checks also run on the Store API, which covers the block checkout and express buttons such as Apple Pay, Google Pay and PayPal.
Yes. This plugin uses the same settings storage, so existing address/IP/phone/name rules are picked up automatically. Deactivate the old plugin after updating so the checks don’t run twice.
Reviews
Great, Stops Google Bot Creating Fake Accounts And Purchases
By Damien (damo69) on October 29, 2024
I used this to block Google Bot creating fake accounts and purchases using
@storebotmail.joonix.net
@joonix.net
storebotmail.joonix.net
It worked a treat, google bot could still check prices via the checkout but could not make the actual sale, preventing hundreds of fake sales or abandoned carts
Great job
By Hassan A (hassan0a) on June 19, 2024
Make sure you are using classic checkout and you will work great.
COPY AND PASTE YOUR LIST OF EMAILS TO BLOCK ! Easy and great ! Thank you !
By clitopwebsite on March 20, 2024
COPY AND PASTE YOUR LIST OF EMAILS TO BLOCK ! Easy and great ! Thank you !
HPOS support
By anze on March 13, 2024
Great plugin! Does what it says. But I was wondering if you could update it to support WooCommerce's HPOS. I want to enable it, but it says that your plugin isn't compatible with it.
Great plugin !
By fullganic on December 28, 2023
This plugin is an absolute game-changer! It very helpful to prevent receiving orders from specific domain and whole TDLs, Also the developer's kindness in crafting such a valuable tool is commendable. Thank you for this excellent solution!
Perfect Lightweight Plugin to Block Unwanted Users
By bhalstrom on December 18, 2023
If you're running a WooCommerce store, having a quick and easy way to block known fraudulent email domains or specific users from checking out is essential. It is lightweight, user-friendly, and does the job perfectly. This plugin has already saved our store from countless fraudulent orders.
How does it work?
Simply enter in specific email addresses, or entire domains that you wish to block from placing orders on your store. If the block criteria is met when they try to place the order, a customizable message will appear at the top of the page and the order will not proceed.
This plugin is now essential to all of our WooCommerce stores.
Changelog
1.1.1
- Store API rejections now use a neutral generic REST error code.
1.1.0
- Merged in Block Addresses for WooCommerce: block by shipping address (substring or regex, including street/number split across address lines), phone (digit-normalized), name and IP (exact or CIDR). New screen: WooCommerce > Block Addresses.
- Existing Block Addresses settings carry over automatically (same storage keys).
1.0.5
- Block on the Store API: block checkout and express payment buttons (Apple Pay, Google Pay, PayPal) no longer bypass the blocklist.
- Case-insensitive matching.
- Blocked-attempts counter with reset button.
- Recent-blocks log on the settings page (matched rule, email, IP) plus full history in WooCommerce > Status > Logs. Log source filterable via
woob_log_source. - Declare WooCommerce as a required plugin.
1.0.2
- Declare HPOS compatibility.
1.0.1
- You can now enter TLDs (top-level domains) to block all email addresses from that domain. Example: .org will block all email addresses ending in .org.
1.0.0
- Initial release.

