Ask for a feature

Magento 2 Marketplace Mercadopago Connect Payment

Magento 2 Marketplace Mercadopago Connect Payment extension allows you to provide Mercadopago online payment method for receiving payments within the marketplace. Mercadopago is the leading online payment solution in Latin America and now it’s integrated with our marketplace extension. This extension will be able to provide split payment for the sellers of the marketplace. The customers will be able to make use of their Credit Card and EMI(Easy Installments) option for making the online payments.

**Note: This extension is an add-on of the Webkul’s Marketplace. To make use of this add-on you must have first installed the Webkul’s marketplace.

**Mandatory: Due to the limitation in the Mercadopago API, split payment is only possible using the Split Cart Marketplace Add-on. So, if you want to have split payment among sellers during checkout then Split Cart Marketplace Add-on is a must.

Features

  • Provide split payment to sellers for your Marketplace store.
  • Credit Cards & EMI(Easy Installments) payment option for making the purchases.
  • Seller Authentication for receiving payments.
  • Enable/disable payment method from the admin panel.
  • The admin can set the payment method title visible at checkout.
  • The admin can configure his Mercadopago application from the module backend.
  • Seller has to allow his Mercadopago account for receiving payments within the marketplace.
  • The source code is 100% open for customization.
  • Supports multiple language translations.

Installation

Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below.
Installation-Magento2-Marketplace-Mercadopogo-Connect-extension

After the successful installation, you have to run these commands in the Magento2 root directory.

First command- php bin/magento setup:upgrade

Second Command – php bin/magento setup:di:compile

Third Command – php bin/magento setup:static-content:deploy

Lastly, run the below command for getting the Mercadopago.

composer require mercadopago/sdk:0.5.2 

last-command-mercadopago

After running the commands, you have to flush the cache from Magento admin panel by navigating through->System->Cache management as shown below.

Installation-Magento2-Marketplace-Mercadopogo-Connect-extension

Configuration For Multi-Lingual Support

For the multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options and select the locale as German (the language into which admin want to translate his store content).
Multi-Lingual-Support

Language Translation

If you need to do the module translation, please navigate the following path in your system. app/code/Webkul/MpMercadopago/i18n. Open the file named en_US.CSV for editing as shown in below screenshot.

language-Translation-Magento2-Canada-Post-Shipping

Once you have opened the file for editing. Replace the words after the comma(,) on the right with your translated words.

language-Translation-Magento2-Canada-Post-Shipping

After editing the CSV file, save it and then upload it to the same folder. Now your module translation is complete.

language-Translation-Magento2-Canada-Post-Shipping

How to Create Your Application

Step 1:

Go to this link – MercadoPago Connect to create your first application and then click the “Create your application” link.
**Note: The admin should have an account at Mercadopago.

Click-Create-Application-Mercadopago
Step2:

Now, select the country in which you are going to manage your application.
Select-Country

Step3:

After selecting the country, tap the enter button.
Tap-Enter

Step4:

Now, enter your email address/username for your Mercadopago account and click continue after that. If you don’t have an account with the MercadoPago you can click here to create one.
Enter-Credentials

After clicking the Continue button, you have to enter the password for the entered email address/username and then click the – Sign In button.
Enter-Password

Step5:

After login, you will now be able to create your application by clicking on the “Create New Application“.
My-Applications

Step6:

Clicking the “Create New Application” brings up a new page to create the application. Here, enter all the required information for creating the application and click “Create Application” to create one for you.

** Note: The re-direct URL should be – your website URL/mercadopago/seller/auth/
New-Application

After you have created an application you can find it under the “My Applications“.

My-Apps

**Note: To get the App Id and the Secret Key click on the “Details” button visible in front of your created application as shown in the image above.
App-Data-Mercadopago

** Note:

  1. To get the Public Key and the Access token click here.
  2. Re-direct URL should be like – your website URL/mercadopago/seller/auth/

If you are using the application in the Sandbox(testing) mode use the SandboxPublic key and the Access token. Else if it’s in the production mode use Production modePublic key and access token.
Credentials

Admin Configuration

After the successful installation of the extension, the admin will navigate to Stores->Configuration-> Sales->Payment Methods->Other Payment Methods>Marketplace Mercadopago Connect payment Method to configure the extension.
Admin-Configuration-Mercadopago

To configure the extension, the admin will  –

  • Enable the payment method by selecting it as “Yes” else select “No” to disable the extension.
  • Choose your country in which you are going to manage your application.
  • Enter the Admin’s Email address that will be used to validate the transactions and to receive the transaction communications.
  • Choose the mode as – Sandbox by selecting “Yes” or Production by selecting No“.
  • Set the Title for the payment method which is visible to the customers at the checkout time.
  • Enter the App Id/Client Id and the Secret Key/Client Key.
  • Enter the Public key and the Access Token.
  • Set the Seller Permission button label text.
  • Set the Minimum and Maximum order total for the payment method.

Seller – Configuration

After login, the Vendors will have a new menu option under their marketplace block with the name Mercadopago Configuration. Now, when a vendor has logged in to his account panel and is on the “Mercadopago Configuration” page, the vendor will see a button to authorize. This will allow the seller to start receiving the payments as shown below.

Heading name goes here

After clicking the “Allow For Mercadopago Payment” button, you will see a screen for the login to Mercadopago. If you have an account at Mercadopago, then just enter the Email or the username to continue else tap the “Create account” link to create one and then proceed further. Login-Section-Mercadopago

After login, you need to tap the “Allow” button to start receiving the payments.

Login Authentication Mercadopago

After authorization, the vendor will see a success message for the same and can now start receiving the payments easily.

Heading name goes here

Also, whenever the authentication token gets expired the vendors will see a message for the same under Mercadopago configuration. The vendor then again needs to authenticate by clicking the button “Allow For Mercadopago Payment” to start receiving the payments again.Heading name goes here

Workflow – Buyer’s End

**Note: While using our Demo you can make use of the Test Cards specified by Mercadopago that can be used for making the purchases.

After adding products from multiple sellers into the cart and going to the checkout, the buyer can see the Mercadopago payment method under the payment methods. Selecting the Marketplace Mercadopago Connect Payment(payment method name set in the admin backend) you will have 2 options to make the payment via –

  1. Credit CardCheckout-Page
    The customer can see the details of the order having the selected payment method. Clicking the invoice tab will show the invoice of this order and the customer can print the invoice for the order.Customer-Order-Details
  2. EMI(Easy Installments) –
    Here, the customers can select to pay using EMI(Easy Installments) option. The customers will select the installments from the drop-down.
    Creditcard-Installments
    The customer can see the details of the order having the selected payment method. Clicking the invoice tab will show the invoice of this order and the customer can print the invoice for the order.
    Order-details-Installments

Admin Management

The admin can find all the seller’s Mercadopago account details by navigating to Marketplace Management->Mercadopago Detail.
Mercadopago-Admin-Management

Under the Mercadopago Detail section, the admin will be able to see all the seller account details like –  Seller email Id, Mercadopago User Id, Token type, Scope, Create at, and Expired on. The admin can also delete the Mercadopago seller account details by selecting account details that are to be deleted and then selecting the delete option from the action drop-down.

Mecadopago-Details

That’s all for this Magento 2 Marketplace MercadoPago Connect extension. If you have any query or suggestion regarding the extension please get back to us at webkul.uvdesk.com

Current Product Version - 2.0.0

Supported Framework Version - 2.0.x, 2.1.x

. . .

Ask a Feature

Index