presentWithSetupIntent

fun presentWithSetupIntent(setupIntentClientSecret: String, configuration: PaymentSheet.Configuration? = null)

Present PaymentSheet to process a SetupIntent.

If the SetupIntent is already confirmed, PaymentSheetResultCallback will be invoked with PaymentSheetResult.Completed.

Parameters

setupIntentClientSecret

The client secret of the SetupIntent.

configuration

An optional PaymentSheet configuration.