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:
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
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
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.
Fixed an error on the function to get the store logo
Updated payment method list
Removed 'Si Vale' deprecated Mexico payment method
Full compatibility with MercadoPago Sandbox Functions. (1.6.0 demo mode deprecated)
Created Demo Mode!, now you can easily create test orders to check VirtueMart behaviour.
Added option to select if send order emails after order confirmation or at MercadoPago response.
Added support for MercadoPago Mexico!
Brazilian Portuguese translation thanks to Andre (contato at clickright.com.br)
Return error and set order status cancelled if MP fails.