From e4ae78cd415e0f977525f3cd9f8aaf9994ce79de Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 26 Jan 2021 20:11:29 +1100 Subject: [PATCH] Fix for auth.net autobill --- 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 1a67e58220fb..b08979bd9d17 100644 --- a/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php +++ b/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php @@ -87,7 +87,7 @@ class AuthorizeCreditCard return $this->handleResponse($data, $request); } - private function tokenBilling($cgt, $payment_hash) + public function tokenBilling($cgt, $payment_hash) { $amount = array_sum(array_column($payment_hash->invoices(), 'amount')) + $payment_hash->fee_total;