Merge pull request #4033 from turbo124/v2

Fixes for authorize.net
This commit is contained in:
David Bomba 2020-09-03 21:23:52 +10:00 committed by GitHub
commit 2c74b5a3ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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