Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Don't require data to add to legacy plan.
Tim Abbott95f4b31ce73a
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.pyindex ae3c9ae1337..bd3d3557f6a 100644--- a/corporate/lib/stripe.py+++ b/corporate/lib/stripe.py@@ -2620,7 +2620,11 @@ class BillingSession(ABC):**legacy_plan_params,)- billed_licenses = self.get_billable_licenses_for_customer(customer, legacy_plan.tier)+ try:+ billed_licenses = self.get_billable_licenses_for_customer(customer, legacy_plan.tier)+ except MissingDataError:+ billed_licenses = 0+# Create a ledger entry for the legacy plan for tracking purposes.ledger_entry = LicenseLedger.objects.create(plan=legacy_plan,