---
title: Installing BlueCheck On Magento
slug: installing-bluecheck-on-magento
description: The installations instructions for installing BlueCheck's age verification app onto your Magento store.
docTags: 
createdAt: 2023-06-30T17:52:04.498Z
---

# Magento 1.x

## Installing The Script

1. Access your Magento store via FTP, SFTP, or SSH.
2. Modify the app/design/frontend/default/default/template/checkout/onepage.phtml by adding the following script at the bottom of the template file.
3. **Make sure** to replace "YOUR\_DOMAIN\_TOKEN\_HERE" with your domain token which can be found on the [Installation](https://merchant.bluecheck.me/installation) page of the Merchant Portal. Save the edited file.



```javascript
<noscript><meta http-equiv="refresh" content="0;url=https://verify.bluecheck.me/noscript"></noscript>
<script src="https://verify.bluecheck.me/platforms/magento/js/AgeVerification.js?domain_token=YOUR_DOMAIN_TOKEN_HERE"></script>
```

## Secondary Check

1. Access your Magento store via FTP, SFTP, or SSH.
2. Download the [secondary check plugin](https://verify.bluecheck.me/platforms/magento/plugin/BlueCheck.zip) and transfer the zip file to the Magento server. Then, extract the file contents to the app/code/BlueCheck/AgeValidator/ folder. Run the module installation command.
3. In the admin portal for the Magento store, go to **Stores** -> **Configuration** and click on **BlueCheck Configuration**. There you can enable the plugin and add your domain token.

You can now test out the [Secondary Check](https://docs.bluecheck.me/the-secondary-check). If you return to your Magento order dashboard you should see a new column **BlueCheck Verification.&#x20;**&#x59;our orders will be tagged as Verified or Not Verified depending on the verification status.&#x20;

# Magento 2.x

## Installing The Script

1. Access your Magento store via FTP, SFTP, or SSH.
2. Modify the vendor/magento/module-checkout/view/frontend/templates/onepage.phtml by adding the following script at the bottom of the template file.
3. **Make sure** to replace "YOUR\_DOMAIN\_TOKEN\_HERE" with your domain token which can be found on the [Installation](https://merchant.bluecheck.me/installation) page of the Merchant Portal. Save the edited file.



```javascript
<noscript><meta http-equiv="refresh" content="0;url=https://verify.bluecheck.me/noscript"></noscript>
<script src="https://verify.bluecheck.me/platforms/magento2/js/AgeVerification.js?domain_token=YOUR_DOMAIN_TOKEN_HERE"></script>
```

## Secondary Check

1. Access your Magento store via FTP, SFTP, or SSH.
2. Download the [secondary check plugin](https://verify.bluecheck.me/platforms/magento/plugin/BlueCheck.zip) and transfer the zip file to the Magento server. Then, extract the file contents to the app/code/BlueCheck/AgeValidator/ folder. Run the module installation command.
3. In the admin portal for the Magento store, go to **Stores** -> **Configuration** and click on **BlueCheck Configuration**. There you can enable the plugin and add your domain token.

You can now test out the [Secondary Check](https://docs.bluecheck.me/the-secondary-check). If you return to your Magento order dashboard you should see a new column **BlueCheck Verification.&#x20;**&#x59;our orders will be tagged as Verified or Not Verified depending on the verification status.&#x20;

