mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Merge pull request #5679 from turbo124/v5-develop
Fixes for stripe authorize card
This commit is contained in:
commit
f14d5c9d41
@ -300,7 +300,7 @@ class StripePaymentDriver extends BaseDriver
|
||||
$client_gateway_token = ClientGatewayToken::whereClientId($this->client->id)->whereCompanyGatewayId($this->company_gateway->id)->first();
|
||||
|
||||
if ($client_gateway_token && $client_gateway_token->gateway_customer_reference) {
|
||||
$customer = Customer::retrieve($client_gateway_token->gateway_customer_reference);
|
||||
$customer = Customer::retrieve($client_gateway_token->gateway_customer_reference, $this->stripe_connect_auth);
|
||||
} else {
|
||||
|
||||
$data['name'] = $this->client->present()->name();
|
||||
|
Loading…
Reference in New Issue
Block a user