Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion storage/framework/core/orm/src/traits/billable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,5 +328,5 @@ async function getStripe(): Promise<Stripe> {
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' })
}
2 changes: 1 addition & 1 deletion storage/framework/core/payments/src/drivers/stripe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down
Loading