Merge pull request #6572 from turbo124/v5-develop

Fixes for Stripe Import Customers
This commit is contained in:
David Bomba 2021-09-04 13:00:19 +10:00 committed by GitHub
commit 723e9b22de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,7 @@ class UpdatePaymentMethods
$token_exists = ClientGatewayToken::where([ $token_exists = ClientGatewayToken::where([
'gateway_customer_reference' => $customer_reference, 'gateway_customer_reference' => $customer_reference,
'token' => $method->id, 'token' => $method->id,
'client_id' => $client->id,
'company_id' => $client->company_id, 'company_id' => $client->company_id,
])->exists(); ])->exists();