Skip to content

The open source coding agent.

TypeScript

zen: accept tax id

Frank1ba0155943e6
diff --git a/packages/console/core/src/billing.ts b/packages/console/core/src/billing.ts
index 4267d3b940d..42d9ed523ef 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,
})