zulip/corporate/views
Prakhar Pratyush c9d25b2a95 stripe: Redirect to /plans if plans downgraded on /billing page visit.
When a customer with plan's status 'DOWNGRADE_AT_END_OF_FREE_TRIAL'
visits /billing page on the free-trial end date before the invoice
cron runs, the 'make_end_of_cycle_updates_if_needed' downgrades the
plan.

Earlier, when such a customer visited /billing page in this time window
it resulted in an assertion error.

This commit fixes the incorrect behaviour by redirecting to '/plans'
page in such cases.
2024-03-19 09:25:07 -07:00
..
__init__.py
billing_page.py stripe: Redirect to /plans if plans downgraded on /billing page visit. 2024-03-19 09:25:07 -07:00
event_status.py stripe: Fix $0 invoices being generated on upgrade. 2024-02-12 15:15:56 -08:00
installation_activity.py installation-activity: Fix ARR value in total row. 2024-02-20 15:57:06 -08:00
portico.py upgrade: Fix allowed free trails for ended legacy plans on server. 2024-03-15 08:38:46 -07:00
realm_activity.py realm_activity: Correct the "messages sent" column. 2024-03-11 14:39:03 -07:00
remote_activity.py remote-activity: Fix broken support links. 2024-02-16 14:49:34 -08:00
remote_billing_page.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
session.py corporate: Remove '#nocoverage' comments. 2023-12-19 10:59:38 -08:00
sponsorship.py templates: Move billing templates to /templates/corporate/billing. 2024-01-30 10:06:48 -08:00
support.py cloud-support: Display most recent sponsorship request information. 2024-03-08 09:40:43 -08:00
upgrade.py upgrade: Allow payment by invoice. 2024-03-14 16:43:52 -07:00
user_activity.py remote-support: Add server data for last audit log update time. 2024-02-06 18:09:45 -08:00
webhook.py stripe: Fix $0 invoices being generated on upgrade. 2024-02-12 15:15:56 -08:00