zulip/corporate/lib
Prakhar Pratyush a20ce627d9 stripe: Add a check to create invoices only for paid plans.
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.
2024-02-20 08:25:49 -08:00
..
__init__.py
activity.py remote-activity: Add column for remote server or realm creation date. 2024-02-15 10:29:12 -08:00
decorator.py billing: Redirect user to login page if session expires. 2024-02-16 14:56:26 -08:00
registration.py models: Extract zerver.models.users. 2023-12-16 22:08:44 -08:00
remote_billing_util.py remote_realm: Plumb RemoteRealmBillingUser into BillingSession. 2023-12-10 16:15:28 -08:00
stripe.py stripe: Add a check to create invoices only for paid plans. 2024-02-20 08:25:49 -08:00
stripe_event_handler.py stripe: Fix $0 invoices being generated on upgrade. 2024-02-12 15:15:56 -08:00
support.py remote-support: Fix last push notification sent field. 2024-02-16 14:49:34 -08:00