Changes to Visa 3DS Data Requirements
Issue description
Visa is announcing changes to the Visa Secure data field mandate originally communicated in the 31 August 2023 edition of the Visa Business News. The effective date has been updated to 12 August 2024 and the number of required data fields has been reduced.
Visa has mandated that the following fields are required for 3DS in a browser:
Browser IP Address Browser Screen Height Browser Screen Width
Having collectDeviceData set to true collects the screen height and width, but I can't see any documentation that would suggest it collects the IP address.
Does Braintree Web Collect the IP address in this scenario, and if not, are there any plans to bring it into the SDK?
same question.. I see a similar question posted here - https://github.com/braintree/braintree-web-drop-in/issues/922
do we have to get the ip address by ourselves?
Please check the code below as it shows IP is not collected when it's enabled. I imagine you would need to collect that yourself, as the SDK won't know the IP.
if (options.collectDeviceData === true) {
data.browserColorDepth = window.screen.colorDepth;
data.browserJavaEnabled = window.navigator.javaEnabled();
data.browserJavascriptEnabled = true;
data.browserLanguage = window.navigator.language;
data.browserScreenHeight = window.screen.height;
data.browserScreenWidth = window.screen.width;
data.browserTimeZone = new Date().getTimezoneOffset();
data.deviceChannel = "Browser";
}