I have generate the following the code where i am login with paypal but i got an error.Please let me known any help what’s wrong with my code.
paypal.use( ['login'], function (login) {
login.render ({
"appid":"Here-i-put-my-client-from-get-paypal",
"authend":"sandbox",
"scopes":"openid",
"containerid":"paypalLoginBtn",
"responseType":"code id_Token",
"locale":"en-us",
"theme":"neutral",
"buttonType":"LWP",
"buttonShape":"pill",
"buttonSize":"lg",
"fullPage":"false",
"returnurl":"https://russell-bike-adobe-collins.trycloudflare.com/admin/tracking"
});
});
I got an following error
Missing host query argument
Your app can only load if the URL has a host argument. Please ensure that it is set, or access your app using the Partners Dashboard Test your app feature
but i have check that i got correct parameters from login function like: code and id_token
then why it is get missing host query argument.
https://russell-bike-adobe-collins.trycloudflare.com/admin/tracking?code=&id_token=&scope=openid