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); }