Frank 4 месяцев назад
Родитель
Сommit
c7e5d29109
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      packages/console/core/src/billing.ts

+ 6 - 0
packages/console/core/src/billing.ts

@@ -201,6 +201,9 @@ export namespace Billing {
         ...(customer.customerID
           ? {
               customer: customer.customerID,
+              customer_update: {
+                name: "auto",
+              },
             }
           : {
               customer_email: user.email,
@@ -217,6 +220,9 @@ export namespace Billing {
         payment_method_data: {
           allow_redisplay: "always",
         },
+        tax_id_collection: {
+          enabled: true,
+        },
         metadata: {
           workspaceID: Actor.workspace(),
         },