3
votes

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 ?

1
This is something you should take up with Paypal support. - vhu
Again I have tried calling PayPal, they say lodge a support ticket which I cannot do because the form keeps failing. - devhaus.com.au
Well, I also see this happening. - Oleksii Rudenko
This is happening on my application too - p0larBoy
Also happening for me - izb

1 Answers

2
votes

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.