PayPal Express returns 4011 error message in Sandbox mode
I am using PayPal express in Sandbox mode in my PHP script (curl + SOAP). I have a simple purchase form with 1 "buy" button. When it's clicked I send initial SetExpressCheckout request and get successfull response from paypal with Acc=success and a fresh token <Ack xmlns="urn:ebay:apis:eBLBaseComponents">Success</Ack> <Token xsi:type="ebl:ExpressCheckoutTokenType">EC-4GV76670YM092205U</Token></SetExpressCheckoutResponse> Next I am trying to redirect script to PayPal with this new token: header("Location: https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=".$result[Token]."