PaymentDelegate

interface PaymentDelegate

Functions

Link copied to clipboard
abstract fun onModuleClosed()

Called when module was closed (CardTokenPayment cannot be closed without creating a transaction)

Link copied to clipboard
abstract fun onPaymentCancelled(transactionId: String?)

Called when user cancelled payment or payment failed

Link copied to clipboard
abstract fun onPaymentCompleted(transactionId: String?)

Called when user paid for transaction

Link copied to clipboard
abstract fun onPaymentCreated(transactionId: String?)

Called when payment was created on Tpay server