zulip/corporate
Lauryn Menard fbe7145231 corporate: Check plan tier for new plan discount calculations.
Now that a customer discount may require a particular plan tier to
be applied, update the billing code to check the plan tier when
getting the customer default_discount field/information for a new
plan.

For billing schedule changes and displaying billing information for
current plans, we explicitly use the discount set on the current,
active plan and do not check the customer object for these actions.
2024-01-15 03:10:04 -08:00
..
lib corporate: Check plan tier for new plan discount calculations. 2024-01-15 03:10:04 -08:00
management billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
migrations corporate: Add required_plan_tier field to Customer model. 2024-01-15 03:10:04 -08:00
tests audit-logs: Add generic property changed for Customer and CustomerPlan. 2024-01-15 03:10:04 -08:00
views remote_billing: Fix handle_customer_migration_from_server_to_realms. 2024-01-12 15:28:41 -08:00
__init__.py
models.py corporate: Check plan tier for new plan discount calculations. 2024-01-15 03:10:04 -08:00
urls.py remote_billing: Add endpoint and a helper to make deactivation links. 2023-12-12 13:31:59 -08:00