presentWithSetupIntent
fun presentWithSetupIntent(setupIntentClientSecret: String, configuration: PaymentSheet.Configuration? = null)
Content copied to clipboard
Present the payment sheet to process a SetupIntent. If the SetupIntent is already confirmed, PaymentSheetResultCallback will be invoked with PaymentSheetResult.Completed.
Parameters
setupIntentClientSecret
the client secret for the SetupIntent.
configuration
optional PaymentSheet settings.