Correct authentication via 3-D Secure 2.2 on a merchant's page can be implemented using the SDK.

The 3DSWebSDK is a lightweight JavaScript that allows merchants to easily invoke 3DS Method and Challenge Request messages for browser-based transactions.

<!DOCTYPE html>
<html>
    <head>
        ...
        <script src="nca-3ds-web-sdk.js" type="text/javascript" />
        ...
    </head>
    <body>
    ...
    </body>
</html>

The script will attach the 3DSWebSDK to the JavaScript window object.

The 3DSWebSDK object contains the following operations:

Operation