From cf86b858b8ede96475899dda48a2600c290e0366 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 4 Aug 2021 12:20:38 +1000 Subject: [PATCH] Fixes for Stripe --- app/PaymentDrivers/Stripe/ACH.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Stripe/ACH.php b/app/PaymentDrivers/Stripe/ACH.php index b798c7c2c1..ea9dc59887 100644 --- a/app/PaymentDrivers/Stripe/ACH.php +++ b/app/PaymentDrivers/Stripe/ACH.php @@ -184,7 +184,7 @@ class ACH return $this->processUnsuccessfulPayment($state); } catch (Exception $e) { if ($e instanceof CardException) { - return redirect()->route('client.payment_methods.verification', ['payment_method' => $source, 'method' => GatewayType::BANK_TRANSFER]); + return redirect()->route('client.payment_methods.verification', ['payment_method' => $source->hashed_id, 'method' => GatewayType::BANK_TRANSFER]); } throw new PaymentFailed($e->getMessage(), $e->getCode());