Installation via Composer - Module installation - Mercado Pago Developers
What are you looking for?

Do not know how to start integrating? 

Check the first steps

Installation via Composer

To install the Mercado Pago module in Magento 2 via Composer, you must follow these steps:

  1. In your terminal, run this command to download the Magento 2 module with Composer:

plain

composer require mercadopago/magento2-plugin:3.*
  1. Then run this command to update the list of Magento modules:

plain

bin/magento setup:upgrade
  1. Now you must run this command to clear the Magento cache:

plain

bin/magento cache:clean
  1. When the store is in productive mode, it will be necessary to generate the static files again. You can do it this way:

plain

bin/magento setup:static-content:deploy

In case you experience folder permission issues when accessing the store, you will need to renew the permissions like this:

plain

chmod 777 -R var/ pub/ generated/

And you’re done! You have already successfully installed the Mercado Pago module for Magento 2.