chore: add address collection to stripe checkout (#3025)

This commit is contained in:
Matti Nannt
2024-08-19 16:37:22 +02:00
committed by GitHub
parent 70dd9c7724
commit 49d4f43652

View File

@@ -47,7 +47,9 @@ export const createSubscription = async (
trial_period_days: 30,
},
metadata: { organizationId, responses, miu },
billing_address_collection: "required",
automatic_tax: { enabled: true },
tax_id_collection: { enabled: true },
payment_method_data: { allow_redisplay: "always" },
...(!isNewOrganization && {
customer: organization.billing.stripeCustomerId ?? undefined,