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;