onTransactionCancel

open fun onTransactionCancel(mobileToken: String)

This is called after a transaction has been cancelled. This callback can be used to cancel any on-going process involving the transaction.

Some payment methods - such as Twint that involves an app-switch - also call this method when a payment error or decline occurs, to prevent showing an error dialog twice, as an error is already displayed in the payment application.

Parameters

mobileToken

The mobileToken of the cancelled Transaction