CreateIntentWithConfirmationTokenCallback

Callback to be used when you intend to create ConfirmationTokens for payment confirmation.

This callback is called with the ConfirmationToken and allows merchants to process the token on their server, then return a CreateIntentResult to continue the payment flow.

Functions

Link copied to clipboard
abstract suspend fun onCreateIntent(confirmationToken: ConfirmationToken): CreateIntentResult

Called with the ConfirmationToken when the customer confirms the payment or setup.