🛂 (billing) Always invoice when subscription is updated
This commit is contained in:
@ -129,6 +129,7 @@ export const updateSubscription = authenticatedProcedure
|
||||
if (subscription) {
|
||||
await stripe.subscriptions.update(subscription.id, {
|
||||
items,
|
||||
proration_behavior: 'always_invoice',
|
||||
})
|
||||
} else {
|
||||
const checkoutUrl = await createCheckoutSessionUrl(stripe)({
|
||||
|
Reference in New Issue
Block a user