From 0e1b6c9341907441de58ece3f28d5b171aa7d94d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 26 Nov 2020 22:22:33 +1100 Subject: [PATCH] Fixes for authorize --- app/PaymentDrivers/Authorize/AuthorizePaymentMethod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Authorize/AuthorizePaymentMethod.php b/app/PaymentDrivers/Authorize/AuthorizePaymentMethod.php index 28e44d11467a..a3fca5069931 100644 --- a/app/PaymentDrivers/Authorize/AuthorizePaymentMethod.php +++ b/app/PaymentDrivers/Authorize/AuthorizePaymentMethod.php @@ -70,7 +70,7 @@ class AuthorizePaymentMethod $this->payment_method_id = $data['method']; - switch ($this->payment_method) { + switch ($this->payment_method_id) { case GatewayType::CREDIT_CARD: return $this->authorizeCreditCardResponse($data); break;