How can I limit COD payment service to a specific country?

https://nooras.ae/

Hello, i’d like to know if there any option to limit COD payment service to one specific country. Thank you

Hi @nbeel !

This is unfortunately not doable on the standard Shopify Plans, you would need Shopify Plus for the coding to be usable. What I would suggest to do is just write in the COD payment that this option is only available in the UAE.

Cheers!

@nbeel ,

One thought could be to process COD orders over the phone? Perhaps this can better validate your orders. Then just tag the order as ‘approved’.

Best,

Achieve Team

How did you find a solution?

Hi @Ankitbhuwalka

If you use Shopify Checkout to collect Cash on Delivery orders it’s not possible to limit the COD option to only one or a few countries, this is because on Shopify all payment methods are shown to every customers regardless of their country.

If you use a separate order form only for Cash on Delivery it is actually possible! With our app QuickForm - COD Order Form you can create a separate order for Cash on Delivery orders, you can have the form appear on the cart page or product pages and you can offer a simpler and more intuitive purchasing experience for your COD customers.

We can then add a small piece of code to your theme to show the form only if a customer is from the country/countries you want so that only customers from that country are going to be able to place Cash on Delivery orders! We have already implemented this on a store in UAE that didn’t want to offer Cash on Delivery for customers from Qatar and Saudi Arabia and it’s working perfectly!

You can install the app for free from the Shopify App Store here: https://apps.shopify.com/releasit-cod-order-form (you can also find a demo store on the App Store so that you can try the form)

When you install the app you can use the contact form on the app to contact me so that I can help you add the small piece of custom code to limit the form to only the countries you need!

Hope this helps!

Marco

Hello you there? Can you or anyone else please let me know how to do this on shopify plus plan?

Hello,

You can write a script and include it in checkout.liquid. Use a geo IP service in that script to determine location then access the DOM to hide COD.

Another option is Functions API which is more complex since you need an app.

Best,
Sam - Owner / Lead Developer
Achieve Applabs

Hi Marco!

I have a Shopify store and we only sell in Kuwait.
Is it possible to limit the COD option for specific areas/governorates inside of Kuwait?

I appreciate your help!

Unfortunately it’s not possible to limit COD based on the areas in Kuwait because if I am not mistaken the Governorate field on Shopify checkout is not a dropdown with premade values, correct?

There is a drop down for governorate.
You can have a look at the store here: https://greenzoneco.com

Ok perfect then we can add it on our next update, if you install the app and contact us from the app we can keep you updated when this option is available!

Hi Marco, can I contact you too? I will download the app now, i am trying to find a solution and speaking to shopify on their chat but they are only giving me wrong information!

speak to you soon,

Thank you for raising this question. i was looking for this for my store https://www.embroiderygo.com/.

I found a solution for this issue with Payflow app. It can hide COD for specific areas and many more custom conditions.