Block Fraud Customers By IP Geo location

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

You can enter more than one IP address and set a custom error message to show when a blacklisted IP is found.

How to set it up

You manage blocked IP addresses 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   . You can also select Registration    if you want to block the IP when the customer creates an account.

IP checks can run at registration, when the order is placed, or both. Make sure Place Order    is selected if you want to stop checkout.

Step 2: Add blocked IP addresses

In the IP address    field, enter the IP addresses you want to block. You can add multiple IP addresses.

Add multiple IP addresses to the blacklist
Figure - Block fraud customers by IP address

Step 3: Set the IP error message

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

Custom error messages for blacklisted IP addresses
Figure - Custom error messages for blacklisted IP addresses

Step 4: Save Changes

Click Save Changes.

The plugin will now block orders (and registrations, if you selected that option) that come from a blacklisted IP address.


What the customer sees

When a blacklisted IP address is found, the customer sees the IP error message you entered and cannot place the order from that IP.


Pro Tips

  • Select Place Order    under Blocking Trigger Stage   , or the IP rule may not run at checkout
  • Enter the IP exactly as it should appear, then test checkout from that address if you can
  • Write a clear message so a genuine customer knows how to contact you
  • Some networks change or share IP addresses, so you may also want to block a matching email or other details

Common Use Cases

Here are some popular ways store owners use this setting:

1. Block a Known Fraud IP

Add an IP address that has already been used for fake or risky orders so it cannot be used to check out again.

2. Block Several IPs at Once

Add multiple IP addresses in the IP address    field when more than one address should be blocked.

3. Show a Custom IP Block Message

Tell the customer that the request was blocked and how to contact you if it was a mistake.


FAQs

1. Can I block more than one IP address?

Yes. You can add multiple IP addresses in the IP address    field.

2. Can I change the message the customer sees?

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

3. Why can a blacklisted IP still place an order?

The IP may be on the list, but Place Order    is not selected under Blocking Trigger Stage   . Enable that option, save, and make sure the IP at checkout matches the list exactly.

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