Merge pull request #6571 from turbo124/v5-develop

further fixes for stripe import
This commit is contained in:
David Bomba 2021-09-04 12:10:04 +10:00 committed by GitHub
commit 77e0d16536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,8 +52,8 @@ class ImportCustomers
$this->update_payment_methods = new UpdatePaymentMethods($this->stripe); $this->update_payment_methods = new UpdatePaymentMethods($this->stripe);
// if(Ninja::isHosted() && strlen($this->stripe->company_gateway->getConfigField('account_id')) < 1) if(Ninja::isHosted() && strlen($this->stripe->company_gateway->getConfigField('account_id')) < 1)
// throw new StripeConnectFailure('Stripe Connect has not been configured'); throw new StripeConnectFailure('Stripe Connect has not been configured');
$customers = Customer::all([], $this->stripe->stripe_connect_auth); $customers = Customer::all([], $this->stripe->stripe_connect_auth);