Search

MercadoPago plugin configuration

MercadoPago is a payment gateway used in latin america, currently offering multiple different payment alternatives on the following countries

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

Download the plugin  Changelog

Configuration ↑ Back to Top

To configure the plugin once installed, you’ll need 2 things:

  1. Complete the requiered information by the plugin which you can obtain from your MercadoPago dashboard at https://www.mercadopago.com/mla/cartdata
  2. Add ARS (Argentine pesos) to the available currency at the WooCommerce settings by editing your theme’s functions.php and adding the following:
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;
}

MercadoPago configuration screen

Back to the top