/n software 3-D Secure V2 Node.js Edition

Questions / Feedback?

DirectoryServerURL Property

The address of the Directory Server.

Syntax

 mpi.getDirectoryServerURL([callback])
 mpi.setDirectoryServerURL( directoryServerURL, [callback])

Default Value

""

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for the getDirectoryServerURL([callback]) method is defined as:

function(err, data){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'data' is the value returned by the method.

The callback for the setDirectoryServerURL([callback]) method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

This is the URL to which the RequestCardRanges and VerifyEnrollment methods post data. Under normal circumstances, this is also the same URL that these methods post errors to. Thus, when this property is set the EnrollmentErrorURL property is also automatically filled.

When the DirectoryServerURL property is set, a DNS request is initiated, and upon successful termination of the request the DirectoryServerURL property is set to the corresponding address. If the search is not successful, an error is returned.

A list of current directory servers is included below for reference (note that these may change at any time), but the merchant should be assigned a specific directory server by the acquiring bank.

https://ds.visa3dsecure.comVerified By Visa Directory Server
https://directory.securecode.comMasterCard SecureCode(tm) Directory Server
https://ds.jcb-jsecure.com/JCB J/Secure(tm) Directory Server
https://dropit.3dsecure.net/PIT/DS3-D Secure Product Integration Testing (PIT) server
https://www.nsoftware.com/3dsecure/testing/directoryserver.asp/n software's test server (limited canned responses)

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software 3-D Secure V2 Node.js Edition - Version 2.2 [Build 8162]