From bde729fe6e400c392da93a8a11f2888883684aba Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 15 Aug 2021 16:07:05 +1000 Subject: [PATCH] Fixes for Stripe Verify --- app/PaymentDrivers/Stripe/Connect/Verify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Stripe/Connect/Verify.php b/app/PaymentDrivers/Stripe/Connect/Verify.php index afd6bf1911fd..f516fbe17d18 100644 --- a/app/PaymentDrivers/Stripe/Connect/Verify.php +++ b/app/PaymentDrivers/Stripe/Connect/Verify.php @@ -49,7 +49,7 @@ class Verify { $this->stripe->init(); - if($this->stripe->stripe_connect && strlen($this->company_gateway->getConfigField('account_id')) < 1) + if($this->stripe->stripe_connect && strlen($this->stripe->company_gateway->getConfigField('account_id')) < 1) return response()->json("Stripe Connect not authenticated", 400); $customers = Customer::all([], $this->stripe->stripe_connect_auth);