Device Fingerprinting allows you to log unique attributes of the shopper device and analyze them during repeat visits of the same shopper. This helps the ShopperDNA system identify the same machine across multiple sessions (despite the user changing login identities, using proxies, clearing cache and cookies, and attempting other obfuscation techniques) and detect fraudulent behavior easily on a payment page.
Adyen provides you with the following options depending on the integration type you use:
- For HTML-based Client-Side Encryption and Hosted Payment Pages, the device fingerprint is calculated and submitted automatically.
Get the fingerprint
First, calculate a fingerprint on a client side and submit it to your server, along with other payment details. Note that calculating the device fingerprint might take some time varying on the shopper's computer speed and Internet connection. We recommend that you call the fingerprinting code on the page load to make sure that the fingerprint has been successfully calculated while a shopper fills out payment details.
To get the device fingerprint:
- Add a hidden field with any
idto your page.
- Calculate a fingerprint for the hidden field by calling the
dfDofunction with the field's
idas a parameter.
Below is an example form that calculates the device fingerprint using the
bar hidden field.
Submit the fingerprint to Adyen
After the device fingerprint is calculated and submitted to your server, include this fingerprint into the payment request in the
deviceFingerprint field value. The Adyen payments platform then uses this fingerprint for fraud checks on the payment request.