From e1ae7688a8f8ec6b81d75666b7855d8248b0527f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 26 Jan 2021 20:39:52 +1100 Subject: [PATCH] Fix for auth.net autobill --- app/PaymentDrivers/Authorize/AuthorizeCreditCard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php b/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php index cec6d058c995..3c9ab3258a95 100644 --- a/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php +++ b/app/PaymentDrivers/Authorize/AuthorizeCreditCard.php @@ -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, ];