fix: Stripe API version (2024-12-18.acacia)
This commit is contained in:
1 parent
6b5d5eefd6
commit
4b6a1946b4
1 file changed
+1
-1
@@ -20,7 +20,7 @@ export function getStripe(): Stripe | null {
|
|||||||
if (!key) return null
|
if (!key) return null
|
||||||
if (!stripeInstance) {
|
if (!stripeInstance) {
|
||||||
stripeInstance = new Stripe(key, {
|
stripeInstance = new Stripe(key, {
|
||||||
apiVersion: '2025-10-28.acacia' as Stripe.LatestApiVersion,
|
apiVersion: '2024-12-18.acacia' as Stripe.LatestApiVersion,
|
||||||
typescript: true,
|
typescript: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user