processTokenizedCard

open suspend fun processTokenizedCard(card: POCard, saveCard: Boolean): ProcessOutResult<Any>

Allows to additionally process tokenized card before completion, for example to authorize an invoice or assign a customer token. Return the result from respective ProcessOut API if it was used. In case of a custom implementation you can pass ProcessOutResult.Success(Unit) or appropriate ProcessOutResult.Failure() with localizedMessage that will be shown directly to the user. Failure will be propagated to shouldContinue function.

Parameters

card

Tokenized card.

saveCard

Indicates whether the user has chosen to save the card for future payments.