PaymentSheet
Constructor to be used when launching PaymentSheet from a ComponentActivity.
Parameters
The Activity that is presenting PaymentSheet.
Called with the result of the payment after PaymentSheet is dismissed.
Constructor to be used when launching PaymentSheet from a ComponentActivity and external payment methods are specified in your Configuration.
Parameters
The Activity that is presenting PaymentSheet.
Called when a user confirms payment with an external payment method.
Called with the result of the payment after PaymentSheet is dismissed.
Constructor to be used when launching PaymentSheet from a ComponentActivity and intending to create and optionally confirm the PaymentIntent or SetupIntent on your server.
Parameters
The Activity that is presenting PaymentSheet.
Called when the customer confirms the payment or setup.
Called with the result of the payment or setup after PaymentSheet is dismissed.
Constructor to be used when launching PaymentSheet from a ComponentActivity and intending to create and optionally confirm the PaymentIntent or SetupIntent on your server and external payment methods are specified in your Configuration.
Parameters
The Activity that is presenting PaymentSheet.
Called when the customer confirms the payment or setup.
Called when a user confirms payment with an external payment method.
Called with the result of the payment or setup after PaymentSheet is dismissed.
Constructor to be used when launching the payment sheet from a Fragment.
Parameters
the Fragment that is presenting the payment sheet.
called with the result of the payment after the payment sheet is dismissed.
Constructor to be used when launching the payment sheet from a Fragment and external payment methods are specified in your Configuration.
Parameters
the Fragment that is presenting the payment sheet.
Called when a user confirms payment with an external payment method.
called with the result of the payment after the payment sheet is dismissed.
Constructor to be used when launching PaymentSheet from a Fragment and intending to create and optionally confirm the PaymentIntent or SetupIntent on your server.
Parameters
The Fragment that is presenting PaymentSheet.
Called when the customer confirms the payment or setup.
Called with the result of the payment or setup after PaymentSheet is dismissed.
Constructor to be used when launching PaymentSheet from a Fragment and intending to create and optionally confirm the PaymentIntent or SetupIntent on your server and external payment methods are specified in your Configuration.
Parameters
The Fragment that is presenting PaymentSheet.
Called when the customer confirms the payment or setup.
Called when a user confirms payment with an external payment method.
Called with the result of the payment or setup after PaymentSheet is dismissed.