ThreeDSecureLauncher

Launcher for the app-based authentication challenge for 3D secure tokenization.

Constructors

Link copied to clipboard
constructor(fragment: Fragment, callback: ThreeDSecureLauncherCallback)

Used to launch the 3DS authentication flow to tokenize a 3DS card. This class must be instantiated before your Fragment is created.

constructor(activity: ComponentActivity, callback: ThreeDSecureLauncherCallback)

Used to launch the 3DS authentication flow to tokenize a 3DS card. This class must be instantiated before your Activity is created.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Launches the 3DS flow by switching to an authentication Activity. Call this method in the callback of ThreeDSecureClient.createPaymentAuthRequest if user authentication is required ThreeDSecureLookup.requiresUserAuthentication. This method cannot be called until the lifecycle of the Fragment or Activity used to instantiate your ThreeDSecureLauncher has reached the CREATED state.