mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
In 'invoice_plan()', the primary way to not create an invoice for a plan is to not have any new ledger entry. This commit adds a 'self.on_paid_plan()' check which is an extra layer of defense to avoid creating any invoices for customers not on paid plan. It saves a DB query too. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| activity.py | ||
| decorator.py | ||
| registration.py | ||
| remote_billing_util.py | ||
| stripe_event_handler.py | ||
| stripe.py | ||
| support.py | ||