Block Fraud Customers By Domain

The Fraud Prevention for WooCommerce plugin lets you add multiple blacklisted domains and subdomain addresses so those customers cannot place an order in your shop.

Blocking by domain is a Pro feature. When a domain is on the list, the plugin blocks that domain and all of its subdomains.

How to set it up

You manage blocked domains in the plugin’s blacklist settings.

Go to: Dotstore Plugins > Fraud Prevention > Blacklist Settings

Step 1: Open Blacklist Settings

  1. Go to Dotstore Plugins > Fraud Prevention.
  2. Open the Blacklist Settings tab.
  3. Under Blocking Trigger Stage   , select Place Order    so the domain is checked at checkout.

Step 2: Add blocked domains

In the Domain    field, enter the domains you want to block. You can add multiple domains.

For example: If you want to block all gmail.com users, add gmail.com    in the Domain field, as shown in the screenshot below.

Add domains to block during place an order
Figure - Add the domains to block during place an order

This field blocks the domain and all subdomains of the main domain.

For example: It will block abc@gmail.com and also block it.abc@gmail.com, sub.abc@gmail.com, and similar addresses.

Step 3: Set the domain error message

In Domain error message   , enter the custom message you want to show when a blacklisted domain is found.

Custom error messages for blacklisted Domain
Figure - Add a custom message for blocked domain users at checkout

Step 4: Save Changes

Click Save Changes.


What the customer sees

Once a user enters an email address with a blocked domain, the order is blocked and the customer sees your domain error message at checkout.

Front side user message blocked by gmail.com domain
Figure - Front side user message blocked by gmail.com domain

In the screenshot above, the user is blocked because of the gmail.com domain, which was added in the Domain field in Step 2.


Pro Tips

  • Select Place Order    under Blocking Trigger Stage   , or the domain rule may not run at checkout
  • Avoid blocking common email domains such as Gmail or Yahoo unless you truly intend to block those customers, as this can also block genuine buyers
  • Remember that blocking a main domain also blocks its subdomains
  • Write a clear checkout message so a genuine customer knows how to contact you

Common Use Cases

Here are some popular ways store owners use this setting:

1. Block a Fraudulent Email Domain

Add a domain you have already identified as a source of fake or risky orders.

2. Block a Domain and Its Subdomains

Add the main domain once. Addresses such as abc@domain.com    and it.abc@domain.com    are then blocked together.

3. Show a Custom Domain Block Message at Checkout

Tell the customer why the order was stopped and how to contact you if the block was a mistake.


FAQs

1. Is domain blocking available in the free plugin?

No. Blocking customers by domain is a Pro feature.

2. Does blocking a domain also block subdomains?

Yes. The Domain field blocks the main domain and all of its subdomains.

3. Can I change the message the customer sees at checkout?

Yes. Enter your text in the Domain error message    field, then save your settings.

4. Why can an email from a blocked domain still place an order?

The domain may be on the list, but Place Order    is not selected under Blocking Trigger Stage   . Enable that option, save, and confirm the email domain at checkout matches the list.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.