PaymentSessionListener

Represents a listener for PaymentSession actions, used to update the host activity when necessary.

Functions

Link copied to clipboard
abstract fun onCommunicatingStateChanged(isCommunicating: Boolean)

Notification method called when network communication is beginning or ending.

Link copied to clipboard
abstract fun onError(errorCode: Int, errorMessage: String)

Notification method called when an error has occurred.

Link copied to clipboard

Notification method called when the PaymentSessionData for this session has changed.