Contenu du cours

3D Secure 2 implementation using the Pop-Up Method

Merchants can initiate 3D secure  with the applicable set of parameters to the 3DS 2 endpoint -  threedsecure/EnrollmentInitial  by rendering a pop-up modal. 

Before initiating 3DS 2 requests, merchants must ensure the following

Mandatory Requirements

 jQuery & Bootstrap libraries are required.

Step1:  Initialize the popup   

Include the following javascript code on your webpage that you want to initiate 3DS from:

$(document).ready(function () { 

    tdsboxInitialise('[portal domain]',  

    tdsboxComplete); 

}); 

 Step2:  Load the popup and show the modal dialog  

function loadModal() { 

    var jsonObject = { 

            ApplicationID : $("#ApplicationID").val(), 

            MerchantReference : $("#MerchantReference").val(), 

            Amount : $("#Amount").val(), 

            Currency : $("#Currency").val(), 

            PAN : $("#PAN").val(), 

            ExpiryDate : $("#ExpiryDate").val() 

        }; 

    var data = JSON.stringify(jsonObject);             

    tdsboxSubmit(data);             

Step 3:  Gets the response back after 3DS 2 Completes

function tdsboxComplete(data) {

alert(data);

 



Vues
330 Total des vues
1 Vues Membres
835 Vues publiques
Actions
0 Aime
0 N'aime pas
0 Commentaires
Partager sur des réseaux sociaux
Partager le lien
Partager par email

S'il vous plaît S'identifier afin de partager ce webpage par email