rememberPaymentSheet
Creates a PaymentSheet that is remembered across compositions.
This must be called unconditionally, as part of the initialization path.
Parameters
Called with the result of the payment after PaymentSheet is dismissed.
Creates a PaymentSheet 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 with the result of the payment after PaymentSheet is dismissed.
Creates a PaymentSheet 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 with the result of the payment after PaymentSheet is dismissed.
Called when a user confirms payment for an external payment method.