Can I adjust payment visibility based on country in Shopify?

Topic summary

  • Goal: Show/hide payment methods by customer country (e.g., PayPal for US/Canada, KG Inicis for Asia). A second user wants India=INR with Razorpay and non‑India=USD with PayPal.

  • Platform limitation: Shopify does not let merchants assign specific gateways by country via code. Checkout automatically filters out gateways unavailable in the customer’s country based on their checkout address.

  • Reported issue: KG Inicis (Asia‑only) allegedly still appears for US customers and sometimes leads to 404 errors, risking buyer trust.

  • Suggested checks and actions:

    • Test checkout using a US address (via a fake address generator) to confirm only PayPal shows.
    • Retry in an incognito/private browser session.
    • Review Abandoned carts > order Timeline for error details during checkout (possible cause of 404).
    • Contact Shopify Support for account‑level investigation; Community cannot access account details. Link this thread when reaching out.
  • Status: Unresolved. No code-based method to conditionally display gateways by country; further troubleshooting and support review required. Images were provided to illustrate the unexpected gateway visibility.

Summarized with AI on December 28. AI used: gpt-5.

Hi, we sell our solutions through Shopify in the United States, Canada, and Asia.

Can I change the code so that I can’t see or see the payment method depending on the country I accessed, like the image next to me?

For example, when I access the United States or Canada, I want to make the payment method visible only Paypal and only KG Inicis in Asia, is it possible?

Hello @Phigolf !

At the moment, it is not possible to assign specific payment gateways to country. For example, if you have PayPal, customer shopping from all countries where PayPal is supported will be able to choose this payment method.

Could you tell me a little bit more about why you would like to assign the payment methods that way? Any details you can give me here will be super helpful, - I will then be able to forward all of your feedback onto our developer, or see if there is another way we can achieve what you’re looking for.

1 Like

Thank you for your answer.
The reason why I want to do that is because I think the 404 error that comes out after checking the payment with KG Inicis in the U.S. is an act that makes buyers unfriendly or lose trust. So, KG Inicis is only possible in Asia, so I want to make it invisible to other countries. Can I change the code?

I see what you mean!

I had a look at our list of available payment gateways in USA and it is true that the particular gateway you mentioned is not available in that region. This means that when customers with a USA address try to check out, that particular payment method will be automatically hidden for them.

Could you try to test this by attempting to go through the checkout with a randomly generated USA address, using a site like fake address generator? You should then see that the only available payment method is PayPal.

Regarding the 404 errors, that is definitely something we can take a closer look at. First, you could try to determine why the error occurred by going to your abandoned carts section in the admin, then click into an order there and scroll down to the Timeline section. Any errors that occurred during checkout will be shown there, and sometimes a reason for the error can also be found there. Have a look at this and let me know what you find.

Are you saying that if you bypass the gateway to the U.S., it will automatically disappear except for the platform that can be paid?

But as you can see in the picture below, it’s showing even though it’s a place where you can’t pay.

1 Like

It is odd that it would come up for you if you input a US address - are you seeing the same if you try it on an incognito window on your browser?

Please do give that a try, and if it still shows you can reach out to our support here so that we can take a closer look. The reason I am redirecting you is because at the moment we don’t have a way to look into your account details through the Shopify Community.

When you reach out, feel fee to also link our forum thread as it could potentially save time in showing what you have tried so far.

Hey, Could you please help me in achieving the same . I have Indian store were I want below payment gateways

  1. For Indian Market - Product and Payout currency - INR with RazorPay
    2.For Country other then INDIA- Product and Payout Currency - USD with PayPal