Magento 2
Requirements to integrate
Requirement | Description |
---|---|
Magento Version | 2.x |
Environment | LAMP (Linux, Apache, MySQL, and PHP) LNMP stack |
Operational System | Linux x86-64 |
Memory requirement | Minimum 2GB of RAM |
Web Server | Apache 2.x Nginx 1.7.x |
PHP Versions | 5.6.x 7.0.2 7.0.6–7.0.x |
MySQL Version | MySQL 5.6 MariaDB and Percona are compatible with Magento because we support MySQL 5.6 APIs. |
Extension Dependencies | bc-math (Magento Commerce only) curl gd, ImageMagick 6.3.7 (or later) or both intl bstring mcrypt hash openssl PDO/MySQL SimpleXML soap xml xsl zip |
PHP 7 only | json iconv |
SSL | It is a requirement that you have an SSL certificate. During testing in Sandbox you will be able to run at http. |
Features
The module of Mercado Pago to Magento is integrated with the features and payment solutions:
Custom Checkout
Other features
- Customizable success page
Installation
This process will explain the installation of the Mercado Pago module via Composer:
Installation via Composer
- Execute the command to get the plugin with Composer:
- Then update magento with new modules:
- Execute the command to clean the Magento cache:
- When the store is in productive mode, it is necessary to generate the static files again:
- If you have problems with folder permission when accessing the store, you must renew the permissions:
- Very Good! The module of Mercado Pago was successfully installed.
Credit Card and Ticket Configuration (Custom Checkout)
This process will explain how to configure the module to accept payments with Checkout Custom with Credit Card and Tickets:
Go to Stores > Configuration > Sales > Payment Methods.
To set up the credentials go to Mercado Pago > Credentials, you will see the field Public Key and Access Token. Get your credentials in the Credentials section.
- With your credentials filled, you need to enable payment methods. Go to Custom Checkout - Credit And Debit Card, click in Configure and check Enable as Yes. Make this process for Custom Checkout - Offline Payments Methods (Ticket) too and then click on Save Config.
- Very good! The Checkout Custom with Credit Card and Ticket has been configured and enabled successfully!
Basic Checkout Configuration
This process will explain how to configure the module to accept payments with Basic Checkout in Redirect, Iframe or Lightbox:
Go to Stores > Configuration > Sales > Payment Methods.
To set up the credentials go to Mercado Pago - Classic Checkout, click in Configure. you will see the field Client id and Client Secret. Get your credentials in the Credentials section.
With your credentials filled, you need to enable payment methods. Click in Configure and check Enable as Yes. Configure the Type Checkout and if the user must return to your store at the end of the checkout (Auto Redirect).
- Very good! The Basic Checkout with Credit Card and Ticket has been configured and enable successfully!
Payment Notification status settings
This process will explain how to set up order statuses for payment notifications:
Go to Stores > Configuration > Sales > Payment Methods.
To configure the statuses go to Mercado Pago - Global Configuration, go to the option Order Status Options.
For each payment status you can choose an order status, as soon as your store receives the payment notification the module will automatically update the order to the chosen status. To save the settings click the Save Config button.
- Very Good! The notification statuses have been successfully configured.