RedirectConfiguration
constructor(returnUrl: String, enableHeadlessMode: Boolean = false, redirectButton: PONativeAlternativePaymentConfiguration.Button? = null)
Parameters
returnUrl
Deep link return URL. Required for the flows that include web redirect.
enableHeadlessMode
Enables headless mode. The redirect (web or deep link) will be handled directly when it's the first step in the flow, without starting the bottom sheet. It will also capture the payment in the background when it's required by the flow. Note: The bottom sheet will still start automatically when the payment method requires user input in the native UI.
redirectButton
Redirect button configuration. Pass null to hide and redirect automatically, this is a default behaviour.