mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for PayPal
This commit is contained in:
parent
baa715df62
commit
ab2c819423
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user