rememberPaymentSheetFlowController
Creates a PaymentSheet.FlowController that is remembered across compositions.
This must be called unconditionally, as part of the initialization path.
Parameters
Called when the customer's desired payment method changes.
Called when a PaymentSheetResult is available.
Creates a PaymentSheet.FlowController that is remembered across compositions. Use this method when you intend to create the com.stripe.android.model.PaymentIntent or com.stripe.android.model.SetupIntent on your server.
This must be called unconditionally, as part of the initialization path.
Parameters
Called when the customer confirms the payment or setup.
Called when the customer's desired payment method changes.
Called when a PaymentSheetResult is available.
Creates a PaymentSheet.FlowController that is remembered across compositions. Use this method if you implement any external payment methods, as specified in your PaymentSheet.Configuration.
This must be called unconditionally, as part of the initialization path.
If you intend to create the com.stripe.android.model.PaymentIntent or com.stripe.android.model.SetupIntent on your server, include a createIntentCallback.
Parameters
If specified, called when the customer confirms the payment or setup.
Called when a user confirms payment for an external payment method.
Called when the customer's desired payment method changes.
Called when a PaymentSheetResult is available.