Fingerprint web

You will need to insert a JavaScript script into the front-end code of your checkout page.

1. Fill in the Threatmetrix URL

The Threatmetrix URL will be inserted into the script and therefore must be filled in correctly.

Etapa 1: Configurando o Fingerprint na Cybersource – Web

Threatmetrix URL template is https://h.online-metrix.net/fp/tags.js?org_id=OrgId&session_id=ProviderMerchantIdProviderIdentifier

In the URL, replace the OrgId, ProviderMerchantId, and ProviderIdentifier values ​​as directed in the Threatmetrix URL Variables table.

2. Add tags to the script

Insert the URL you filled in in step 1 into the script and noscript tags of the JavaScript template.

The JavaScript model is represented below:

<!-- HEAD -->
<head>
    <script type="text/javascript" src="https://h.online-metrix.net/fp/tags.js?org_id=ProviderOrgId&session_id=ProviderMerchantIdProviderIdentifier"></script>
</head>

<!-- BODY -->
<body>
    <noscript>
        <iframe style="width: 100px; height: 100px; border: 0; psition:absolute; top: -5000px;" src="https://h.online-metrix.net/fp/tags?org_id=ProviderOrgId&session_id=ProviderMerchantIdProviderIdentifier"></iframe>
    </noscript>
</body>
  • Insert the script tag inside the head tag for correct performance:
<head>
<script type="text/javascript" src="https://h.online-metrix.net/fp/tags.js?org_id=ProviderOrgId&session_id=ProviderMerchantIdProviderIdentifier"&gt;&lt;/script>
</head>
  • Insert the noscript tag inside the body tag, so that the collection of device data is performed even if the browser's JavaScript is disabled. The noscript tag is a redundancy to collaborate with the data collection.
<body>
<noscript>
<iframe style="width: 100px; height: 100px; border: 0; psition:absolute; top: -5000px;" src="https://h.online-metrix.net/fp/tags?org_id=ProviderOrgId&session_id=ProviderMerchantIdProviderIdentifier"></iframe>
</noscript>
</body>

⚠️

Attention

Make sure you copy all data correctly and replace the variables with their respective values.

3. Apply the JavaScript model

Insert the Javascript with the tags (step 2) into the front-end code of your checkout page.

You must enter the code at checkout, when filling in the registration data. This way, the data that makes up the Fingerprint will be collected while the shopper fills out the form.

In the fraud analysis request, send only the ProviderIdentifier value in the Customer.BrowserFingerprint field.