diff --git a/app/Ninja/PaymentDrivers/BasePaymentDriver.php b/app/Ninja/PaymentDrivers/BasePaymentDriver.php index 5ab9d0d185bc..5bc91dc7ab4b 100644 --- a/app/Ninja/PaymentDrivers/BasePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/BasePaymentDriver.php @@ -266,7 +266,7 @@ class BasePaymentDriver public function completeOnsitePurchase($input = false, $paymentMethod = false) { - $this->input = $input && $input->count() ? $input : false; + $this->input = $input && count($input) ? $input : false; $gateway = $this->gateway(); if ($input) {