mercadopago/magento2-plugin 1.4.2

Mercado Pago Magento 2 Plugin

Type

magento2-component

License

OSL-3.0, AFL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento (v2.0.x - v2.1) - Mercado Pago Module

Features:

Checkout options right for your business: We offer two checkout methods that make it easy to securely accept payments from anyone, anywhere.

Custom Checkout

Offer a checkout fully customized to your brand experience with our simple-to-use payments API.

  • Seamless integration— no coding required, unless you want to.
  • Full control of buying experience.
  • Store buyer’s card for fast checkout.
  • Accept tickets in addition to cards.
  • Accept Mercado Pago's discount coupons.
  • Improve conversion rate.

Available for Argentina, Brazil, Colombia, Mexico, Peru, Chile and Venezuela

Standard Checkout

Great for merchants who want to get going quickly and easily.

  • Easy website integration— no coding required.
  • Limited control of buying experience— display Checkout window as redirect, modal or iframe.
  • Store buyer’s card for fast checkout.
  • Accept tickets, bank transfer and account money in addition to cards.
  • Accept Mercado Pago's discount coupons.

Available for Argentina, Brazil, Chile, Colombia, Mexico, Peru, Uruguay and Venezuela

Shipment integration

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.

Available for Argentina, Brazil and Mexico only with Standard Checkout

Installments calculator

This feature adds a intallment calculator inside Magento Product Page and Cart. It can be enabled/disabled from plugin configuration.

Installation using composer:

  1. Add repository to your Magento installation composer.json file

    • "repositories": [ { "type": "vcs", "url": "https://github.com/mercadopago/cart-magento2" } ]
  2. Execute composer command to download plugin package

    • composer require mercadopago/magento2-plugin

Installation copying files:

  1. Copy the folder src/MercadoPago to the Magento root installation. Make sure to keep the Magento folders structure intact.

  2. Enable modules from console.

    • bin/magento module:enable MercadoPago_Core
    • bin/magento module:enable MercadoPago_MercadoEnvios

    Then update magento with new modules:

    • bin/magento setup:upgrade

Configuration

  1. Go to Stores > Configuration > Sales > Payment Methods. Select Mercado Pago - Global Configuration. Mercado Pago Global Configuration
  2. Set your Country to the same where your account was created on, and save config. Note: If you change the Country where your account was created you need save configuration in order to refresh the excluded payment methods.

  3. Other general configurations:

    • Category of your store: Sets up the category of the store.
    • Choose the status of approved orders: Sets up the order status when payments are approved.
    • Choose the status of refunded orders: Sets up the order status when payments are refunded.
    • Choose the status when payment is pending: Sets up the order status when payments are pending.
    • Choose the status when client open a mediation: Sets up the order status when client opens a mediation.
    • Choose the status when payment was reject: Sets up the order status when payments are rejected.
    • Choose the status when payment was canceled: Sets up the order status when payments are canceled.
    • Choose the status when payment was chargeback: Sets up the order status when payments are chargeback.
    • Logs: Enables/disables system logs.
    • Debug Mode: If enabled, displays the raw response from the API instead of a friendly message.

Custom Checkout Payment Solution:

  1. Go to Stores > Configuration > Sales > Payment Methods. Select Mercado Pago - Custom Checkout. Mercado Pago Custom Checkout Configuration
  2. Set your Public Key and Access Token. 
 In order to get them check the following links according to the country you are operating in:

If you want to enable credit card solution, check the configurations under Checkout Custom - Credit Card: Mercado Pago Custom Checkout Credit Card

 * Enabled: Enables/disables this payment solution. * Payment Title: Sets the payment title. * Statement Descriptor: Sets the label as the customer will see the charge for amount in his/her bill. * Binary Mode: When set to true, the payment can only be approved or rejected. Otherwise in_process status is added. * Banner Checkout: Sets the URL for the banner image in the payment method selection in the checkout process. * Checkout Position: The position of the payment solution in the checkout process. * Marketing - Coupon Mercado Pago: Enables/disables the coupon form.

If you want to enable ticket solution, check the configurations under Checkout Custom - Ticket:

Mercado Pago Custom Checkout Ticket

 * Enabled: Enables/disables this payment solution. * Payment Title: Sets the payment title. * Banner Checkout: Sets the URL for the banner image in the payment method selection in the checkout process. * Checkout Position: The position of the payment solution in the checkout process. * Marketing - Coupon Mercado Pago: Enables/disables the coupon form.

Standard Checkout Payment Solution:

  1. Go to Stores > Configuration > Sales > Payment Methods. Select Mercado Pago - Classic Checkout.

  2. Enable the solution and set your Client Id and Client Secret.
    Get them in the following address:

  3. Check the additional configurations:

    • Payment Title: Sets the payment title.
    • Banner Checkout: Sets the URL for the banner image in the payment method selection in the checkout process.
    • Checkout Position: The position of the payment solution in the checkout process.
    • Type Checkout: Sets the type of checkout, the options are:
      • Iframe: Opens a Magento URL with a iframe as the content.
      • Redirect: Redirects to Mercado Pago URL.
      • Lightbox: Similar to Iframe option but opens a lightbox instead of an iframe.

MercadoEnvios

In order to setup MercadoEnvios follow these instructions:
1. Setup MercadoPago Standard Checkout following
these instructions.
2. Go to Sales > Configuration > Sales > Shipping Methods > MercadoEnvios.
3. Setup the plugin:

MercadoEnvios Configuration

  • Enabled: Enables/disables this MercadoEnvios solution.
  • Title: Sets up the shipping method label displayed in the shipping section in checkout process.
  • Product attributes mapping: Maps the system attributes with the dimensions and weight. Also allows to set up the attribute unit.
  • Available shipping methods: Sets up the shipping options visible in the checkout process.
  • Free Method: Sets up the method to use as free shipping.
  • Free Shipping with Minimum Order Amount: Enables/disables the order minimum for free shipping to be available.
  • Show method if not applicable: If enabled, the shipping method is displayed when it's not available.
  • Displayed Error Message: Sets up the text to be displayed when the shipping method is not available.
  • Debug Mode: If enabled, displays the raw response from the API instead of a friendly message.
  • Sort order: Sets up the sort order to be displayed in the shipping step in checkout process.

Feedback

We want to know your opinion, please answer the following form.