From 4bb02f4f61db7ce05c135f659a8c274bee0d1bef Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 3 Sep 2020 21:22:49 +1000 Subject: [PATCH] Fixes for authorize.net --- 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 b58bb5bb7a00..b2228f720c9b 100644 --- a/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php +++ b/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php @@ -189,7 +189,7 @@ class AuthorizeCreditCard $payment = $this->storePayment($payment_hash, $data); $vars = [ - 'invoices' => $payment_hash->invoice(), + 'invoices' => $payment_hash->invoices(), 'amount' => array_sum(array_column($payment_hash->invoices(), 'amount')) + $payment_hash->fee_total ];