zulip/corporate/views
Prakhar Pratyush 4715a058b0 migrate_customers: Migrate customer from server to realms during login.
Earlier, the 'handle_customer_migration_from_server_to_realms'
function was called during the send analytics step.

It resulted in an error for customers having multiple Zulip servers,
one for testing and the others for not-testing, sharing a
push bouncer registration.

The migration step when run in a test instance caused customers to
have their legacy plan migrated to a test realm, resulting in them
losing their legacy plan.

This commit moves the migration step to run during plan management
login step. This reduces the chances of losing legacy
plan as we expect them to only verify that 8.0 upgrade works and
not bother trying to login to plan management from their test instance.
2024-01-05 12:02:54 -08:00
..
__init__.py
billing_page.py test_stripe: Add migrate customer from server to realms E2E test. 2024-01-02 11:20:56 -08:00
event_status.py test_stripe: Add end-to-end test for RemoteRealm billing flow. 2023-12-15 09:08:48 -08:00
portico.py corporate: Add a Basic plan. 2023-12-20 23:09:21 -08:00
remote_billing_page.py migrate_customers: Migrate customer from server to realms during login. 2024-01-05 12:02:54 -08:00
session.py corporate: Remove '#nocoverage' comments. 2023-12-19 10:59:38 -08:00
sponsorship.py sponsorship: Populate sponsorship page with correct context. 2023-12-05 23:44:29 -08:00
support.py corporate: Implement support_url for all BillingSession child classes. 2023-12-06 11:04:54 -08:00
upgrade.py corporate: Remove '#nocoverage' comments. 2023-12-19 10:59:38 -08:00
webhook.py upgrade: Separate add card and purchase upgrade flow. 2023-11-20 12:04:56 -08:00