zulip/corporate/views
Lauryn Menard 6f7b75c9a3 corporate: Add `create_stripe_payment_intent` to BillingSession class.
Adds `create_stripe_payment_intent` to the BillingSession abstract
class for the initial upgrade process, which is used only in
`setup_upgrade_checkout_session_and_payment_intent`.

Adds a helper dataclass for the data used to create the stripe
payment intent, StripePaymentIntentData, for the implementation of
more than one child class of BillingSession.

Also adds two abstract helper functions for getting the above stripe
payment intent data as well as updating that data for a stripe
checkout session that is associated with a payment intent:
update_data_for_checkout_session_and_payment_intent,
get_data_for_stripe_payment_intent.
2023-11-06 14:39:36 -08:00
..
__init__.py
billing_page.py python: Remove unused arguments for translated format strings. 2023-07-18 10:38:46 -07:00
event_status.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
portico.py portico: Remove orgs who haven't set their own description. 2023-10-12 09:58:47 -07:00
session.py corporate: Add create_stripe_checkout_session to BillingSession class. 2023-11-06 14:39:36 -08:00
support.py corporate: Add contact support page. 2021-10-01 17:30:01 -07:00
upgrade.py corporate: Add `create_stripe_payment_intent` to BillingSession class. 2023-11-06 14:39:36 -08:00
webhook.py webhook: Do not allow None default for headers. 2022-07-15 14:00:56 -07:00