Once the Netcetera Demo Merchant Simulator is up and running, the following endpoints of the NDM Simulator should be configured in the 3DS Server Timeout Configuration:
Since the NDM Simulator simulates a Directory Server, Scheme(s) should be configured in the 3DS Server Configuration having the NDM Simulator endpoints as Directory Server endpoints.
For handling authentication requests the NDM Simulator exposes the following endpoint:
This endpoint should be configured as primary endpoint of the Directory Server (in the url property).
For handling preparation requests the NDM Simulator exposes the following endpoints (all simulate different responses):
Any of the these endpoints could be configured as a preparation endpoint of the Directory Server (in the preparationUrl property).
Best practise would be to configure multiple Schemes, like the example below. At the startup of the 3DS Server it will send preparation requests to all directory servers' preparation endpoints and different types of preparation responses will be simulated from the NDM Simulator.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | <? xml version = "1.0" encoding = "UTF-8" ?> < ThreeDSServerConfiguration > < TimeoutConfiguration /> < UrlConfiguration > < NotificationUrl >fully-qualified-url-of-3ds-server/notification</ NotificationUrl > < ResultsResponseNotificationUrl >fully-qualified-url-of-simulator/requestor/results-notification</ ResultsResponseNotificationUrl > < ThreeDSRequestorUrl >fully-qualified-url-of-simulator/shop</ ThreeDSRequestorUrl > < ThreeDSMethodNotificationUrl >fully-qualified-url-of-3ds-server/3ds/3ds-method-notification</ ThreeDSMethodNotificationUrl > </ UrlConfiguration > < Scheme schemeId = "Visa" > < DirectoryServer threeDSRequestorID = "..." threeDSRequestorName = "..." threeDSServerOperatorID = "..." threeDSServerUrl = "..." > < ClientCertificateStore keystoreResource = "file:..." keystorePassword = "..." /> < TrustCertificateStore keystoreResource = "..." keystorePassword = "..." /> < DirectoryServerEndpoint url = "fully-qualified-url-of-simulator/ds/authentication" preparationUrl = "fully-qualified-url-of-simulator/ds/valid-pres-add-card-range-data" enabled = "true" /> </ DirectoryServer > </ Scheme > < Scheme schemeId = "..." > < DirectoryServer threeDSRequestorID = "..." threeDSRequestorName = "..." threeDSServerOperatorID = "..." threeDSServerUrl = "..." > < ClientCertificateStore keystoreResource = "file:..." keystorePassword = "..." /> < TrustCertificateStore keystoreResource = "..." keystorePassword = "..." /> < DirectoryServerEndpoint url = "fully-qualified-url-of-simulator/ds/authentication" preparationUrl = "fully-qualified-url-of-simulator/ds/pres-error-request-validation-failed" enabled = "true" /> </ DirectoryServer > </ Scheme > . . . . . < Scheme schemeId = "..." > < DirectoryServer threeDSRequestorID = "..." threeDSRequestorName = "..." threeDSServerOperatorID = "..." threeDSServerUrl = "..." > < ClientCertificateStore keystoreResource = "file:..." keystorePassword = "..." /> < TrustCertificateStore keystoreResource = "..." keystorePassword = "..." /> < DirectoryServerEndpoint url = "fully-qualified-url-of-simulator/ds/authentication" preparationUrl = "fully-qualified-url-of-simulator/ds/invalid-pres-missing-data" enabled = "true" /> </ DirectoryServer > </ Scheme > < Acquirer name = "..." > < AcquirerBin schemeId = "Visa" value = "123456" /> </ Acquirer > < Merchant id = "..." merchantName = "..." mcc = "..." merchantCountryCode = "..." > < MerchantAcquirer acquirerBin = "123456" acquirerMerchantID = "..." schemeId = "Visa" /> </ Merchant > </ ThreeDSServerConfiguration > |