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 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 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 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.