mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 18:30:32 -06:00
fix: stripe issue for customers with existing stripe ID (#5308)
This commit is contained in:
committed by
GitHub
parent
c8aba01db3
commit
bf7e24cf11
@@ -54,6 +54,9 @@ export const createSubscription = async (
|
||||
payment_method_data: { allow_redisplay: "always" },
|
||||
...(!isNewOrganization && {
|
||||
customer: organization.billing.stripeCustomerId ?? undefined,
|
||||
customer_update: {
|
||||
name: "auto",
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user