SESSION_EXPIRED

The current session has expired and the reader must be disconnected and reconnected. The SDK will attempt to auto-disconnect for you and you should instruct your user to reconnect it. TerminalListener.onUnexpectedReaderDisconnect will be called if the SDK is able to successfully auto-disconnect. If it does not successfully auto-disconnect, TerminalListener.onUnexpectedReaderDisconnect will not be called and connectionStatus will still be ConnectionStatus.CONNECTED and you can attempt to disconnect via Terminal.disconnectReader or you can instruct your user to disconnect manually by turning the reader off.

NOTE: This error will only occur in one of the following calls: Terminal.createPaymentIntent, Terminal.retrievePaymentIntent, Terminal.confirmPaymentIntent, and Terminal.cancelPaymentIntent.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
expect fun toLogString(): String
Link copied to clipboard
expect open override fun toString(): String