presentWithPaymentIntent

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

Present PaymentSheet to process a PaymentIntent.

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

Parameters

paymentIntentClientSecret

The client secret of the PaymentIntent.

configuration

An optional PaymentSheet configuration.