Menu
Feedback
Start here
Tutorials


Tutorials
Payment Settings
Configuring Mercado Pago's Device Fingerprint
2 min read

Device Fingerprint is an identifier that acts in payment processing to improve fraud risk analysis.

By collecting non-sensitive data, Device Fingerprint identifies and analyzes the security level of the device used to perform a given transaction. It also analyzes transactions previously performed with that device.

Each store must have only one Device Fingerprint registered. Check if you have already registered the Device Fingerprint in another connector, before proceeding with the steps below.

This article will explain how to associate the Device Fingerprint feature with the Mercado Pago affiliation.

  1. Access the VTEX Admin.
  2. In the Store Setup section, click on Checkout.
  3. In Default, click on the blue gear icon.
  4. Go to the Code tab.
  5. In the right side of the page, under Files, select one of the following options:
  • If you use checkout V5, select checkout5-custom.js.
  • If you use checkout V6, select checkout6-custom.js.

var script = document.createElement("script");
script.src = "https://www.mercadopago.com/v2/security.js";
script.setAttribute("output","vtex.deviceFingerprint");
script.setAttribute("view","checkout");
document.body.appendChild(script);
console.log("MP-deviceId 2020 " + script.getAttribute("output").value );

Once you have completed the steps above, you will have Device Fingerprint installed in your store.

Checking Device Fingerprint operation

To ensure the Device Fingerprint feature is operating properly, you must analyze the details of an order placed using Mercado Pago as a payment method. Follow the steps below:

  1. Go to the VTEX Admin.
  2. In the Payments module, click on Transactions.
  3. Select the most recent transaction paid via Mercado Pago.
  4. Click on + Information.
  5. Search for the deviceFingerprint field and check if the code starts with the word armor, as illustrated below.

{"base64":"  ","img":{"width":441,"height":64,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":7840,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/configuring-mercado-pagos-device-fingerprint_1.png"}}

{"base64":"  ","img":{"width":528,"height":65,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":10662,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/configuring-mercado-pagos-device-fingerprint_2.png"}}

Once you have received Mercado Pago’s confirmation, Device Fingerprint will be ready to be used in your store.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Configuring maximum automatic payment settlement time frame
« Previous
Configuring Openpay payment gateway
Next »
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback