From b0ae010e42276ac7eb63c03e516101d026423273 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 2 May 2022 08:10:12 +1000 Subject: [PATCH] Fixes for types in Authorize --- app/PaymentDrivers/Authorize/AuthorizeCreditCard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php b/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php index 835197d5a777..0b1a03c9299f 100644 --- a/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php +++ b/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php @@ -253,7 +253,7 @@ class AuthorizeCreditCard $response = $data['response']; $amount = array_key_exists('amount_with_fee', $data) ? $data['amount_with_fee'] : 0; - $code = "Error"; + $code = 1; $description = "There was an error processing the payment"; if ($response && $response->getErrors() != null) {