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*/ /*Refactor and push to BaseDriver*/
if ($data['response'] != null && $data['response']->getMessages()->getResultCode() == 'Ok') { if ($data['response'] != null && $data['response']->getMessages()->getResultCode() == 'Ok') {
$this->storePayment($payment_hash, $data); $this->storePayment($payment_hash, $data);
$vars = [ $vars = [
'hashed_ids' => $invoice->hashed_id, 'invoices' => $payment_hash->invoices(),
'amount' => $amount, 'amount' => $amount,
]; ];