PaymentConfirmationConfiguration

constructor(waitsConfirmation: Boolean = true, timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, showProgressIndicatorAfterSeconds: Int? = null, hideGatewayDetails: Boolean = false, primaryAction: PONativeAlternativePaymentConfiguration.ConfirmAction? = null, secondaryAction: PONativeAlternativePaymentConfiguration.SecondaryAction? = null)

Parameters

waitsConfirmation

Specifies whether flow should wait for payment confirmation from PSP or will complete right after all user input is submitted. Default value is true.

timeoutSeconds

Amount of time (in seconds) to wait for final payment confirmation. Default value is 3 minutes, while maximum value is 15 minutes.

showProgressIndicatorAfterSeconds

Show progress indicator during payment confirmation after provided delay (in seconds). Use null to hide, this is a default behaviour.

hideGatewayDetails

Specifies whether gateway information (such as name/logo) should be hidden during payment confirmation even when specific payment provider details are not available. Default value is false.

primaryAction

Optional primary action for payment confirmation. To hide action use null, this is a default behaviour.

secondaryAction

Secondary action (e.g. "Cancel") that could be optionally presented to user during payment confirmation stage. Use null to hide, this is a default behaviour.