Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to Visa 3DS Data Requirements #716

Open
JordanMoffat opened this issue May 23, 2024 · 2 comments
Open

Changes to Visa 3DS Data Requirements #716

JordanMoffat opened this issue May 23, 2024 · 2 comments

Comments

@JordanMoffat
Copy link

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?

@longsangstan
Copy link

same question.. I see a similar question posted here - braintree/braintree-web-drop-in#922

do we have to get the ip address by ourselves?

@talopy
Copy link

talopy commented Jul 2, 2024

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";
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants