zulip/corporate/lib
Lauryn Menard cac4adac5f billing: Keep stripe_customer_id when migrating to legacy plan.
The removal of the stripe_customer_id when creating a legacy plan
actually disconnects any existing information in Stripe about a
customer, who may have previously had a paid plan, so we don't
want that removal to happen. Instead we get or create the customer
associated with the billing session entity.

Also, updates some of the code comments in the function for legacy
plan migrations to be clearer.
2024-09-27 11:55:07 -07:00
..
__init__.py
activity.py corporate: Import corporate.lib.stripe lazily. 2024-09-24 18:18:26 -07:00
billing_types.py corporate: Use Literal types for upgrade parameters. 2024-09-24 18:18:26 -07:00
decorator.py corporate: Import corporate.lib.stripe lazily. 2024-09-24 18:18:26 -07:00
registration.py billing: Enforce manual license management for guest role changes. 2024-09-20 12:02:39 -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 billing: Keep stripe_customer_id when migrating to legacy plan. 2024-09-27 11:55:07 -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