I am using a Paypal function to enable recurring billing.
According to the instructions:
I send a curl call for authorization:
$response = Paypal::Set_Express_Checkout(array(
// ip address
'IPADDRESS' => Request::ip(),
'EMAIL' => 'Input::get("EMAIL")',
// payment authorization
'PAYMENTREQUEST_0_PAYMENTACTION' => 'AUTHORIZATION',
'PAYMENTREQUEST_0_CURRENCYCODE' => 'USD',
'L_BILLINGTYPE0' => 'RecurringPayments',
'L_BILLINGAGREEMENTDESCRIPTION0' => $DESC,
'cancelUrl' => URL::base()."/recruiter/register_complete/".$alias,
'returnUrl' => URL::base()
And I get back a token, like such:
According to the instructions, I grab the return from the [TOKEN] side, and send the client's browser back out to sign the authorization:
I have done this on several browsers across three machines, and in each time, it takes me to the sandbox homepage, vice to the billing section.
I even tried it manually where I make the url myself (as above), and it still takes me to the homepage, vice billing.
Where am I going wrong?