I am integrating Paypal Login with android Platform. But I am having an issue in authentication and authorization process. When I add all the required parameter and Call it, I get response code 200 on success.
But as a body of response i get the following:
<HTML>
<BODY Onload="document.forms[0].submit()">
<FORM NAME="Error page" METHOD="POST" ACTION="https://www.sandbox.paypal.com/webapps/auth/ph/error">
<INPUT TYPE="HIDDEN" NAME="error_code" VALUE="2005"/>
</FORM>
</BODY></HTML>
If i paste the Url given in ACTION on Web browser and check it i get the following:
Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri. Please check the request.
But when i was creating the Application i did get any redirect URI,and when application is created (approved from paypal) in application detail I have Return URL in which i paste the required URL but in vain .
Any one have any idea how to get the redirect_uri while creating application.
I fixed it by setting the additional return URL (test) in the application details
Set LOG ON WITH PAYPAL to ON and then enter the return URL and the additional one (click on the link under that prompt) and then save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With