目前我的主机有这个脚本,它不能在没有创建 PayPal 帐户的情况下接受信用卡。任何帮助指出一些原因?
private function RedirectToPayPal($token)
{
$payPalURL = 'https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=' . urlencode($token);
header("Location: ".$payPalURL);
exit;
}
$requestParams = array(
'RETURNURL' => site_url().'/payment/paypal/success_deposit/'.$order_id,
'CANCELURL' => site_url().'/payment/paypal/cancelled_deposit/'.$order_id,
'SOLUTIONTYPE' => 'Sole',
'LANDINGPAGE' => 'Billing'
);