bu_marius Posted February 26, 2015 Share Posted February 26, 2015 (edited) 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 February 26, 2015 by bu_marius (see edit history) Link to comment Share on other sites More sharing options...
Foovince Posted March 4, 2015 Share Posted March 4, 2015 Same issue Link to comment Share on other sites More sharing options...
Foovince Posted March 5, 2015 Share Posted March 5, 2015 (edited) 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 March 6, 2015 by Foovince (see edit history) Link to comment Share on other sites More sharing options...
bu_marius Posted March 5, 2015 Author Share Posted March 5, 2015 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 More sharing options...
Foovince Posted March 5, 2015 Share Posted March 5, 2015 Yes, check all items from paypal documentation (link in your configuration module) Link to comment Share on other sites More sharing options...
Foovince Posted March 5, 2015 Share Posted March 5, 2015 (edited) So now i got back the error from bad url... Edited March 5, 2015 by Foovince (see edit history) Link to comment Share on other sites More sharing options...
bu_marius Posted March 5, 2015 Author Share Posted March 5, 2015 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 More sharing options...
Foovince Posted March 5, 2015 Share Posted March 5, 2015 (edited) 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 storeUDPATE 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 March 5, 2015 by Foovince (see edit history) Link to comment Share on other sites More sharing options...
bu_marius Posted March 5, 2015 Author Share Posted March 5, 2015 Yes right there is ?authentication at the end of the line but I don't think that the problem comes from this.By the way I've got an error withhttps://www.paypalobjects.com/js/external/api.jsTypeError: document.body is null...n){if(modern){return function(attr){var elems=document.body.querySelectorAll('['...Marius Link to comment Share on other sites More sharing options...
Foovince Posted March 6, 2015 Share Posted March 6, 2015 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 More sharing options...
Foovince Posted March 6, 2015 Share Posted March 6, 2015 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 More sharing options...
bu_marius Posted April 29, 2015 Author Share Posted April 29, 2015 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 1 Link to comment Share on other sites More sharing options...
hschneider Posted May 5, 2015 Share Posted May 5, 2015 I still get this error with and without ?authentication appended. Any hints ? Link to comment Share on other sites More sharing options...
trevorgilligan Posted May 7, 2015 Share Posted May 7, 2015 getting the same error to! Link to comment Share on other sites More sharing options...
mnmak Posted May 29, 2015 Share Posted May 29, 2015 Same error here too... Anyone found a solution? Link to comment Share on other sites More sharing options...
trevorgilligan Posted June 11, 2015 Share Posted June 11, 2015 i couldnt get this sorted so just removed it Link to comment Share on other sites More sharing options...
andr3wx86 Posted July 7, 2015 Share Posted July 7, 2015 i couldnt get this sorted so just removed it LOL im feeling the same at the moment... ill give it 3 hours like it recommends first... Link to comment Share on other sites More sharing options...
trevorgilligan Posted July 8, 2015 Share Posted July 8, 2015 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 More sharing options...
Gardensofthesun Posted July 31, 2015 Share Posted July 31, 2015 Have the same problem. Adding ?authentication doesn't work. Link to comment Share on other sites More sharing options...
Gando Posted August 7, 2015 Share Posted August 7, 2015 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 More sharing options...
Gando Posted August 7, 2015 Share Posted August 7, 2015 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. 2 Link to comment Share on other sites More sharing options...
hypa Posted October 23, 2015 Share Posted October 23, 2015 (edited) Thanks Gando for the update, i am using prestashop cloud and unfortunately still can't get it to work after waiting a couple of hours https://xxxxxxxxxx.pswebshop.com/modules/paypal/paypal_login/paypal_login_token.php?authentication Edited October 23, 2015 by hypa (see edit history) Link to comment Share on other sites More sharing options...
aus920 Posted November 15, 2015 Share Posted November 15, 2015 (edited) 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 November 15, 2015 by aus920 (see edit history) Link to comment Share on other sites More sharing options...
aus920 Posted November 15, 2015 Share Posted November 15, 2015 Adding "?authentication" to the end of my App return URL as suggested by @bu_marius, solved this problem for me. Thanks to all contributors. Link to comment Share on other sites More sharing options...
bu_marius Posted November 16, 2015 Author Share Posted November 16, 2015 You're welcome. Regards Link to comment Share on other sites More sharing options...
Gando Posted November 17, 2015 Share Posted November 17, 2015 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 More sharing options...
finkunlimited Posted January 8, 2016 Share Posted January 8, 2016 @bu_marius I've been struggling with this error for months trying to find a fix. THANK YOU!!! Link to comment Share on other sites More sharing options...
bu_marius Posted January 8, 2016 Author Share Posted January 8, 2016 You're welcome. Link to comment Share on other sites More sharing options...
n_s_simpson Posted August 30, 2016 Share Posted August 30, 2016 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 More sharing options...
hschneider Posted August 30, 2016 Share Posted August 30, 2016 For me the problem has solved itself, after I upgraded to the latest PrestaShop and the latest PayPal module. IMHO you should try this first before struggling further .... -- Harald Link to comment Share on other sites More sharing options...
n_s_simpson Posted August 30, 2016 Share Posted August 30, 2016 I'm on the latest module. Do you think that upgrading Prestashop from 1.6.1.4 to 1.6.1.6 will fix it? Are people aware of a fault in the version I'm on? Thanks Nick Link to comment Share on other sites More sharing options...
finkunlimited Posted August 30, 2016 Share Posted August 30, 2016 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 More sharing options...
patuga Posted October 21, 2016 Share Posted October 21, 2016 (edited) 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 October 21, 2016 by patuga (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2016 Share Posted October 21, 2016 today paypal has global issue related to some dns things, their api is affected too. so maybe this global paypal problem is directly related to issue you've got (i think so) Link to comment Share on other sites More sharing options...
san_merah Posted October 24, 2016 Share Posted October 24, 2016 Got the same problem. Not tested it with addedadded ?authentication. Link to comment Share on other sites More sharing options...
san_merah Posted October 25, 2016 Share Posted October 25, 2016 Can confirm that with PayPal module updated and ?authentication added it works Thanks! Link to comment Share on other sites More sharing options...
vucumbra Posted November 19, 2016 Share Posted November 19, 2016 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 me too can confirm now work good thx bu_marius yeaaaa Link to comment Share on other sites More sharing options...
bu_marius Posted November 19, 2016 Author Share Posted November 19, 2016 after one year still working. You're welcome 1 Link to comment Share on other sites More sharing options...
BoKr Posted March 23, 2017 Share Posted March 23, 2017 In my case it worked around Chrismas but stopped working. When I do not know, I just noticed it. Anyhow do you enter your URL with https or just http? App return URL: "myurl"/modules/paypal/paypal_login/paypal_login_token.php?authentication Link to comment Share on other sites More sharing options...
san_merah Posted August 25, 2017 Share Posted August 25, 2017 Is anyone having issues at the moment? When existing customer tries to log in everything is fine. For new customers I get error in paypal pop-up: yourdomain.com is currently unable to handle this request. HTTP ERROR 500 Link to comment Share on other sites More sharing options...
san_merah Posted August 25, 2017 Share Posted August 25, 2017 Ok, sorted. Looks like some settings changed in Presta after upgrade and had to change Customer settings so opt in and newsletter fields are not required. Link to comment Share on other sites More sharing options...
PPT09 Posted August 28, 2017 Share Posted August 28, 2017 I'm in that trouble but i didn't understand how you fixed it! Can you explain it to me, pleaseeee... Link to comment Share on other sites More sharing options...
san_merah Posted September 4, 2017 Share Posted September 4, 2017 I'm in that trouble but i didn't understand how you fixed it! Can you explain it to me, pleaseeee... Customers -> Customers at the bottom "Set required fields for this section" then un-tick newsletter and optin Link to comment Share on other sites More sharing options...
sat25 Posted February 15, 2018 Share Posted February 15, 2018 Hi Guys, i'm with the same problem, i already put the the correct url with the "?authentication" but continue the error, my web is multilingual do you think that is the problem? Can you help me please? best regards, Ricardo Link to comment Share on other sites More sharing options...
metacreo Posted May 31, 2018 Share Posted May 31, 2018 In 2018, PayPal changed API and "Login with PayPal" function stopped working. PayPal server JSON response pass the full name instead of firstname (given_name) and lastname (family_name). See post https://www.prestashop.com/forums/topic/613633-login-with-paypal/?do=findComment&comment=2880862 Temporary solution (fix for v3.11.6-paypal module) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now