From a532fa1ce2e4ce3b4043168acb88e6de1eac759e Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 4 Sep 2025 22:52:31 +0100 Subject: [PATCH] feat(cloud): enable promo codes for checkout --- packages/auth/src/auth.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/auth/src/auth.ts b/packages/auth/src/auth.ts index cb9f67f4..e91eae1a 100644 --- a/packages/auth/src/auth.ts +++ b/packages/auth/src/auth.ts @@ -196,6 +196,13 @@ export const initAuth = (db: dbClient) => { return isUserInWorkspace; }, + getCheckoutSessionParams: () => { + return { + params: { + allow_promotion_codes: true, + }, + }; + }, }, }), ]