PaymentLauncher

interface PaymentLauncher

API to confirm and handle next actions for PaymentIntent and SetupIntent.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
fun interface PaymentResultCallback

Callback to notify when the intent is confirmed and next action handled.

Functions

Link copied to clipboard
abstract fun confirm(params: ConfirmPaymentIntentParams)

Confirms and, if necessary, authenticates a PaymentIntent.

abstract fun confirm(params: ConfirmSetupIntentParams)

Confirms and, if necessary, authenticates a SetupIntent.

Link copied to clipboard
abstract fun handleNextActionForPaymentIntent(clientSecret: String)

Fetches a PaymentIntent and handles its next action.

Link copied to clipboard
abstract fun handleNextActionForSetupIntent(clientSecret: String)

Fetches a SetupIntent and handles its next action.