zulip/corporate/lib
Prakhar Pratyush a513489f38 corporate: Fix invoicing of plans on free-trial with changed schedule.
Earlier, the 'next_invoice_date', 'invoiced_through', and
'invoicing_status' fields in 'do_change_schedule_after_free_trial'
were not set correctly.

It resulted in invoicing the ENDED plan and the ledger we create
in this function.

Multiple invoices were created depending on the number of times the
billing frequency was changed for customers who started free-trial
& changed their billing frequency.

This commit sets those fields correctly leading to create only one
invoice.
2024-03-01 10:47:55 -08:00
..
__init__.py
activity.py remote-activity: Add column for remote server or realm creation date. 2024-02-15 10:29:12 -08:00
decorator.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
registration.py models: Extract zerver.models.users. 2023-12-16 22:08:44 -08:00
remote_billing_util.py remote_realm: Plumb RemoteRealmBillingUser into BillingSession. 2023-12-10 16:15:28 -08:00
stripe.py corporate: Fix invoicing of plans on free-trial with changed schedule. 2024-03-01 10:47:55 -08:00
stripe_event_handler.py stripe: Fix $0 invoices being generated on upgrade. 2024-02-12 15:15:56 -08:00
support.py remote-support: Add push notification status information. 2024-02-23 09:08:21 -08:00