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

Fix for auth.net autobill

This commit is contained in:
David Bomba 2021-01-26 20:39:52 +11:00
parent 7b08355c75
commit e1ae7688a8

View File

@ -95,11 +95,11 @@ class AuthorizeCreditCard
/*Refactor and push to BaseDriver*/
if ($data['response'] != null && $data['response']->getMessages()->getResultCode() == 'Ok') {
$this->storePayment($payment_hash, $data);
$vars = [
'hashed_ids' => $invoice->hashed_id,
'invoices' => $payment_hash->invoices(),
'amount' => $amount,
];