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

#   PayPal popup immediately closes

##

- **[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
-
-

2 years 8 months ago [\#359079](#359079) by [Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")  *[PayPal popup immediately closes](/forum/29-payment-methods/907750-paypal-popup-immediately-closes#359079 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2 -- PHP version -- : 8.1  Hi,  On a site I'm developing, I have an issue with PayPal: - When I click on PayPal, the pop up opens a second and then disappears - When I clic on Credit Card nothing happens.  I presume I did something wrong but no clue what.  Could you please help?  Thanks in advance  Sandra")* was created by *[Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")*

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.4.2
-- PHP version -- : 8.1

Hi,

On a site I'm developing, I have an issue with PayPal:
- When I click on PayPal, the pop up opens a second and then disappears
- When I clic on Credit Card nothing happens.

I presume I did something wrong but no clue what.

Could you please help?

Thanks in advance

Sandra

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDc3NTAtcGF5cGFsLXBvcHVwLWltbWVkaWF0ZWx5LWNsb3Nlcz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

2 years 8 months ago [\#359081](#359081) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PayPal popup immediately closes](/forum/29-payment-methods/907750-paypal-popup-immediately-closes#359081 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2 -- PHP version -- : 8.1  Hi,  On a site I'm developing, I have an issue with PayPal: - When I click on PayPal, the pop up opens a second and then disappears - When I clic on Credit Card nothing happens.  I presume I did something wrong but no clue what.  Could you please help?  Thanks in advance  Sandra")*

Hi,

Your website's access is restricted: [ i.imgur.com/OtgOiGj.png](https://i.imgur.com/OtgOiGj.png)
So I can't reproduce the issue in order to analyze the situation directly.
I would guess that it might be a javascript error, or there is something not configured properly with the payment method.
Could you provide a user access to be able to reproduce the issue ?
And if you could also provide a backend access or a screenshot of the settings of the payment method, it would be great.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDc3NTAtcGF5cGFsLXBvcHVwLWltbWVkaWF0ZWx5LWNsb3Nlcz90bXBsPW1hcmtkb3du) 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
-
-

2 years 8 months ago [\#359091](#359091) by [Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")  Replied by *[Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")* on topic *[PayPal popup immediately closes](/forum/29-payment-methods/907750-paypal-popup-immediately-closes#359091 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2 -- PHP version -- : 8.1  Hi,  On a site I'm developing, I have an issue with PayPal: - When I click on PayPal, the pop up opens a second and then disappears - When I clic on Credit Card nothing happens.  I presume I did something wrong but no clue what.  Could you please help?  Thanks in advance  Sandra")*

Hi Nicolas,

I'll grant you a Super User access.

Thanks again for your help

Sandra

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDc3NTAtcGF5cGFsLXBvcHVwLWltbWVkaWF0ZWx5LWNsb3Nlcz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

2 years 8 months ago -  2 years 8 months ago [\#359097](#359097) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PayPal popup immediately closes](/forum/29-payment-methods/907750-paypal-popup-immediately-closes#359097 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2 -- PHP version -- : 8.1  Hi,  On a site I'm developing, I have an issue with PayPal: - When I click on PayPal, the pop up opens a second and then disappears - When I clic on Credit Card nothing happens.  I presume I did something wrong but no clue what.  Could you please help?  Thanks in advance  Sandra")*

Hi,

I've made two tests on your website:
- The first time, I used a fake address and kept the default country "Saint Martin" and I got the issue you described. If I check the console of my browser at that time, it says this:
[ i.imgur.com/ZIYJR78.png](https://i.imgur.com/ZIYJR78.png)
As you can see, it doesn't like the country code.
Here is a list of all the accepted country codes: [ developer.paypal.com/api/rest/reference/country-codes/](https://developer.paypal.com/api/rest/reference/country-codes/)
So you need to make sure the country zones you're using are available in that list or the payment will be refused by PayPal.

- The second time, I tried with an address in the USA, and the popup worked just fine. So it confirms that the problem is with the country code.

Last edit: 2 years 8 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDc3NTAtcGF5cGFsLXBvcHVwLWltbWVkaWF0ZWx5LWNsb3Nlcz90bXBsPW1hcmtkb3du) 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
-
-

2 years 8 months ago [\#359109](#359109) by [Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")  Replied by *[Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")* on topic *[PayPal popup immediately closes](/forum/29-payment-methods/907750-paypal-popup-immediately-closes#359109 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2 -- PHP version -- : 8.1  Hi,  On a site I'm developing, I have an issue with PayPal: - When I click on PayPal, the pop up opens a second and then disappears - When I clic on Credit Card nothing happens.  I presume I did something wrong but no clue what.  Could you please help?  Thanks in advance  Sandra")*

Thanks a lot Nicolas.

I should have set up Saint-Martin in a wrong way. I know it works on Saint-Martin as I have several e-commerce websites set up with PayPal.

Sandra

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDc3NTAtcGF5cGFsLXBvcHVwLWltbWVkaWF0ZWx5LWNsb3Nlcz90bXBsPW1hcmtkb3du) 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
-
-

2 years 8 months ago [\#359110](#359110) by [Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")  Replied by *[Sandra74](/forum/user/60896-sandra74 "View Sandra74's Profile")* on topic *[PayPal popup immediately closes](/forum/29-payment-methods/907750-paypal-popup-immediately-closes#359110 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.2 -- PHP version -- : 8.1  Hi,  On a site I'm developing, I have an issue with PayPal: - When I click on PayPal, the pop up opens a second and then disappears - When I clic on Credit Card nothing happens.  I presume I did something wrong but no clue what.  Could you please help?  Thanks in advance  Sandra")*

I remember how we did previously, we put Saint-Martin and Saint-Barth under France ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDc3NTAtcGF5cGFsLXBvcHVwLWltbWVkaWF0ZWx5LWNsb3Nlcz90bXBsPW1hcmtkb3du) 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.067 seconds

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