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.

support: Fix error on discount applied on legacy server.

Aman Agrawal5d3eafcdd47f
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py
index 2b2c09db5e1..3bd863140b0 100644
--- a/corporate/lib/stripe.py
+++ b/corporate/lib/stripe.py
@@ -3555,6 +3555,8 @@ def get_price_per_license(
CustomerPlan.TIER_CLOUD_PLUS: {"Annual": 16000, "Monthly": 1600},
# Placeholder self-hosted plan for development.
CustomerPlan.TIER_SELF_HOSTED_BUSINESS: {"Annual": 8000, "Monthly": 800},
+ # To help with processing discount request on support page.
+ CustomerPlan.TIER_SELF_HOSTED_LEGACY: {"Annual": 0, "Monthly": 0},
}
try: