zulip/corporate
Eeshan Garg 7c9f587563 billing: Stop using UserProfile.delivery_email in Stripe handler.
Now that we pass in the UserProfile.id in the metadata to Stripe's
PaymentIntent objects, we no longer need to retrieve the user via
delivery_email. It makes more sense to just fetch the user by ID
and then get the latest delivery_email directly.

Note that an update to Stripe's fixtures is not necessary here
since a previous commit already modified the metadata passed to
both stripe.Session/PaymentIntent objects.
2021-12-03 14:57:30 -08:00
..
lib billing: Stop using UserProfile.delivery_email in Stripe handler. 2021-12-03 14:57:30 -08:00
management billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
migrations corporate/models: Modify Customer to accommodate self-hosted customers. 2021-11-30 15:20:33 -08:00
tests billing: Use UserProfile.id to ascertain customer's email. 2021-12-03 14:57:30 -08:00
views billing: Use UserProfile.id to ascertain customer's email. 2021-12-03 14:57:30 -08:00
__init__.py
models.py corporate/models: Modify Customer to accommodate self-hosted customers. 2021-11-30 15:20:33 -08:00
urls.py billing: Migrate to Stripe hosted checkout page. 2021-11-05 17:23:10 -07:00