zulip/corporate
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
..
lib stripe: Add a check to create invoices only for paid plans. 2024-02-20 08:25:49 -08:00
management billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
migrations support: Add support to configure fixed-price plan with pay-by-invoice. 2024-02-06 18:43:23 -08:00
tests zilencer: Implement do_reactivate_remote_server utility function. 2024-02-19 20:26:47 -08:00
views page_params: Parse page_params and state_data with Zod. 2024-02-17 00:02:38 -08:00
__init__.py
models.py billing: Rename self-managed to free. 2024-02-12 21:25:19 -08:00
urls.py stripe: Add billing portal for customer name and address. 2024-02-13 14:18:38 -08:00