mirror of https://github.com/zulip/zulip.git
billing: Don't require data to add to legacy plan.
This commit is contained in:
parent
af83093a65
commit
95f4b31ce7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue