Frank 4 months ago
parent
commit
c7e5d29109
1 changed files with 6 additions and 0 deletions
  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.customerID
           ? {
           ? {
               customer: customer.customerID,
               customer: customer.customerID,
+              customer_update: {
+                name: "auto",
+              },
             }
             }
           : {
           : {
               customer_email: user.email,
               customer_email: user.email,
@@ -217,6 +220,9 @@ export namespace Billing {
         payment_method_data: {
         payment_method_data: {
           allow_redisplay: "always",
           allow_redisplay: "always",
         },
         },
+        tax_id_collection: {
+          enabled: true,
+        },
         metadata: {
         metadata: {
           workspaceID: Actor.workspace(),
           workspaceID: Actor.workspace(),
         },
         },