PaymentConfirmationConfiguration

constructor(@IntRange(from = 0, to = 900) timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, confirmButton: PONativeAlternativePaymentConfiguration.Button? = null, cancelButton: PONativeAlternativePaymentConfiguration.CancelButton? = null)

Parameters

timeoutSeconds

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

confirmButton

Confirm button configuration. Pass null to hide.

cancelButton

Cancel button configuration. Pass null to hide.


constructor(waitsConfirmation: Boolean = true, @IntRange(from = 0, to = 900) timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, showProgressIndicatorAfterSeconds: Int? = null, hideGatewayDetails: Boolean = false, confirmButton: PONativeAlternativePaymentConfiguration.Button? = null, cancelButton: PONativeAlternativePaymentConfiguration.CancelButton? = null)

Deprecated

Use alternative constructor.

Payment confirmation configuration.

Parameters

waitsConfirmation

Deprecated: not used. 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

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

hideGatewayDetails

Deprecated: not used. 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.

confirmButton

Confirm button configuration.

cancelButton

Cancel button configuration.


constructor(waitsConfirmation: Boolean = true, @IntRange(from = 0, to = 900) timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, showProgressIndicatorAfterSeconds: Int? = null, hideGatewayDetails: Boolean = false, primaryAction: PONativeAlternativePaymentConfiguration.ConfirmAction? = null, secondaryAction: PONativeAlternativePaymentConfiguration.SecondaryAction? = null)

Deprecated

Use alternative constructor.

Payment confirmation configuration.

Parameters

waitsConfirmation

Deprecated: not used. 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

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

hideGatewayDetails

Deprecated: not used. 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.