As of today 2nd Oct 2015, the sandbox PayPal API is now returning a production URL, we have changed nothing since yesterday and have multiple different systems all doing the same thing - tried to lodge issue on PayPal Dev support site but it will not allow to submit, form keeps crashing
So yesterday, using PHP SDK $approvalUrl = $payment->getApprovalLink();
We get
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-#####
TODAY WE GET
https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-#######
NOTICE the sandbox missing from URL
Anyone else have this issue on SANDBOX ?
We also encountered this bug today, what we did to fix this is just by concatenating sandbox on
https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-#######.
so it will be
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-#######.
NOTE this is just a bandaid fix until paypal resolves this issue.
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