Fix for PayPal

This commit is contained in:
Hillel Coren 2018-03-18 13:15:34 +02:00
parent baa715df62
commit ab2c819423

View File

@ -313,7 +313,8 @@ class BasePaymentDriver
if ($this->isGateway(GATEWAY_SAGE_PAY_DIRECT) || $this->isGateway(GATEWAY_SAGE_PAY_SERVER)) { if ($this->isGateway(GATEWAY_SAGE_PAY_DIRECT) || $this->isGateway(GATEWAY_SAGE_PAY_SERVER)) {
$items = null; $items = null;
} else { } else {
$items = $this->paymentItems(); //$items = $this->paymentItems();
$items = null;
} }
$response = $gateway->purchase($data) $response = $gateway->purchase($data)
->setItems($items) ->setItems($items)