Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📈 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.tsindex 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 = authActionClientevent: "billing:checkout_start",properties: {interval: period === "yearly" ? "year" : "month",- currency,+ currency: checkoutSession.currency ?? currency,nonprofit_discount: Boolean(nonprofitGrantedAt),},groups: {