Our team is currently trying to block the payment gateway for a specific product in specific countries and regions.
There are two separate scripts on Shopify that allow these to happen separately but not at the same time.
Any help would be greatly appreciated!
Links to current scripts:
Thank you in advanced
Hi @Tfitzpatrick! Thanks for reaching out here.
I would love to know the context behind why you are trying to achieve this? What is the end goal?
Carrying this out would require advanced coding, and so requires hiring a Shopify expert to carry this out. Would removing the specific countries from the approved shipping zones be an option? Then customers from these countries will not be able to complete checkout, they will see an error stating that their region is not supported. This guide outlines how to do this. Another option which may work for is using a third party app that can block access from specific countries, here's an example of an app that carries this out.
I hope this helps!
I would like to use this script because there is no way to only limit specific payment gateways to specific countries. This is a core feature that is missing.
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024