From 1ba0155943e61b50ca9ea978837baf585f842ddf Mon Sep 17 00:00:00 2001 From: Frank Date: Fri, 26 Sep 2025 17:10:42 -0400 Subject: [PATCH] zen: accept tax id --- packages/console/core/src/billing.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/console/core/src/billing.ts b/packages/console/core/src/billing.ts index 4267d3b9..42d9ed52 100644 --- a/packages/console/core/src/billing.ts +++ b/packages/console/core/src/billing.ts @@ -206,9 +206,6 @@ export namespace Billing { customer_email: user.email, customer_creation: "always", }), - metadata: { - workspaceID: Actor.workspace(), - }, currency: "usd", invoice_creation: { enabled: true, @@ -220,6 +217,16 @@ export namespace Billing { payment_method_data: { allow_redisplay: "always", }, + customer_update: { + name: "auto", + address: "auto", + }, + tax_id_collection: { + enabled: true, + }, + metadata: { + workspaceID: Actor.workspace(), + }, success_url: successUrl, cancel_url: cancelUrl, })