add trial days to stripe teams checkout (#16940)

This commit is contained in:
sean-brydon
2024-10-04 12:42:51 +00:00
committed by GitHub
parent 644fb38f87
commit 7d4653296e
@@ -75,6 +75,9 @@ export const generateTeamCheckoutSession = async ({
automatic_tax: {
enabled: IS_PRODUCTION,
},
subscription_data: {
trial_period_days: 14, // Add a 14-day trial
},
metadata: {
teamName,
teamSlug,