initialize

Method to initialize the Standalone3DSService, passing the values from threeDS2ServiceConfiguration. The 3DS Requester App calls the initialize method at the start of the payment stage of a transaction. The app passes configParameters, UI configuration parameters, and (optionally) user locale to this method.

Depending on the 3DS Requester App implementation, a ThreeDS2Service instance is called either during 3DS Requestor App startup as a background task or when a transaction is initiated. The state is maintained until the cleanup method is called.

Return

instance of ThreeDS2Service on success and in failure it will return AuthenticationError

Parameters

threeDS2ServiceConfiguration

The ThreeDS2ServiceConfiguration parameters, including context, configParameters, locale, uiCustomization and challengeTimeout.