PollingConfiguration

data class PollingConfiguration(val maxAttempts: Int = 10, val intervalMillis: Long = 1000)

How the confirmation polls for a terminal payment status. Defaults match the browser SDK.

Constructors

Link copied to clipboard
constructor(maxAttempts: Int = 10, intervalMillis: Long = 1000)

Properties

Link copied to clipboard
val intervalMillis: Long = 1000

How long to wait between reads, and before the first one.

Link copied to clipboard
val maxAttempts: Int = 10

How many times to read the status before giving up. Clamped to at least one read.