{"section":"tutorials","requestedLocale":"en","requestedSlug":"configuring-mercado-pagos-device-fingerprint","locale":"en","slug":"configuring-mercado-pagos-device-fingerprint","path":"docs/en/tutorials/payments/payment-settings/configuring-mercado-pagos-device-fingerprint.md","branch":"main","content":"__Device Fingerprint__ is an identifier that acts in payment processing to improve fraud risk analysis. \n\nBy 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.\n\n> ℹ️ 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.\n\nThis article will explain how to associate the Device Fingerprint feature with the Mercado Pago affiliation.\n\n1. Access the VTEX __Admin__.\n2. In the __Store Setup__ section, click on __Checkout__.\n3. In __Default__, click on the blue gear icon.\n4. Go to the __Code__ tab.\n5. In the right side of the page, under __Files__, select one of the following options:\n\n- If you use checkout V5, select __checkout5-custom.js__.\n- If you use checkout V6, select __checkout6-custom.js__.\n\n<ui>\n6. In the field that will appear, delete the warning message and enter the following code:\n  </ui>\n\n```\nvar script = document.createElement(\"script\");\nscript.src = \"https://www.mercadopago.com/v2/security.js\";\nscript.setAttribute(\"output\",\"vtex.deviceFingerprint\");\nscript.setAttribute(\"view\",\"checkout\");\ndocument.body.appendChild(script);\nconsole.log(\"MP-deviceId 2020 \" + script.getAttribute(\"output\").value );\n```\n\n<ui>\n  Click on **Save** to apply the code to checkout.  \n  </ui>\n\nOnce you have completed the steps above, you will have Device Fingerprint installed in your store.\n\n## Checking Device Fingerprint operation\n\nTo 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:\n\n1. Go to the VTEX __Admin__.\n2. In the __Payments__ module, click on __Transactions__.\n3. Select the most recent transaction paid via Mercado Pago. \n4. Click on __+ Information__.\n5. Search for the __deviceFingerprint__ field and check if the code starts with the word armor, as illustrated below.\n\n![Device Fingerprint Armor](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/configuring-mercado-pagos-device-fingerprint_1.png)\n\n<ui>\n6. Then, send the transaction ID to the Mercado Pago support team. You can find this ID in the **authorizationConnectorResponse** field.\n  </ui>\n\n![Authorization](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/configuring-mercado-pagos-device-fingerprint_2.png)\n\n<ui>\n7. Copy the ID and [send an email](https://www.mercadopago.com.br/developers/en/support) with this information to Mercado Pago requesting them to validate the transaction. \n  </ui>\n\nOnce you have received Mercado Pago’s confirmation, Device Fingerprint will be ready to be used in your store."}