Jump to content

Paypal redirect does not work


TomR

Recommended Posts

Dear community,

I just updated my shop to the latest version: PrestaShop-Version 1.7.6.2

Paypal Express Payment works fine if activated from one of the product pages.

However it gets stuck if used from the cart... => see screenshot attached.

Any ideas? Help would be much appreciated. I checked all settings etc. multiple times. Not sure if the script errors are directly related?

Thanks a lot,

Thomas

If you want to give it a try: http://glitzerlichtshop.de/

PayPal-Issue.png

Edited by TomR
updated text (see edit history)
Link to comment
Share on other sites

Hello!

The cause of the problem is that paypal refuses to download payment-selection (js error in the console)
this can happen for two reasons
1) on the page there is a resource downloaded via an insecure http protocol
2) your paypal account is not connected with Germany (when creating a paypal account, the country is indicated). Not to be confused with the country settings in Prestashop.

So first of all I advise you to check those settings.

Regards,

support 202-ecommerce

Link to comment
Share on other sites

Dear support 202,

thanks a lot for responding. I've checked both topics:

  • SSL is activated, 99% of the page is loaded via https - however jquery is loaded via http. I'm using only standard modules, no own code... May that cause the problem?
  • image.png.4b24d41d0f7ac082359367fdaf7e21e7.png

Then I've checked all PayPal settings. Region was set, that looks good. I have a business account, not sure if I may have to activate PayPal"Plus", too? 

 

 

 

Link to comment
Share on other sites

On 1/13/2020 at 5:19 PM, 202ecommerce said:

Hello!

The cause of the problem is that paypal refuses to download payment-selection (js error in the console)
this can happen for two reasons
1) on the page there is a resource downloaded via an insecure http protocol
2) your paypal account is not connected with Germany (when creating a paypal account, the country is indicated). Not to be confused with the country settings in Prestashop.

So first of all I advise you to check those settings.

Regards,

support 202-ecommerce

you`ve sended me the same text... i am managing 20 Prestashop`s - and in no one paypal is working anymore!

So the Problem is not on our site. please check your module and send bugfix or update for every one. THX a lot.

  • Like 1
Link to comment
Share on other sites

Hi guys,

see this post here (in German only...): https://wordpress.org/support/topic/iframe-ladt-nicht-zugriff-nicht-erlaubt/

It states that PayPal redirect won't work if you are sharing your SSL certificate for multiple sites. This is actually what I do, I'm using a Let's Encrypt certificate for several sites. May be Paypal has enforced checks recently? Not sure if this is the cause of the problem, will investigate further and keep you posted.

However: S-Corp and jibisaki -  it would be interesting to know how you are hosting your Prestashop? 

Link to comment
Share on other sites

1 hour ago, TomR said:

Hi guys,

see this post here (in German only...): https://wordpress.org/support/topic/iframe-ladt-nicht-zugriff-nicht-erlaubt/

It states that PayPal redirect won't work if you are sharing your SSL certificate for multiple sites. This is actually what I do, I'm using a Let's Encrypt certificate for several sites. May be Paypal has enforced checks recently? Not sure if this is the cause of the problem, will investigate further and keep you posted.

However: S-Corp and jibisaki -  it would be interesting to know how you are hosting your Prestashop? 

Thats not the reason.

I´am the Hoster and Provider (https://s-corp.de) where the Shops (over 400 Prestashop-Customers worldwide) are hosted and all of them have a problem with THIS module...other Paypal solution-modules work without problem.
 

Edited by S-Corp (see edit history)
  • Like 1
Link to comment
Share on other sites

On 1/16/2020 at 11:06 PM, TomR said:

Dear support 202,

thanks a lot for responding. I've checked both topics:

  • SSL is activated, 99% of the page is loaded via https - however jquery is loaded via http. I'm using only standard modules, no own code... May that cause the problem?
  • image.png.4b24d41d0f7ac082359367fdaf7e21e7.png

Then I've checked all PayPal settings. Region was set, that looks good. I have a business account, not sure if I may have to activate PayPal"Plus", too? 

 

 

 

Hello!

As your country is Germany it is highly recommended to use paypal plus.

I advise you to address the paypal support directly and ask them how you can connect the paypal plus.

Regards,

support 202-ecommerce

Link to comment
Share on other sites

8 minutes ago, jibayski said:

Hello guys,
in my case the reason for this was disabled PayPal plus.
Just enable it and problem will be solved.

If you don't want to use PayPal Plus i guess you should use older version of this module or just another module.

Where you are able to disable PayPal Plus ?

Link to comment
Share on other sites

Problem solved!!

...and it was very simple. I just had to delete all Cookies and local cache... Could have thought about that before.

If you want to check if this may help in your case:

  • open a new incognito browser window and retest
  • if it works here:
    • either delete all old data (for Chrome: more settings / delete browsing data...)
    • or if you want to be more selective: F12 / Application / Storage / ... then delete here

BTW: at least in Germany Paypal Plus seems to be always enabled for business accounts

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...