Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

📈 Track the checkout session's actual currency

Luke Vella4aacd6e71708
diff --git a/apps/web/src/features/billing/actions.ts b/apps/web/src/features/billing/actions.ts
index 98c3cad41..ac87d43a1 100644
--- a/apps/web/src/features/billing/actions.ts
+++ b/apps/web/src/features/billing/actions.ts
@@ -191,7 +191,7 @@ export const upgradeToProAction = authActionClient
event: "billing:checkout_start",
properties: {
interval: period === "yearly" ? "year" : "month",
- currency,
+ currency: checkoutSession.currency ?? currency,
nonprofit_discount: Boolean(nonprofitGrantedAt),
},
groups: {