Installation via Composer - Module installation - Mercado Pago Developers
Which documentation 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:


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


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


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:


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:


chmod 777 -R var/ pub/ generated/

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