Magento + Paypal Express Checkout in Sandbox Mode
I'm trying to check Paypal Express Checkout with a sandbox seller account and have sandbox mode enabled in my Magento setup.
The "Checkout with paypal" button appears in the shopping cart, but when I click on it, it redirects me to a URL like:
https://www.paypal.com/cgi-bin/webscr?cmd=_flow&SESSION=
And it shows the following error:
Your session has ended
This transaction has expired....
As per this post, for sandbox mode I should be redirected to something like:
https://www.sandbox.paypal.com/webscr?cmd=_express-checkout&useraction=commit&token=
When I copied the token and used a URL like this, it worked fine.
What can I do to get the sandbox url to be used in sandbox mode?
+3
source to share