[Skip to main content](#vessel-content)

#   New PayPal Plugin

##

- **[Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")**
- [![Sandra74's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60896-sandra74 "View Sandra74's Profile") Topic Author
- [ Offline](/forum/user/60896-sandra74)

Less More

- Posts: 197
- Thank you received: 18
-
-

4 years 4 weeks ago [\#345676](#345676) by [Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")  *[New PayPal Plugin](/forum/29-payment-methods/905175-new-paypal-plugin#345676 "-- url of the page with the problem -- :   jouets.idimweb.net  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1.11  Hi,  I've set up the new PayPal Plugin but I can't make it work. I have a message &quot;Invalid Country Code&quot;. The countries' codes I set up are correct (AFAIK) so I can't figure out what I missed.  Would it be possible for you to help me?  Thanks  Sandra")* was created by *[Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")*

-- url of the page with the problem -- : [ jouets.idimweb.net](https://jouets.idimweb.net)
-- HikaShop version -- : 4.6.2
-- Joomla version -- : 4.2.3
-- PHP version -- : 8.1.11

Hi,

I've set up the new PayPal Plugin but I can't make it work. I have a message "Invalid Country Code". The countries' codes I set up are correct (AFAIK) so I can't figure out what I missed.

Would it be possible for you to help me?

Thanks

Sandra

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDUxNzUtbmV3LXBheXBhbC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

4 years 4 weeks ago [\#345682](#345682) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[New PayPal Plugin](/forum/29-payment-methods/905175-new-paypal-plugin#345682 "-- url of the page with the problem -- :   jouets.idimweb.net  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1.11  Hi,  I've set up the new PayPal Plugin but I can't make it work. I have a message &quot;Invalid Country Code&quot;. The countries' codes I set up are correct (AFAIK) so I can't figure out what I missed.  Would it be possible for you to help me?  Thanks  Sandra")*

Hi,

The country codes needs to be compatible with what PayPal wants, and not correct as per other rules. That's why HikaShop comes with a list of countries with the codes entered so that they are what payment gateways expect and we can realy on these in the payment plugins. Some payment plugins adapt these default codes to others when necessary.

I can see you're using extra country zones you've created in the menu System&gt;Zones.
That's possible, but in that case, you need to enter for them one of the codes supported by your payment gateway. For PayPal :
[ developer.paypal.com/api/rest/reference/country-codes/](https://developer.paypal.com/api/rest/reference/country-codes/)
For example, since Saint Barthélémy is not in the list, and since it's an overseas collectivity of France ( [ en.wikipedia.org/wiki/Saint\_Barth%C3%A9lemy](https://en.wikipedia.org/wiki/Saint_Barth%C3%A9lemy) ), even though wikipedia states that the 2 letters ISO code for it should be BL, I suppose you want to use the code for France which is FR

The best of course is to contact PayPal support and check with them which country code you should use for each island. They'll know better than me what they want you to use for them ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDUxNzUtbmV3LXBheXBhbC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")**
- [![Sandra74's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60896-sandra74 "View Sandra74's Profile") Topic Author
- [ Offline](/forum/user/60896-sandra74)

Less More

- Posts: 197
- Thank you received: 18
-
-

4 years 4 weeks ago [\#345691](#345691) by [Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")  Replied by *[Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")* on topic *[New PayPal Plugin](/forum/29-payment-methods/905175-new-paypal-plugin#345691 "-- url of the page with the problem -- :   jouets.idimweb.net  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1.11  Hi,  I've set up the new PayPal Plugin but I can't make it work. I have a message &quot;Invalid Country Code&quot;. The countries' codes I set up are correct (AFAIK) so I can't figure out what I missed.  Would it be possible for you to help me?  Thanks  Sandra")*

Thanks a lot Nicolas.

I've sent a message to PayPal. Let's see

Sandra

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDUxNzUtbmV3LXBheXBhbC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
