Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(server): wrong stripe checkout params (#9056)

forehalo115caa7cc6a7
diff --git a/packages/backend/server/src/plugins/payment/manager/workspace.ts b/packages/backend/server/src/plugins/payment/manager/workspace.ts
index 4c0c424487..5f41f8e23a 100644
--- a/packages/backend/server/src/plugins/payment/manager/workspace.ts
+++ b/packages/backend/server/src/plugins/payment/manager/workspace.ts
@@ -106,10 +106,12 @@ export class WorkspaceSubscriptionManager extends SubscriptionManager {
quantity: count,
},
],
+ customer_update: {
+ name: 'auto',
+ },
tax_id_collection: {
enabled: true,
},
-
...discounts,
mode: 'subscription',
success_url: this.url.link(params.successCallbackLink),