cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Error with Login with Paypal using sandbox. I get the error invalid client_ID or redirect_uri

tsango
Contributor
Contributor

Been at this for days now and cannot seem to resolve this error.

 

I am trying to implement the Log in with PayPal initially in Sandbox, and running on my local machine (WAMP).

 

When I click the login button I get the error :  This action isn't supported. Please return and report this error so that we can support it in the future. (invalid client_ID or redirect_uri)

 

I am using PHP, JAVA under WAMP

 

The login button is :

 

            <span id='lippButton'></span>
            <script src='https://www.paypalobjects.com/js/external/api.js'></script>
            <script>
            paypal.use( ['login'], function (login) {
                login.render ({
                    "appid":"<clientid>",
                    "authend":"sandbox",
                    "scopes":"openid Full name Email address",
                    "containerid":"lippButton",
                    "responseType":"code",
                    "locale":"en-us",
                    "buttonType":"LWP",
                    "buttonShape":"pill",
                    "buttonSize":"lg",
                    "fullPage":"true",
                    "returnurl":"http://localhost.<mysite>:8080/account.php"
                });
            });
            </script> 

 

Login to Me Too
Who Me Too'd this topic