Jump to content

Login with Paypal & Prestashop 1.6.0.14 pb with redirect_uri, Paypal answer


sebastienu

Recommended Posts

Some changes occurs at Paypal which implies updates to Prestashop Paypal module. Here is Paypal answer to redirect_uri error :

 

 

Response

Question: Why is my ticket's status "Pending Customer"?

Answer:

There are two reasons why a ticket is in Pending status. One reason is that PayPal needs additional information to advance its investigation of the incident. Click here to log in to PayPal's Merchant Technical Services website and access your questions. Then click the ticket you need to update and provide the requested information.

The other reason is that PayPal is awaiting confirmation that the issue has indeed been resolved. A ticket closes automatically when you do not respond with further information or confirm (within about a week). You may re-open the ticket within 24 hours of closing, but if you require further investigation after that, you will need to open a new ticket.

 

 

Discussion Thread

Response Via Email (Magarvin) 07/17/2015 02:27 PM

Hi Sebastien Uhl,

 

Thank you for contacting PayPal Merchant Technical Services.

 

Per the article at https://ppmts.custhelp.com/app/answers/detail/a_id/1290 we recently made security changes to the requirement of the Return URL with Log In with PayPal to make sure that it matches exactly with what you have in your App at developer.paypal.com

 

When I compare the redirect_uri you provided and the one on your site at

https://loomla.fr/prestashop/fr/login?back=my-account I noticed the one on your site is http and not https

Also, you have extra query string at the end i.e. '?authentication&nonce=60647854&newUI=Y'

 

To fix the issue, make the URL on your site also https and make it match exactly what you have in your App

 

If you have to pass dynamic variables in the redirect_uri, then use the 'state' parameter as shown in the example below to pass through your custom variables -

 

https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize?client_id=ARLS3OQjP_IPstOp3OK0sG73nIGkobl1F5bXOoDP_NWBbF3OnBilDcy-VcqY9WCT_J1M4WHWQRcqBxgI&response_type=code&scope=openid profile email address phone https://uri.paypal.com/services/paypalattributes https://uri.paypal.com/services/expresscheckout&redirect_uri=https://loomla.fr/prestashop/modules/paypal/paypal_login/paypal_login_token.php?state=authentication&nonce=60647854&newUI=Y

 

The value you pass using the 'state' parameter will be returned back to you on the return page.

 

Please let me know if you need further assistance.

 

Thanks.

Magarvin

PayPal Merchant Technical Services.

https://www.paypal.com/mts

 

Customer By Web Form (Sebastien Uhl) 07/17/2015 05:37 AM

Payment is OK

Login with paypal button opens a windows with the following error :

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

 

redirect_uri sould be :

https://loomla.fr/prestashop/modules/paypal/paypal_login/paypal_login_token.php

 

For more detail, please look attached file.

 

Regards

 

I'm not yet self confident enought to propose the update to the community, I hope this will be taken in account by the native modue developper's team.

Regards

Sebastien

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