- Posts: 197
- Thank you received: 18
PayPal popup immediately closes
2 years 8 months ago #359079
by Sandra74
PayPal popup immediately closes was created by Sandra74
-- 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
-- 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 or Create an account to join the conversation.
2 years 8 months ago #359081
by nicolas
Replied by nicolas on topic PayPal popup immediately closes
Hi,
Your website's access is restricted: 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.
Your website's access is restricted: 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 or Create an account to join the conversation.
2 years 8 months ago #359091
by Sandra74
Replied by Sandra74 on topic PayPal popup immediately closes
Hi Nicolas,
I'll grant you a Super User access.
Thanks again for your help
Sandra
I'll grant you a Super User access.
Thanks again for your help
Sandra
Please Log in or Create an account to join the conversation.
2 years 8 months ago - 2 years 8 months ago #359097
by nicolas
Replied by nicolas on topic PayPal popup immediately closes
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
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/
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.
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
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/
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.
Please Log in or Create an account to join the conversation.
2 years 8 months ago #359109
by Sandra74
Replied by Sandra74 on topic PayPal popup immediately closes
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
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 or Create an account to join the conversation.
2 years 8 months ago #359110
by Sandra74
Replied by Sandra74 on topic PayPal popup immediately closes
I remember how we did previously, we put Saint-Martin and Saint-Barth under France
Please Log in or Create an account to join the conversation.
Time to create page: 0.055 seconds