Working on tests

This commit is contained in:
Hillel Coren 2018-03-11 12:56:46 +02:00
parent fcbab2fd02
commit 262a9e266e

View File

@ -266,7 +266,7 @@ class BasePaymentDriver
public function completeOnsitePurchase($input = false, $paymentMethod = false) public function completeOnsitePurchase($input = false, $paymentMethod = false)
{ {
$this->input = $input && $input->count() ? $input : false; $this->input = $input && count($input) ? $input : false;
$gateway = $this->gateway(); $gateway = $this->gateway();
if ($input) { if ($input) {