Menu

MercadoPago for VirtueMart

January 29th, 2013

Mercadopago Payment Plugin With IPN 2.0 And Checkout API For VirtueMart, now compatible with VirtueMart 2, Joomla 1.5/2.5 and MercadoPago Checkout API and MercadoPago IPN 2.0!.

This is a MercadoPago Checkout API and IPN 2.0 implementation for VirtueMart 2 and automatic currency exchange convertion at checkout time (needs currency exchange rate plugin installed, go here to view available plugins http://www.mgscreativa.com/contenidos/VirtueMart-Currency-Plugins/Ver-categoria.html)

Currently MercadoPago Checkout API and IPN 2.0 supported countries:
*Argentina
*Brasil
*Mexico
*Venezuela

Install Instructions:
1_ Make shure you have latest VirtueMart version, tested with VM 2.0.2 – Check latest version
2_ Install it using joomla installer
3_Publish plugin in joomla plugin manager
4_Create and configure payment method in VirtueMart (Components->VirtueMart->Payment Methods->New)
5_Set Payment Name as you like
6_Set Published to Yes
7_Set Payment Method to VMPayment – Mercadopago Payment Plugin With IPN 2.0 And Checkout API
8_Click Apply
9_Click Configuration tab
10_Set configuration as you like
11_Get Client ID and Client Secret from mercadopago (Option ‘Obtener mis credenciales’). Click Here

IPN Instructions
To be able to use the IPN functionality, you need to configure the notificacion URL in mercadopago, to do so, follow this simple steps:

*Check if your Joomla installation is in the web root of your domain or in a subfolder
*Check if you are using Joomla 1.5 or Joomla 2.5
*If you have Joomla 1.5 in root folder, your URL may be http://www.yoursite.com/plugins/vmpayment/mercadopago20_ipn_notification.php
*If you have Joomla 1.5 in sub folder, your URL may be http://www.yoursite.com/your_joomla_subfolder/plugins/vmpayment/mercadopago20_ipn_notification.php
*If you have Joomla 2.5 in root folder, your URL may be http://www.yoursite.com/plugins/vmpayment/mercadopago20/mercadopago20_ipn_notification.php
*If you have Joomla 2.5 in sub folder, your URL may be http://www.yoursite.com/your_joomla_subfolder/plugins/vmpayment/mercadopago20/mercadopago20_ipn_notification.php

After you have determined wich is your correct notificacion URL, Go to MercadoPago to configure your notificacion URL.

Release History
1.4.0:
Added support for MercadoPago Venezuela!

1.3.0:
Added support for MercadoPago Mexico!

1.2.6:
Brazilian Portuguese translation thanks to Andre (contato at clickright.com.br)

1.2.5:
Return error and set order status cancelled if MP fails.

1.2.4:
Added payment logo selection support on configuration

1.2.2:
Fixed some undefined strings
Fixed empty cart on IPN notification

1.2.1:
Fixed compatibility with VM 2.0.6

1.2:
First Release