1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

further fixes for stripe import

This commit is contained in:
David Bomba 2021-09-04 12:09:49 +10:00
parent 88cd108d00
commit 32bfeb7dfc

View File

@ -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);