📈 (billing) Track when workspace subscription is cancelled
This commit is contained in:
@@ -134,7 +134,6 @@ export const createCheckoutSessionUrl =
|
||||
(stripe: Stripe) =>
|
||||
async ({
|
||||
customerId,
|
||||
userId,
|
||||
workspaceId,
|
||||
currency,
|
||||
plan,
|
||||
@@ -158,7 +157,6 @@ export const createCheckoutSessionUrl =
|
||||
plan,
|
||||
additionalChats,
|
||||
additionalStorage,
|
||||
userId,
|
||||
},
|
||||
currency,
|
||||
billing_address_collection: 'required',
|
||||
|
||||
@@ -84,7 +84,6 @@ export const createCustomCheckoutSession = authenticatedProcedure
|
||||
mode: 'subscription',
|
||||
metadata: {
|
||||
claimableCustomPlanId: workspace.claimableCustomPlan.id,
|
||||
userId: user.id,
|
||||
},
|
||||
currency: workspace.claimableCustomPlan.currency,
|
||||
billing_address_collection: 'required',
|
||||
|
||||
Reference in New Issue
Block a user