Reputation: 765
I want to set up a recurring payment with PayPal. But when I want to redirect the user to:
https://www.paypal.com/cgi?bin/webscr?cmd=_express-checkout&token=<value_returned_by_SetExpressCheckoutResponse>
I end up at the PayPal.com page, though the correct url is set.
What am I doing wrong?
Upvotes: 4
Views: 3996
Reputation: 765
Looks like there's an error in the PayPal documentation at Integrating Recurring Payments. At 'Redirecting the Buyer to PayPal' there url is:
https://www.paypal.com/cgi?bin/webscr?cmd=_express-checkout&token=<value_returned_by_SetExpressCheckoutResponse>
When it should be:
https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=<value_returned_by_SetExpressCheckoutResponse>
Thanks to Jensen Ching for pointing this out.
Upvotes: 4