globalpayments / globalpayments-3ds-js

Helper library for leveraging 3DSecure 2 for Strong Customer Authentication (SCA)
https://www.npmjs.com/package/globalpayments-3ds
GNU General Public License v2.0
5 stars 10 forks source link

Add support for Mac Pro Chrome #17

Open asseti6 opened 3 years ago

asseti6 commented 3 years ago

Summary

Chrome on Macbook Pros report a default colorDepth of 30 as detailed here: https://bugs.chromium.org/p/chromium/issues/detail?id=1095999

This causes an error to be thrown in 3DSv2 for an unsupported color depth. Following the technical bulletin the colorDepth should conform to the following: "3ds servers and network directory servers to step down to the closest value thats part of the spec"