1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Fixes for authorize.net

This commit is contained in:
David Bomba 2020-09-03 21:22:49 +10:00
parent 7315b70983
commit 4bb02f4f61

View File

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