mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for passing payment methods types through to Stripe
This commit is contained in:
parent
adfff8e090
commit
fb27bd99e5
@ -71,6 +71,7 @@ class CreditCard
|
||||
'gateway_type_id' => GatewayType::CREDIT_CARD,
|
||||
],
|
||||
'setup_future_usage' => 'off_session',
|
||||
'payment_method_types' => ['card'],
|
||||
];
|
||||
|
||||
$data['intent'] = $this->stripe->createPaymentIntent($payment_intent_data);
|
||||
|
@ -125,6 +125,7 @@ class StripePaymentDriver extends BaseDriver
|
||||
|
||||
Stripe::setApiKey($this->company_gateway->getConfigField('apiKey'));
|
||||
Stripe::setApiVersion('2022-11-15');
|
||||
// Stripe::setAPiVersion('2023-08-16');
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
Loading…
Reference in New Issue
Block a user