Overview
Set the PrimerHeadlessUniversalCheckoutUiListener
in order to receive different UI callbacks from Primer SDK.
onPreparationStarted
This method will be called when the SDK starts preparing to tokenize the payment method.
1
fun onPreparationStarted(paymentMethodType: String)
kotlin
copy
Parameters
paymentMethodType
StringRequiredonPaymentMethodShowed
This method will be called when the payment method UI gets displayed.
1
fun onPaymentMethodShowed(paymentMethodType: String)
kotlin
copy
paymentMethodType
StringRequired