From 32bfeb7dfc42bc0a3266bdcb1d139f2535fc15ab Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 4 Sep 2021 12:09:49 +1000 Subject: [PATCH] further fixes for stripe import --- app/PaymentDrivers/Stripe/ImportCustomers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/PaymentDrivers/Stripe/ImportCustomers.php b/app/PaymentDrivers/Stripe/ImportCustomers.php index 5f02d87c98..2349761eb7 100644 --- a/app/PaymentDrivers/Stripe/ImportCustomers.php +++ b/app/PaymentDrivers/Stripe/ImportCustomers.php @@ -52,8 +52,8 @@ class ImportCustomers $this->update_payment_methods = new UpdatePaymentMethods($this->stripe); - // if(Ninja::isHosted() && strlen($this->stripe->company_gateway->getConfigField('account_id')) < 1) - // throw new StripeConnectFailure('Stripe Connect has not been configured'); + if(Ninja::isHosted() && strlen($this->stripe->company_gateway->getConfigField('account_id')) < 1) + throw new StripeConnectFailure('Stripe Connect has not been configured'); $customers = Customer::all([], $this->stripe->stripe_connect_auth);