fix: stripe issue for customers with existing stripe ID (#5308)

This commit is contained in:
Dhruwang Jariwala
2025-04-10 13:26:01 +05:30
committed by GitHub
parent c8aba01db3
commit bf7e24cf11

View File

@@ -54,6 +54,9 @@ export const createSubscription = async (
payment_method_data: { allow_redisplay: "always" },
...(!isNewOrganization && {
customer: organization.billing.stripeCustomerId ?? undefined,
customer_update: {
name: "auto",
},
}),
};