presentWithPaymentIntent

fun presentWithPaymentIntent(paymentIntentClientSecret: String, configuration: PaymentSheet.Configuration? = null)

Present the payment sheet to process a PaymentIntent. If the PaymentIntent is already confirmed, PaymentSheetResultCallback will be invoked with PaymentSheetResult.Completed.

Parameters

paymentIntentClientSecret

the client secret for the PaymentIntent.

configuration

optional PaymentSheet settings.