POTest3DSService
class POTest3DSService(activity: Activity, customTabLauncher: PO3DSRedirectCustomTabLauncher? = null, returnUrl: String = String()) : PO3DSService
Service that emulates the normal 3DS authentication flow but does not actually make any calls to a real Access Control Server (ACS). Should be used only for testing purposes in sandbox environment.
Constructors
Link copied to clipboard
constructor(activity: Activity, customTabLauncher: PO3DSRedirectCustomTabLauncher? = null, returnUrl: String = String())
Functions
Link copied to clipboard
open override fun authenticationRequest(configuration: PO3DS2Configuration, callback: (ProcessOutResult<PO3DS2AuthenticationRequest>) -> Unit)
Creates PO3DS2AuthenticationRequest that will be passed to 3DS Server for the AReq.
Link copied to clipboard
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.
Handles 3DS redirect. If PO3DSRedirect.timeoutSeconds is available it must be respected and should callback when timeout is reached with: