diff --git a/app/Ninja/PaymentDrivers/BasePaymentDriver.php b/app/Ninja/PaymentDrivers/BasePaymentDriver.php index 462252d2a785..a3fc9cbeaef9 100644 --- a/app/Ninja/PaymentDrivers/BasePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/BasePaymentDriver.php @@ -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, ]);