Skip to content

HandleRedirectOptions

Options for handleRedirectResult().

export interface HandleRedirectOptions extends WaitForTransactionOptions
NameTypeDescription
maxRetries?numberPolls before giving up. Default: no limit, only timeoutMs.
poll?booleanKeep checking until the payment has finished. Default true: the customer can be back before the payment has finished, so an unfinished status on arrival means “wait”, not “failed”.
pollInterval?numberMilliseconds between polls, replacing the default schedule (2, 3, 5 and 8 seconds, then every 10). Never less than 1000.

Also has everything WaitForTransactionOptions has.