Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

get_initial_upgrade_context: Use tier passed as part of request.

Aman Agrawal28a49be16117
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py
index 2496db84fa2..7d1fd9d08b2 100644
--- a/corporate/lib/stripe.py
+++ b/corporate/lib/stripe.py
@@ -1396,7 +1396,7 @@ class BillingSession(ABC):
free_trial_end_date = None
if free_trial_days is not None:
_, _, free_trial_end, _ = compute_plan_parameters(
- CustomerPlan.STANDARD, False, CustomerPlan.ANNUAL, None, True
+ tier, False, CustomerPlan.ANNUAL, None, True
)
free_trial_end_date = f"{free_trial_end:%B} {free_trial_end.day}, {free_trial_end.year}"