1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Minor fixes for Stripe

This commit is contained in:
David Bomba 2021-08-18 10:32:09 +10:00
parent 6aa7a4d90f
commit e1a35c5235

View File

@ -159,7 +159,7 @@ class ImportCustomers
if(count($searchResults) == 1)
{
$cgt = ClientGatewayToken::where('gateway_customer_reference', $searchResults->data[0]->id)->where('company_id', $this->company_gateway->company->id)->exists();
$cgt = ClientGatewayToken::where('gateway_customer_reference', $searchResults->data[0]->id)->where('company_id', $this->stripe->company_gateway->company->id)->exists();
if(!$cgt)
{