mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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,
|
'gateway_type_id' => GatewayType::CREDIT_CARD,
|
||||||
],
|
],
|
||||||
'setup_future_usage' => 'off_session',
|
'setup_future_usage' => 'off_session',
|
||||||
|
'payment_method_types' => ['card'],
|
||||||
];
|
];
|
||||||
|
|
||||||
$data['intent'] = $this->stripe->createPaymentIntent($payment_intent_data);
|
$data['intent'] = $this->stripe->createPaymentIntent($payment_intent_data);
|
||||||
|
@ -125,6 +125,7 @@ class StripePaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
Stripe::setApiKey($this->company_gateway->getConfigField('apiKey'));
|
Stripe::setApiKey($this->company_gateway->getConfigField('apiKey'));
|
||||||
Stripe::setApiVersion('2022-11-15');
|
Stripe::setApiVersion('2022-11-15');
|
||||||
|
// Stripe::setAPiVersion('2023-08-16');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user