interactive JavaScript button generator connect with paypal not working

SpadeX
Contributor
Contributor

Connect with PayPal Button doesn't work. AS per documentation i have build the button as given instruction the following as my code:..

 

  paypal.use( ['login'], function (login) {
         login.render ({
            "appid":"paypal client id",
            "authend":"sandbox",
            "scopes":"openid profile",
            "responseType":"code id_Token",
            "containerid":"paypalLoginBtn",
            "locale":"en-us",
            "theme":"neutral",
            "buttonType":"LWP",
            "buttonShape":"pill",
            "buttonSize":"lg",
            "fullPage":"false",
            "returnurl":"https://myurl.com/api/tracking?state=${shop}"
          });
      });

 Can you any help me out this problem. i got an error. as follows.

Looks like this action is not supported. Please return and report this error so that we can support it in the future. (invalid client_id or redirect_uri)

Let me know the. what is wrong i am doing ? Can you suggest me any suggestion about this problem.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.