Fix for PayPal
This commit is contained in:
parent
996abcc560
commit
3ce6412a63
1 changed files with 3 additions and 2 deletions
|
|
@ -316,7 +316,8 @@ class BasePaymentDriver
|
|||
if ($this->isGateway(GATEWAY_SAGE_PAY_DIRECT) || $this->isGateway(GATEWAY_SAGE_PAY_SERVER)) {
|
||||
$items = null;
|
||||
} else {
|
||||
$items = $this->paymentItems();
|
||||
//$items = $this->paymentItems();
|
||||
$items = null;
|
||||
}
|
||||
$response = $gateway->purchase($data)
|
||||
->setItems($items)
|
||||
|
|
@ -371,7 +372,7 @@ class BasePaymentDriver
|
|||
|
||||
$item = new Item([
|
||||
'name' => $invoiceItem->product_key,
|
||||
'description' => $invoiceItem->notes,
|
||||
'description' => substr($invoiceItem->notes, 0, 100),
|
||||
'price' => $invoiceItem->cost,
|
||||
'quantity' => $invoiceItem->qty,
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue