Title: Block Emails &amp; Addresses for WooCommerce Checkout
Author: con
Published: <strong>Kevardhu 12, 2023</strong>
Last modified: Gortheren 15, 2026

---

Search plugins

![](https://ps.w.org/wc-block-emails/assets/banner-772x250.png?rev=3608014)

![](https://ps.w.org/wc-block-emails/assets/icon.svg?rev=3608010)

# Block Emails & Addresses for WooCommerce Checkout

 By [con](https://profiles.wordpress.org/conschneider/)

[Download](https://downloads.wordpress.org/plugin/wc-block-emails.1.1.0.zip)

 * [Details](https://cor.wordpress.org/plugins/wc-block-emails/#description)
 * [Reviews](https://cor.wordpress.org/plugins/wc-block-emails/#reviews)
 *  [Installation](https://cor.wordpress.org/plugins/wc-block-emails/#installation)
 * [Development](https://cor.wordpress.org/plugins/wc-block-emails/#developers)

 [Support](https://wordpress.org/support/plugin/wc-block-emails/)

## 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 `5256016` catches `302-525-
   6016`, `(302) 525-6016` and `+13025256016` alike; `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.

## Screenshots

[⌊Block Emails settings — email blocklist, error message, blocked counter and recent-
blocks log.⌉⌊Block Emails settings — email blocklist, error message, blocked counter
and recent-blocks log.⌉[

Block Emails settings — email blocklist, error message, blocked counter and recent-
blocks log.

[⌊Block Addresses settings — address, IP, phone and name rules with counter and 
recent-blocks log.⌉⌊Block Addresses settings — address, IP, phone and name rules
with counter and recent-blocks log.⌉[

Block Addresses settings — address, IP, phone and name rules with counter and recent-
blocks log.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/wc-block-emails` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use the WooCommerce->Block Emails and WooCommerce->Block Addresses screens to configure
    the plugin.

## FAQ

### What does this plugin do?

It blocks checkouts by email, shipping address, phone, name or IP during the WooCommerce
checkout process.

### How do I use the plugin?

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.

### Does it work with the block checkout and express payment buttons?

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.

### I used the separate Block Addresses for WooCommerce plugin. Do my rules carry over?

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

![](https://secure.gravatar.com/avatar/93b2f382ec1cce822767f66a8bf69611c97aeac912e6bca1f5312b181a46a808?
s=60&d=retro&r=g)

### 󠀁[Great, Stops Google Bot Creating Fake Accounts And Purchases](https://wordpress.org/support/topic/great-stops-google-bot-creating-fake-accounts-and-purchases/)󠁿

 [Damien](https://profiles.wordpress.org/damo69/) Hedra 29, 2024

I used this to block Google Bot creating fake accounts and purchases using @storebotmail.
joonix.net@joonix.netstorebotmail.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

![](https://secure.gravatar.com/avatar/be0d4ef05034b544c93f97a98967f6d3b89a0140564dce64161bbeb362c6cf17?
s=60&d=retro&r=g)

### 󠀁[Great job](https://wordpress.org/support/topic/great-job-1347/)󠁿

 [Hassan A](https://profiles.wordpress.org/hassan0a/) Metheven 19, 2024

Make sure you are using classic checkout and you will work great.

![](https://secure.gravatar.com/avatar/79db4f3f68167121e814ee997acd3b2ac4e122181bd1b9e2259b43b0be0306f1?
s=60&d=retro&r=g)

### 󠀁[COPY AND PASTE YOUR LIST OF EMAILS TO BLOCK ! Easy and great ! Thank you !](https://wordpress.org/support/topic/copy-and-paste-your-list-of-emails-to-block-easy-and-great-thank-you/)󠁿

 [clitopwebsite](https://profiles.wordpress.org/clitopwebsite/) Meurth 20, 2024

COPY AND PASTE YOUR LIST OF EMAILS TO BLOCK ! Easy and great ! Thank you !

![](https://secure.gravatar.com/avatar/ccf06c3407c9ca11cf036858dfd941acc3871c1acc1c33d016b137576baca523?
s=60&d=retro&r=g)

### 󠀁[HPOS support](https://wordpress.org/support/topic/hpos-support-38/)󠁿

 [anze](https://profiles.wordpress.org/anze/) Meurth 13, 2024 3 replies

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.

![](https://secure.gravatar.com/avatar/44ae6a5a04a764ded93946109250a1600dfd91a94c8e7ad8ab4ce7ac4ab5e4ff?
s=60&d=retro&r=g)

### 󠀁[Great plugin !](https://wordpress.org/support/topic/great-plugin-38204/)󠁿

 [fullganic](https://profiles.wordpress.org/fullganic/) Kevardhu 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!

![](https://secure.gravatar.com/avatar/6d7ad3747789b21f8a8f295d36a5f0f9ae1dc4e440975ff52a92be0d0c0a2621?
s=60&d=retro&r=g)

### 󠀁[Perfect Lightweight Plugin to Block Unwanted Users](https://wordpress.org/support/topic/perfect-lightweight-plugin-to-block-unwanted-users/)󠁿

 [bhalstrom](https://profiles.wordpress.org/bhalstrom/) Kevardhu 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.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/wc-block-emails/reviews/)

## Contributors & Developers

“Block Emails & Addresses for WooCommerce Checkout” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ con ](https://profiles.wordpress.org/conschneider/)

“Block Emails & Addresses for WooCommerce Checkout” has been translated into 1 locale.
Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wc-block-emails/contributors)
for their contributions.

[Translate “Block Emails & Addresses for WooCommerce Checkout” into your language.](https://translate.wordpress.org/projects/wp-plugins/wc-block-emails)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wc-block-emails/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/wc-block-emails/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wc-block-emails/)
by [RSS](https://plugins.trac.wordpress.org/log/wc-block-emails/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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.

## Meta

 *  Version **1.1.0**
 *  Last updated **5 dydh ago**
 *  Active installations **700+**
 *  WordPress version ** 5.2 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Danish](https://da.wordpress.org/plugins/wc-block-emails/) and [English (US)](https://wordpress.org/plugins/wc-block-emails/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wc-block-emails)
 * Tags
 * [block](https://cor.wordpress.org/plugins/tags/block/)[emails](https://cor.wordpress.org/plugins/tags/emails/)
   [fraud](https://cor.wordpress.org/plugins/tags/fraud/)[spam](https://cor.wordpress.org/plugins/tags/spam/)
   [woocommerce](https://cor.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://cor.wordpress.org/plugins/wc-block-emails/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/wc-block-emails/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wc-block-emails/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wc-block-emails/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wc-block-emails/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wc-block-emails/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wc-block-emails/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wc-block-emails/reviews/)

## Contributors

 *   [ con ](https://profiles.wordpress.org/conschneider/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wc-block-emails/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://conschneider.de/donate)