|
| 1 | +# Magento - Mercado Pago Module (v1.0.5) |
| 2 | + |
| 3 | +* [Features](#features) |
| 4 | +* [Installation](#installation) |
| 5 | +* [Configuration](#configuration) |
| 6 | +* [MercadoEnvios](#mercadoenvios) |
| 7 | + |
| 8 | +<a name="features"></a> |
| 9 | +## Features: |
| 10 | + |
| 11 | +**Credit Card Customized Checkout** |
| 12 | + |
| 13 | +This feature will allow merchants to have a customized checkout for credit card |
| 14 | +payment. Thus, it will be possible to customize its look and feel, customers won’t be |
| 15 | +redirected away to complete the payment, and it will also reduce the checkout steps |
| 16 | +improving conversion rates. |
| 17 | + |
| 18 | +*Available for Argentina, Brazil, Colombia, Mexico and Venezuela* |
| 19 | + |
| 20 | +**Customized Bar Code Payment** |
| 21 | + |
| 22 | +This feature allows merchants to have a customized bar code payment. It |
| 23 | +reduces the checkout steps improving conversion rates. The bar code payment will |
| 24 | +have merchant's logo. |
| 25 | + |
| 26 | +*Available for Argentina, Brazil, Colombia, Mexico and Venezuela* |
| 27 | + |
| 28 | +**Standard Checkout** |
| 29 | + |
| 30 | +This feature allows merchants to have a standard checkout. It includes all |
| 31 | +payment methods (i.e. all credit cards, bar code payment, account money) and all |
| 32 | +window types (i.e. redirect, iframe, modal, blank and popup). Customization is not allowed. |
| 33 | + |
| 34 | +*Available for Argentina, Brazil, Chile, Colombia, Mexico and Venezuela* |
| 35 | + |
| 36 | +**OneClick Pay** |
| 37 | +This feature allows to store credit card information for the customer, so that the next time there is no need to enter all the card details. Customers will just need to re-enter the security code of the credit card they want to use. |
| 38 | + |
| 39 | +**Shipment integration** |
| 40 | + |
| 41 | +This feature allows to setup and integrate with MercadoEnvios shipment method as another shipment option for customers. It includes the possibility to print the shipping label directly from the Magento Admin Panel. Free shipping is also available. |
| 42 | + |
| 43 | +*Available for Argentina, Brazil and Mexico only with Standard Checkout* |
| 44 | + |
| 45 | +--- |
| 46 | + |
| 47 | +<a name="installation"></a> |
| 48 | +## Installation: |
| 49 | + |
| 50 | +1. Copy the folder **app/code/MercadoPago** to the Magento root installation. Make sure to keep the Magento folders structure intact. |
| 51 | + |
| 52 | +2. Enable modules from console. |
| 53 | + |
| 54 | + - bin/magento module:enable MercadoPago_Core |
| 55 | + - bin/magento module:enable MercadoPago_MercadoEnvios |
| 56 | + |
| 57 | + Then update magento with new modules: |
| 58 | + |
| 59 | + - bin/magento setup:upgrade |
| 60 | + |
| 61 | +--- |
| 62 | +<a name="configuration"></a> |
| 63 | +## Configuration |
| 64 | + |
| 65 | +1. Go to **Stores > Configuration > Sales > Payment Methods**. Select **Mercado Pago - Global Configuration**. |
| 66 | +<br />
|
| 67 | +2. Set your Country to the same where your account was created on, and save config. |
| 68 | + **Note: If you change the Country where your account was created you need save configuration in order to refresh the excluded payment methods.** |
| 69 | + |
| 70 | +3. Other general configurations:<br /> |
| 71 | + * **Category of your store**: Sets up the category of the store. |
| 72 | + * **Choose the status of approved orders**: Sets up the order status when payments are approved. |
| 73 | + * **Choose the status of refunded orders**: Sets up the order status when payments are refunded. |
| 74 | + * **Choose the status when payment is pending**: Sets up the order status when payments are pending. |
| 75 | + * **Choose the status when client open a mediation**: Sets up the order status when client opens a mediation. |
| 76 | + * **Choose the status when payment was reject**: Sets up the order status when payments are rejected. |
| 77 | + * **Choose the status when payment was canceled**: Sets up the order status when payments are canceled. |
| 78 | + * **Choose the status when payment was chargeback**: Sets up the order status when payments are chargeback. |
| 79 | + * **Logs**: Enables/disables system logs. |
| 80 | + * **Debug Mode**: If enabled, displays the raw response from the API instead of a friendly message. |
| 81 | + |
| 82 | +<a name="checkout_custom"></a> |
| 83 | +###Custom Checkout Payment Solution:### |
| 84 | + |
| 85 | +1. Go to **Stores > Configuration > Sales > Payment Methods**. Select **Mercado Pago - Custom Checkout**. |
| 86 | +<br />
|
| 87 | +2. Set your **Public Key** and **Access Token**. |
| 88 | +
In order to get them check the following links according to the country you are operating in: |
| 89 | + |
| 90 | + * Argentina: [https://www.mercadopago.com/mla/account/credentials](https://www.mercadopago.com/mla/account/credentials) |
| 91 | + * Brazil: [https://www.mercadopago.com/mlb/account/credentials](https://www.mercadopago.com/mlb/account/credentials) |
| 92 | + * Chile: [https://www.mercadopago.com/mlc/herramientas/aplicaciones](https://www.mercadopago.com/mlc/herramientas/aplicaciones) |
| 93 | + * Colombia: [https://www.mercadopago.com/mco/account/credentials](https://www.mercadopago.com/mco/account/credentials) |
| 94 | + * Mexico: [https://www.mercadopago.com/mlm/account/credentials](https://www.mercadopago.com/mlm/account/credentials) |
| 95 | + * Venezuela: [https://www.mercadopago.com/mlv/account/credentials](https://www.mercadopago.com/mlv/account/credentials) |
| 96 | + * Peru: [https://www.mercadopago.com/mpe/account/credentials](https://www.mercadopago.com/mpe/account/credentials) |
| 97 | + |
| 98 | + |
| 99 | +If you want to enable credit card solution, check the configurations under **Checkout Custom - Credit Card**: |
| 100 | +<br />
|
| 101 | +* **Enabled**: Enables/disables this payment solution. |
| 102 | +* **Payment Title**: Sets the payment title. |
| 103 | +* **Statement Descriptor**: Sets the label as the customer will see the charge for amount in his/her bill. |
| 104 | +* **Binary Mode**: When set to true, the payment can only be approved or rejected. Otherwise in_process status is added. |
| 105 | +* **Banner Checkout**: Sets the URL for the banner image in the payment method selection in the checkout process. |
| 106 | +* **Checkout Position**: The position of the payment solution in the checkout process. |
| 107 | +* **Marketing - Coupon Mercado Pago**: Enables/disables the coupon form. |
| 108 | + |
| 109 | +If you want to enable ticket solution, check the configurations under **Checkout Custom - Ticket**: |
| 110 | + |
| 111 | +<br />
|
| 112 | +* **Enabled**: Enables/disables this payment solution. |
| 113 | +* **Payment Title**: Sets the payment title. |
| 114 | +* **Banner Checkout**: Sets the URL for the banner image in the payment method selection in the checkout process. |
| 115 | +* **Checkout Position**: The position of the payment solution in the checkout process. |
| 116 | +* **Marketing - Coupon Mercado Pago**: Enables/disables the coupon form. |
| 117 | + |
| 118 | +<a name="checkout_standard"></a> |
| 119 | +###Standard Checkout Payment Solution:### |
| 120 | + |
| 121 | +1. Go to **Stores > Configuration > Sales > Payment Methods**. Select **Mercado Pago - Classic Checkout**. |
| 122 | + |
| 123 | +2. Enable the solution and set your **Client Id** and **Client Secret**. <br /> |
| 124 | +Get them in the following address: |
| 125 | + * Argentina: [https://www.mercadopago.com/mla/herramientas/aplicaciones](https://www.mercadopago.com/mla/herramientas/aplicaciones) |
| 126 | + * Brazil: [https://www.mercadopago.com/mlb/ferramentas/aplicacoes](https://www.mercadopago.com/mlb/ferramentas/aplicacoes) |
| 127 | + * Chile: [https://www.mercadopago.com/mlc/herramientas/aplicaciones](https://www.mercadopago.com/mlc/herramientas/aplicaciones) |
| 128 | + * Colombia: [https://www.mercadopago.com/mco/herramientas/aplicaciones](https://www.mercadopago.com/mco/herramientas/aplicaciones) |
| 129 | + * Mexico: [https://www.mercadopago.com/mlm/herramientas/aplicaciones](https://www.mercadopago.com/mlm/herramientas/aplicaciones) |
| 130 | + * Venezuela: [https://www.mercadopago.com/mlv/herramientas/aplicaciones](https://www.mercadopago.com/mlv/herramientas/aplicaciones) |
| 131 | + * Peru: [https://www.mercadopago.com/mpe/herramientas/aplicaciones](https://www.mercadopago.com/mpe/herramientas/aplicaciones) |
| 132 | + |
| 133 | +3. Check the additional configurations: |
| 134 | + * **Payment Title**: Sets the payment title. |
| 135 | + * **Banner Checkout**: Sets the URL for the banner image in the payment method selection in the checkout process. |
| 136 | + * **Checkout Position**: The position of the payment solution in the checkout process. |
| 137 | + * **Type Checkout**: Sets the type of checkout, the options are: |
| 138 | + * *Iframe*: Opens a Magento URL with a iframe as the content. |
| 139 | + * *Redirect*: Redirects to Mercado Pago URL. |
| 140 | + * *Lightbox*: Similar to Iframe option but opens a lightbox instead of an iframe. |
| 141 | + |
| 142 | +--- |
| 143 | + |
| 144 | +<a name="mercadoenvios"> |
| 145 | +## MercadoEnvios ## |
| 146 | +In order to setup MercadoEnvios follow these instructions:<br /> |
| 147 | +1. Setup MercadoPago Standard Checkout following [these instructions](#checkout_standard). <br /> |
| 148 | +2. Go to **Sales > Configuration > Sales > Shipping Methods > MercadoEnvios**.<br /> |
| 149 | +3. Setup the plugin:<br /> |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | +* **Enabled**: Enables/disables this MercadoEnvios solution. |
| 154 | +* **Title**: Sets up the shipping method label displayed in the shipping section in checkout process. |
| 155 | +* **Product attributes mapping**: Maps the system attributes with the dimensions and weight. Also allows to set up the attribute unit. |
| 156 | +* **Available shipping methods**: Sets up the shipping options visible in the checkout process. |
| 157 | +* **Free Method**: Sets up the method to use as free shipping. |
| 158 | +* **Free Shipping with Minimum Order Amount**: Enables/disables the order minimum for free shipping to be available. |
| 159 | +* **Show method if not applicable**: If enabled, the shipping method is displayed when it's not available. |
| 160 | +* **Displayed Error Message**: Sets up the text to be displayed when the shipping method is not available. |
| 161 | +* **Debug Mode**: If enabled, displays the raw response from the API instead of a friendly message. |
| 162 | +* **Sort order**: Sets up the sort order to be displayed in the shipping step in checkout process. |
0 commit comments