Releases: Adyen/adyen-cse-web
Possibility to send a device fingerprint to the encrypt function
- Now possible to send a device fingerprint value to the
encrypt
function:
var cseInstance = adyen.encrypt.createEncryption(key, options);
cseInstance.encrypt(cardData, dfValue);
This can be used in conjunction with the stopDeviceFingerprint
boolean (from version 0_1_23) to prevent the CSE from performing device fingerprinting.
Instead it can be performed elsewhere and passed into the CSE.
Option to prevent device fingerprinting
Options object for createEncryption can contain a boolean: stopDeviceFingerprint
. If set to true
then device fingerprinting will not happen.
Support for Korean local cards
Published on behalf of Karol Andrusieczko
Allow passing of a randomBytes array that can be used to seed the generator
Possibility now exists to pipe in random bytes to the generator which can be used to create the entropy necessary to allow encryption.
The options object passed to adyen.createEncryption can now have a 'randomBytes' property containing an array holding these random bytes.
See: https://github.com/bitwiseshiftleft/sjcl/wiki/Symmetric-Crypto#seeding-the-generator.
Also look for presence of getElementsByTagName rather than typeof getElementsByTagName - allows encryption to work in IE8
Add fraud behavior monitoring for nodom - patch broken release
Add encryption.monitor( 'number', myCardField); to allow fraud prevention data gathering for nodom implementations.
Improve entropy setup for older browsers that don't support window.crypto.
Add fraud behavior monitoring for nodom
-
Warning: Use v0.1.20.1 instead.
-
Add
encryption.monitor( 'number', myCardField);
to allow fraud prevention data gathering for nodom implementations. -
Improve entropy setup for older browsers that don't support window.crypto.
Capture referrer page, validation and card type detection fixes
- Fix reference to
window
in nodom implementation - Capture referrer page as part of the encrypted blob
- Fix installation problem after relocations ( issue #33 ) because of wrong naming in bower.json
- Generation time will now be validated
- Fix card type detection on China Union Pay vs Maestro
Expiry year, onvalidate and merges
Add 4 digit CVC validation for selected bins
- Add the fourDigitCvcForBins option to validate 4 digit are used for the
CVC field on selected bins. The default value is '34,37' for the amex
bins.
Upgrade/fix Fingerprinting and fix validation issues
- Update device fingerprinting to align with Adyen Hosted Payment Pages
fingerprinting update. This eliminates the usage ofFunction
(which is aneval
like function) to detect if conditional comments were supported and identify Internet explorer. - Do not validate CVC if it is not provided
- Add validation for holderName