handle

open override fun handle(challenge: PO3DS2Challenge, callback: (ProcessOutResult<Boolean>) -> Unit)

Handles the given 3DS2 challenge and callbacks with the boolean result: true if challenge was handled successfully and false if transaction was denied. In all other cases callback with the ProcessOutResult.Failure indicating what went wrong.


open override fun handle(redirect: PO3DSRedirect, callback: (ProcessOutResult<String>) -> Unit)

Handles 3DS redirect. If PO3DSRedirect.timeoutSeconds is available it must be respected and should callback when timeout is reached with:

ProcessOutResult.Failure(POFailure.Code.Timeout(POFailure.TimeoutCode.mobile))