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 ];