How can I block or blacklist a problematic customer in Shopify?

How can I block or blacklist a problematic customer in Shopify?

StevetUK
Tourist
15 0 2

We have a problematic customer that we no longer wish to deal with. Is there a way to block/blacklist customers in Shopify? Fraud Filter does not work because it permits orders to be placed and thus we're charged transaction fees. We need a block/spam filter in place pre-checkout. Can anyone advise?

Replies 16 (16)

kaalTechGeeks
Shopify Partner
318 58 80

Hi @StevetUK
In order to ensure that you are no longer have to deal with that specific customer what you can do is simply disable the account of that specific customer from the Shopify admin panel. And once the account is disabled he/she won't be able to login again to your store using the existing credentials. 
Follow the steps below to disable the customer account: 
1. Open the Shopify admin panel.
2. Open customers sections by clicking on the Customer option from below the products on the left hand side. 
3. Once the customer page is opened, then search for that specific customer using his email id or name. 
4. Once you have found the customer click on his name and open the customer information page. 
5. Click on disable account at the top as shown in image. 

kaalTech_0-1668366505262.png

6. save the details, Once you have done this the customer wont be able to login back to the account until and unless he re-registers as a new customer using the same email address.

For more reference you can refer to the this article. 
Thanks

 
 

- If my answers saved you time and headaches, consider buying me a coffee!
- Check my profile: KaalTechGeeks | Reach out to me on my socials - Instagram | Skype | Mail
- Was my reply helpful? Click Like to let me know! & if your question was answered, Mark it as an Accepted Solution!
StevetUK
Tourist
15 0 2

Hi there, thanks for the reply and the instructions - unfortunately this probably won't work as we don't require customers to create an account to check out: it's optional for them as we find people see account creation as a barrier to making a purchase.

 

Can you advise on an alternate approach to blocking a customer by email address for example?

JaviExpress
Shopify Partner
183 16 26

You could prevent a customer from logging in with that email address, but you'd still need to use the option to "Require log-in before checkout" to make sure this customer can't complete purchases. I don't think there's a workaround to that, if there is I'd like to know. Otherwise the customer can always reach the checkout before logging in and then use his/her email address there to complete the purchase.

Customer Accounts Concierge
All-in-One Customer Portal: Profile, Orders, Loyalty, Referral, Wishlist, Custom Forms, Social Login
Eleonora_Babaya
Tourist
3 0 2

I do not see "disable account" on the customer's page. And I would not want a specific customer to re-register again. Please advise how to block a customer from being able to place another order. Thank you.

Miriamm
Tourist
3 0 8

24ad789d-bec1-4331-b5a5-73a1c264dc35.jpeg

There’s finally a fix to this! I figured I’d post because I’ve been looking for years and hope it’ll help you all. We’ve blocked people on fraud filter before but we would get charged all the fees and it was super frustrating - like OP posted here. Now we changed our payment settings to authorize when fulfilled (this is new option I haven’t seen before) and if an order is canceled by fraud filter before it’s fulfilled, then we don’t get charged any transaction fees because the payment is voided before it’s charged. This saved me so much money in fees in the last month alone!!! I attached a photo of the setting. Choose the second one, not the one that shows chosen in the photo. 

JimJong
Tourist
56 0 1

Hi Steve, it is possible to block or blacklist a problematic customer and avoid transaction fees in Shopify easily by using the Cart Lock app. For this you have to do as follows:

  1. Open the app and click on the "Add a new rule" button.
  2. Click "Add a new condition" and select the "Customer tags" option.
  3. Select "Hide if found" and add the "Blacklisted" in the "Customer tags" field.
  4. Save the rule.

blacklisted.png

 

Now the blacklisted customer will be blocked from placing any order.

Viktor_Shtodler
Shopify Partner
11 1 8

Hi mate, 
I came up with this solution: you add a tag to the specific client, and the code redirects them away from your site. It works perfectly.

{% if customer %}
{% if customer.tags contains 'Fraud' %}
<script>
window.location.href = "https://www.fraud.com";
</script>
{% endif %}
{% endif %}



ViktorShtodler_0-1733780226981.png

 

If this post was helpful, give it a like to help others with the same issue!
You can reach me at: v.shtodler@gmail.com or www.buildshopify.store
Eleonora_Babaya
Tourist
3 0 2

Thank you very much!

logronoide
Visitor
1 0 0

Smart solution. It works like a charm.

T0by07
Shopify Partner
2 0 1

In which template or section do I add the code?

Viktor_Shtodler
Shopify Partner
11 1 8

In theme.liquid

If this post was helpful, give it a like to help others with the same issue!
You can reach me at: v.shtodler@gmail.com or www.buildshopify.store
T0by07
Shopify Partner
2 0 1

Thank you, but for me that didn't work. I added the tag to my test customer and could still click me through the checkout. For checkout in our shop it is not required to be a registered customer. Is this maybe the issue?

Viktor_Shtodler
Shopify Partner
11 1 8

 

Hello, yes, you’ve got it right. This method works only with registered customers, as it identifies them through a tag and prevents access to the shop.


If we’re talking about a visitor who isn’t logged in, we’ll need at least their IP address to block them by IP.

For example: 

<script>
fetch('https://api.ipify.org?format=json')
.then(response => response.json())
.then(data => {
const blockedIP = '193.47.137.100';
if (data.ip === blockedIP) {
window.location.href = 'https://google.com';
}
})
.catch(err => console.error('Error fetching IP:', err));
</script>

To identify the IP of the specific visitor, you’ll need a third-party service or analytics tool for assistance.

If this post was helpful, give it a like to help others with the same issue!
You can reach me at: v.shtodler@gmail.com or www.buildshopify.store
khoff
Shopify Partner
52 0 46

Where in theme. liquid should the code be placed?

Viktor_Shtodler
Shopify Partner
11 1 8

Hi, place it somewhere inside the <head> tag.

If this post was helpful, give it a like to help others with the same issue!
You can reach me at: v.shtodler@gmail.com or www.buildshopify.store
Raghavendra1
Visitor
1 0 0

Hi Viktor,

This very same customer has been trying to bulk purchase on my store too. I have tagged 'fraud' to the account. Do I have to write any code? I am not good with that.

Thanks