zulip/corporate/lib
Lauryn Menard 0147578de6 corporate: Make initial upgrade license checks more robust.
In cases where the seat count for automated license management is
stale when the upgrade process is initiated and the user has chosen
automated license management, we should get the current billable
license count when doing the initial payment/charge.

Also, makes the post-payment check for inconsistencies more robust
in that we check for both under and over billing cases. In the case
where the customer may have been overbilled, an email is sent to
the billing support team so that manual investigation can happen.
2024-09-11 11:16:55 -07:00
..
__init__.py
activity.py activity: Add header area to user activity view. 2024-08-28 14:12:36 -07:00
decorator.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
registration.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
remote_billing_util.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
stripe.py corporate: Make initial upgrade license checks more robust. 2024-09-11 11:16:55 -07:00
stripe_event_handler.py ruff: Fix E721 Use `isinstance()` for isinstance checks. 2024-08-01 16:46:58 -07:00
support.py audit-log: Move remote server event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00