From 5d3eafcdd47ffe9a9a20734fc99311b05443d5a5 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Sat, 9 Dec 2023 07:42:10 +0000 Subject: [PATCH] support: Fix error on discount applied on legacy server. This is for legacy server **not** scheduled for an upgrade. --- corporate/lib/stripe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py index 2b2c09db5e..3bd863140b 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: