Scheduling infrastructure for absolutely everyone.
Bugfix/payment options (#5805)
René Müllerbcfd57c953b9
diff --git a/packages/features/ee/teams/lib/payments.ts b/packages/features/ee/teams/lib/payments.tsindex b0d164be836..2df29ff18ed 100644--- a/packages/features/ee/teams/lib/payments.ts+++ b/packages/features/ee/teams/lib/payments.ts@@ -31,7 +31,6 @@ export const purchaseTeamSubscription = async (input: { teamId: number; seats: nallow_promotion_codes: true,success_url: `${WEBAPP_URL}/api/teams/${teamId}/upgrade?session_id={CHECKOUT_SESSION_ID}`,cancel_url: `${WEBAPP_URL}/settings/profile`,- locale: "en",line_items: [{/** We only need to set the base price and we can upsell it directly on Stripe's checkout */@@ -39,10 +38,15 @@ export const purchaseTeamSubscription = async (input: { teamId: number; seats: nquantity: seats,},],+ customer_update: {+ address: "auto",+ },+ automatic_tax: {+ enabled: true,+ },metadata: {teamId,},- payment_method_types: ["card"],subscription_data: {metadata: {teamId,