Paypal authorize popup wrong enviroment when checkout button was clicked.

loint
Contributor
Contributor

I'm following document https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/server-side-R...

to integrate on my website. However, when I click into payment method, paypal authorize popup show wrong enviroment. I configured sandbox enviroment but paypal redirect page to

https://www.paypal.com/cgi-bin/webscr?cmd....

instead of

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd....

Screen Shot 2017-12-04 at 10.24.38 AM.png

My client side code integrated such as :

 

Screen Shot 2017-12-04 at 2.13.59 PM.png

Any help, Thank you!

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.