diff --git a/storage/framework/core/orm/src/traits/billable.ts b/storage/framework/core/orm/src/traits/billable.ts index 0d263ad7e2..1ae5f16ea9 100644 --- a/storage/framework/core/orm/src/traits/billable.ts +++ b/storage/framework/core/orm/src/traits/billable.ts @@ -328,5 +328,5 @@ async function getStripe(): Promise { const secret = (globalThis as { process?: { env?: { STRIPE_SECRET_KEY?: string } } }).process?.env?.STRIPE_SECRET_KEY if (!secret) throw new Error('Stripe Connect: STRIPE_SECRET_KEY not configured') const StripeCtor = (await import('stripe')).default - return new StripeCtor(secret, { apiVersion: '2026-03-25.dahlia' }) + return new StripeCtor(secret, { apiVersion: '2026-06-24.dahlia' }) } diff --git a/storage/framework/core/payments/src/drivers/stripe.ts b/storage/framework/core/payments/src/drivers/stripe.ts index b30e243be1..8d26e8e757 100644 --- a/storage/framework/core/payments/src/drivers/stripe.ts +++ b/storage/framework/core/payments/src/drivers/stripe.ts @@ -39,7 +39,7 @@ export const stripe: Stripe = new Proxy({} as Stripe, { // pantry-vendored Stripe SDK types are compiled against — bumping // it here without bumping the SDK would mean responses include // fields the SDK doesn't know about. Update both at once. - const apiVersion: Stripe.LatestApiVersion = '2026-03-25.dahlia' + const apiVersion: Stripe.LatestApiVersion = '2026-06-24.dahlia' const configuredVersion = services?.stripe?.apiVersion if (configuredVersion && configuredVersion !== apiVersion) throw new Error(`Stripe API version ${configuredVersion} does not match the installed SDK version ${apiVersion}`)