Jump to content

The PayPal Login suddenly stopped working


bu_marius

Recommended Posts

Hello,

 

someone try to use paypal_login?

 

The PayPal Login module suddenly stopped working. I have tried to regenerate API via sandbox site but still have the problem.

 

1.6.0.11 (multi-stores) + PayPal 3.8.1

and

1.6.0.13(multi-stores) + PayPal 3.8.1 or PayPal 3.8.2

 

the error message is:

 

Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request.

 

Marius

Edited by bu_marius (see edit history)
Link to comment
Share on other sites

Hello !

 

I fix my issue... my DNS was not propagated.. --'

 

But, Did you create an application on https://developer.paypal.com/

Did you fill return url (test/live) in the your app ?

Did you fill Client ID and Token in prestashop back office ?

 

 

UPDATE : I got an javascript error " Uncaught TypeError: Cannot read property 'querySelectorAll' of null" from api.js :(

Edited by Foovince (see edit history)
Link to comment
Share on other sites

Hello,

 

Yes I already create an application via developer.paypal.com.

 

It was fine during some weeks and suddenly stopped working.

 

I will try to see again whats happening because I skipped this problem some days.

 

Thanks

Link to comment
Share on other sites

Which version do you have

 

I'm using the 1.6.0.13 + PayPal 3.8.2

in multi stores.

 

in appi I already have: App return URL (test) "myurl"/modules/paypal/paypal_login/paypal_login_token.php

 

but nothing to do.

 

maybe it's the same problem with the curl version on the server. I will try again :(

 

 

Marius

Link to comment
Share on other sites

On your return url did you add ?authentication at the end ?

 

Me I added this in my paypal app and I haven't got the error.

(I saw in page source, javascript code (search with paypal keyword)

paypal.use( ["login"], function(login) {
		login.render ({
			"appid": "MA KEY",
			 "authend" : "sandbox",			"scopes": "openid profile email address phone https://uri.paypal.com/services/paypalattributes https://uri.paypal.com/services/expresscheckout",
			"containerid": "buttonPaypalLogin1",
						"returnurl": "http://mywebsite.com/modules/paypal/paypal_login/paypal_login_token.php?authentication",
			'locale' : 'en-gb',
		});
	});

But still not register after :(

UPDATE : I did see your reply :) ! So try to add ?authentication at the end...
I have same configuration as you (PS 1.6.0.13 and Paypal 3.8.2) single store


UDPATE 2 :  I got an error (on console with developper tool) /accounts/detail 405 (Method Not Allowed)

on paypal developper page when Im trying to update my app --'

Edited by Foovince (see edit history)
Link to comment
Share on other sites

Yes I got this error 2 days ago.
I activated JS on Footer (on back-office > Advanced Parameters > Performances > JS on Footer YES)

 

I have activated directly on the code (paypal_login.php line 89) to write file with error :

Result => {"error_description":"Invalid authorization code","error":"access_denied"} 

:(

Link to comment
Share on other sites

Update, still few hours spend on this s***t

 

I use this tools from paypal : https://devtools-paypal.com/guide/openid/curl?success=true&env=sandbox

 

Im redirected to prestashop but I got lots of errrors : 


Notice: Undefined property: PayPalLogin::$_logs in /modules/paypal/paypal_login/paypal_login.php on line 94

Notice: Undefined property: stdClass::$account_type in /modules/paypal/paypal_login/paypal_login.php on line 205

Notice: Undefined property: stdClass::$verified_account in /modules/paypal/paypal_login/paypal_login.php on line 207

Notice: Undefined property: stdClass::$zoneinfo in /modules/paypal/paypal_login/paypal_login.php on line 208

Notice: Undefined property: stdClass::$age_range in /modules/paypal/paypal_login/paypal_login.php on line 209

Fatal error: Uncaught exception 'PrestaShopException' with message 'Property PaypalLoginUser->verified_account is empty' in/classes/ObjectModel.php:872
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 2 weeks later...
  • 4 weeks later...

i removed 3.8 , installed 3.10 and same issues, unable to send login informations , it is interfering with the delete / bin icons on the checkout page, i click into check out (im using one page checkout) and it takes me to paypal confirmation page on my website. good luck paypal!

Link to comment
Share on other sites

  • 4 weeks later...

Hello, I've got the same issue. I'm using prestashop 1.6.1.0 and paypal 3.10.1. I set everithing like it was described in the integration guide. If I try log in with paypal I get this message. "Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request." I've already tried to append "http://zakservices.pswebshop.com/modules/paypal/paypal_login/paypal_login_token.php?authentication", but it did not help. Does anybody know how to sort it out? Should the URL be https? Or http?. I'm using prestashop cloud. Thanks for any help.

Link to comment
Share on other sites

Hello, I've got the same issue. I'm using prestashop 1.6.1.0 and paypal 3.10.1. I set everithing like it was described in the integration guide. If I try log in with paypal I get this message. "Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request." I've already tried to append "http://zakservices.pswebshop.com/modules/paypal/paypal_login/paypal_login_token.php?authentication", but it did not help. Does anybody know how to sort it out? Should the URL be https? Or http?. I'm using prestashop cloud. Thanks for any help.

It suddenly start working. It looks that it helped to append "?authentication". It started after an hour.
  • Like 2
Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...

The problem is  ?authentication at the end of the url.

 

App return URL: "myurl"/modules/paypal/paypal_login/paypal_login_token.php?authentication

 

now all it's fine

 

Marius

 

 

@bu_marius, Thanks so much. I was struggling with this problem for months, contacted Paypal many times but they couldn't help. 

 

Then I saw your post; added ?authentication to my App return URL, and problem solved!

 

You are a life-saver.

Edited by aus920 (see edit history)
Link to comment
Share on other sites

Hello,

I am looking for any good advice.

I have fresh instalation Prestashop 1.6.1.2 with paypal 3.10.2

My issue is:

When I click on login with paypal, a new window opens. Then I write my credentials and login into paypal, it verify everithing and return back. The problem is that it does not create any user. It just refresh login page. Everithing is set OK as it was on the old shop and I do not get any error.

 

Thank you for your answers.

Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...

Hi, I'm using PayPal module 3.10.10 on Prestashop 1.6.1.4.

 

When testing the login by PayPal button I keep getting the redirect_uri error.

 

I've created two developer apps in PayPal. One with and one without ?authentication. These were created well over 3 hours ago.

 

I've entered the live client ID and secret code into the PayPal module for both apps but neither work.

 

Do I need to clear the cache or do something else?

 

Thanks

 

Nick

Link to comment
Share on other sites

Guys,

 

PayPal said earlier this year that they are upgrading their security certificates & bit encryption which will end September this year.

 

The PS developers are working on creating a module to meet PayPals specs for release later this year.

 

I've stopped using the module since May and having been using an alternative payment gateway until the new PayPal module is released.

 

Maybe you guys can consider the same.

Link to comment
Share on other sites

  • 1 month later...

Hello,

I am looking for any good advice.

I have fresh instalation Prestashop 1.6.1.2 with paypal 3.10.2

My issue is:

When I click on login with paypal, a new window opens. Then I write my credentials and login into paypal, it verify everithing and return back. The problem is that it does not create any user. It just refresh login page. Everithing is set OK as it was on the old shop and I do not get any error.

 

Thank you for your answers.

 

 

 

 

i'm having the same problem. the log-in process aparently goes ok, but nothing gets imported and no new user is created. any help?

 

fixed the error i was getting with ?authentication, like a lot of people did too :) thanks for that OP

Edited by patuga (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...
  • 4 months later...
  • 5 months later...
  • 5 months later...
  • 3 months later...

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...