当我在购物车中添加了一个项目时,它可以正常工作。但是,当我添加两个项目时,它不起作用。我收到错误3021格式错误.require_once(' SagePay / lib / SagePay.php');
$sagePay = new SagePay();
$sagePay->setCurrency('GBP');
$sagePay->setAmount($item_total);
$sagePay->setDescription("Bates Environmental Ltd");
$sagePay->setBillingSurname($user['Surname']);
$sagePay->setBillingFirstnames($user['FirstName']);
$sagePay->setBillingCity($user['BillingAddressCity']);
$sagePay->setBillingPostCode($user['BillingAddressPostCode']);
$sagePay->setBillingAddress1($user['BillingAddressLine1']);
$sagePay->setBillingCountry('GB');
$sagePay->setDeliverySameAsBilling();