MercadoPago for WooCommerce

MercadoPago is a payment gateway used in Latin America, offering multiple payment alternatives for the following countries:

  • Argentina (currently the only country compatible with the plugin)
  • Brasil
  • Chile
  • Colombia
  • México
  • Venezuela

Recommendation ↑ Back to top

*We recommend using Claudio’s MercadoPago free and updated plugin at WordPress.org: https://wordpress.org/plugins/woocommerce-mercadopago/

Installation ↑ Back to top

  1. Download the .zip file from your WooCommerce account.
  2. Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
  3. Install Now and Activate the extension.

More information at: Install and Activate Plugins/Extensions.

Setup and Configuration ↑ Back to top

To configure the plugin:

  1. Enter the required information in the gateways settings under the checkout tab, you can get those from your MercadoPago dashboard
  2. Add a custom currency for ARS (Argentinos Pesos) in WooCommerce. Add the below code to your theme’s functions.php or in its own plugin file.
  3. Set ARS (Argentine pesos) as the currency in WooCommerce general settings tab.

add_filter( 'woocommerce_currencies', 'add_ars_currency' );
function add_ars_currency( $currencies ) {
$currencies['ARS'] = __( 'Pesos Argentinos', 'woothemes' );
return $currencies;
}
add_filter( 'woocommerce_currency_symbol', 'add_ars_symbol', 1, 2);
function add_ars_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'ARS': $currency_symbol = '$'; break;
}
return $currency_symbol;
}

WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top