Shopify functions to hide payment gateway on country code based

Shopify Partner
8 2 0

Shopify functions to hide payment gateway on country code based.


I have installed the app and added the example code to hide payment method on cart total bases but now I want to hide them country code


Replies 2 (2)

18 1 2

Hi @boski1 ,


I think that in the past you could only do this by being a Shopify Plus merchant and using scripts, but now you can achieve this with apps like the Kip: Customize Payment Methods app, which lets you hide payment gateways based on conditions like country, language, location, etc. 


is country code.png


I hope you find this helpful!


Shopify Partner
244 60 67

Hi @boski1 , you can try KlinKode PayRules app to hide any payment methods based on country.


It's the most easiest one out there. You can check the below video to know how to use the app.

If my answer helps, please give it a Like and Accept as Solution.
- Control payment methods visibility at checkout by KlinKode PayRules app.
- Contact me directly at
- You can join in our Facebook group for Shopify help.