mirror of https://github.com/zulip/zulip.git
6f7b75c9a3
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. |
||
---|---|---|
.. | ||
__init__.py | ||
billing_page.py | ||
event_status.py | ||
portico.py | ||
session.py | ||
support.py | ||
upgrade.py | ||
webhook.py |