mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-30 19:09:48 -06:00
chore: add address collection to stripe checkout (#3025)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user