From a80f5c665d29ef5e7b1e4aa7a71f37d1b837a19c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 27 Sep 2023 09:03:49 +1000 Subject: [PATCH] Minor checks --- app/PaymentDrivers/Square/CreditCard.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/PaymentDrivers/Square/CreditCard.php b/app/PaymentDrivers/Square/CreditCard.php index 59139361a946..0a8f596ca65d 100644 --- a/app/PaymentDrivers/Square/CreditCard.php +++ b/app/PaymentDrivers/Square/CreditCard.php @@ -142,6 +142,11 @@ class CreditCard implements MethodInterface return $this->processSuccessfulPayment($response); } + if(is_array($response)) { + nlog("square"); + nlog($response); + } + return $this->processUnsuccessfulPayment($response); }