WooCommerce MercadoPago - Version 3.0.2

Version Description

Download this release

Release Info

Developer mercadopago
Plugin Icon 128x128 WooCommerce MercadoPago
Version 3.0.2
Comparing to
See all releases

Code changes from version 3.0.1 to 3.0.2

i18n/languages/woocommerce-mercadopago-es_ES.po CHANGED
@@ -910,18 +910,6 @@ msgstr "Su pago no tiene fondos suficientes."
910
msgid "Your payment does not process payments with selected installments."
911
msgstr "El pago no puede procesar la cuota seleccionada."
912
913
- msgid "Fisical Person"
914
- msgstr "Persona Física"
915
-
916
- msgid "Legal Person"
917
- msgstr "Persona Jurídica"
918
-
919
- msgid "SOCIAL NAME"
920
- msgstr "RAZÓN SOCIAL"
921
-
922
- msgid "CNPJ"
923
- msgstr "CNPJ"
924
-
925
msgid "You have reached the limit of allowed attempts. Choose another card or another payment method."
926
msgstr "Has alcanzado el límite de intentos permitidos. Elija otra tarjeta u otro medio de pago."
927
@@ -1008,3 +996,15 @@ msgstr "Obligatorio informar su ESTADO"
1008
1009
msgid "You must inform your ZIP"
1010
msgstr "Obligatorio informar su CÓDIGO POSTAL"
910
msgid "Your payment does not process payments with selected installments."
911
msgstr "El pago no puede procesar la cuota seleccionada."
912
913
msgid "You have reached the limit of allowed attempts. Choose another card or another payment method."
914
msgstr "Has alcanzado el límite de intentos permitidos. Elija otra tarjeta u otro medio de pago."
915
996
997
msgid "You must inform your ZIP"
998
msgstr "Obligatorio informar su CÓDIGO POSTAL"
999
+
1000
+ msgid "Fisical Person"
1001
+ msgstr "Persona Física"
1002
+
1003
+ msgid "Legal Person"
1004
+ msgstr "Persona Jurídica"
1005
+
1006
+ msgid "SOCIAL NAME"
1007
+ msgstr "RAZÓN SOCIAL"
1008
+
1009
+ msgid "CNPJ"
1010
+ msgstr "CNPJ"
i18n/languages/woocommerce-mercadopago-es_MX.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_MX.po CHANGED
@@ -1008,6 +1008,3 @@ msgstr "RAZÓN SOCIAL"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
1011
-
1012
- msgid "Custom Domain for IPN"
1013
- msgstr "Dominio personalizado para IPN"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
i18n/languages/woocommerce-mercadopago-es_PE.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_PE.po CHANGED
@@ -1008,6 +1008,3 @@ msgstr "RAZÓN SOCIAL"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
1011
-
1012
- msgid "Custom Domain for IPN"
1013
- msgstr "Dominio personalizado para IPN"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
i18n/languages/woocommerce-mercadopago-es_UY.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_UY.po CHANGED
@@ -1008,6 +1008,3 @@ msgstr "RAZÓN SOCIAL"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
1011
-
1012
- msgid "Custom Domain for IPN"
1013
- msgstr "Dominio personalizado para IPN"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
i18n/languages/woocommerce-mercadopago-es_VE.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-es_VE.po CHANGED
@@ -1008,6 +1008,3 @@ msgstr "RAZÓN SOCIAL"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
1011
-
1012
- msgid "Custom Domain for IPN"
1013
- msgstr "Dominio personalizado para IPN"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
i18n/languages/woocommerce-mercadopago-pt_BR.mo CHANGED
Binary file
i18n/languages/woocommerce-mercadopago-pt_BR.po CHANGED
@@ -1008,6 +1008,3 @@ msgstr "RAZÃO SOCIAL"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
1011
-
1012
- msgid "Custom Domain for IPN"
1013
- msgstr "Domínio Customizado para IPN"
1008
1009
msgid "CNPJ"
1010
msgstr "CNPJ"
includes/WC_WooMercadoPago_CustomGateway.php CHANGED
@@ -32,10 +32,10 @@ class WC_WooMercadoPago_CustomGateway extends WC_Payment_Gateway {
32
// WooCommerce fields.
33
$this->id = 'woo-mercado-pago-custom';
34
$this->supports = array( 'products', 'refunds' );
35
- /*$this->icon = apply_filters(
36
'woocommerce_mercadopago_icon',
37
- plugins_url( 'assets/images/credit_card.png', plugin_dir_path( __FILE__ ) )
38
- );*/
39
40
$this->method_title = __( 'Mercado Pago - Custom Checkout', 'woocommerce-mercadopago' );
41
$this->method_description = '<img width="200" height="52" src="' .
32
// WooCommerce fields.
33
$this->id = 'woo-mercado-pago-custom';
34
$this->supports = array( 'products', 'refunds' );
35
+ $this->icon = apply_filters(
36
'woocommerce_mercadopago_icon',
37
+ plugins_url( 'assets/images/mercadopago.png', plugin_dir_path( __FILE__ ) )
38
+ );
39
40
$this->method_title = __( 'Mercado Pago - Custom Checkout', 'woocommerce-mercadopago' );
41
$this->method_description = '<img width="200" height="52" src="' .
includes/WC_WooMercadoPago_TicketGateway.php CHANGED
@@ -32,10 +32,10 @@ class WC_WooMercadoPago_TicketGateway extends WC_Payment_Gateway {
32
// WooCommerce fields.
33
$this->id = 'woo-mercado-pago-ticket';
34
$this->supports = array( 'products', 'refunds' );
35
- /*$this->icon = apply_filters(
36
'woocommerce_mercadopago_icon',
37
- plugins_url( 'assets/images/bar_code.png', plugin_dir_path( __FILE__ ) )
38
- );*/
39
40
$this->method_title = __( 'Mercado Pago - Ticket', 'woocommerce-mercadopago' );
41
$this->method_description = '<img width="200" height="52" src="' .
@@ -860,6 +860,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_Payment_Gateway {
860
$preferences['payer']['address']['neighborhood'] = $ticket_checkout['city'];
861
$preferences['payer']['address']['city'] = $ticket_checkout['city'];
862
$preferences['payer']['address']['federal_unit'] = $ticket_checkout['state'];
863
}
864
865
// Do not set IPN url if it is a localhost.
32
// WooCommerce fields.
33
$this->id = 'woo-mercado-pago-ticket';
34
$this->supports = array( 'products', 'refunds' );
35
+ $this->icon = apply_filters(
36
'woocommerce_mercadopago_icon',
37
+ plugins_url( 'assets/images/mercadopago.png', plugin_dir_path( __FILE__ ) )
38
+ );
39
40
$this->method_title = __( 'Mercado Pago - Ticket', 'woocommerce-mercadopago' );
41
$this->method_description = '<img width="200" height="52" src="' .
860
$preferences['payer']['address']['neighborhood'] = $ticket_checkout['city'];
861
$preferences['payer']['address']['city'] = $ticket_checkout['city'];
862
$preferences['payer']['address']['federal_unit'] = $ticket_checkout['state'];
863
+ $preferences['payer']['address']['zip_code'] = $ticket_checkout['zipcode'];
864
}
865
866
// Do not set IPN url if it is a localhost.
includes/sdk/lib/mercadopago.php CHANGED
@@ -12,7 +12,7 @@ $GLOBALS['LIB_LOCATION'] = dirname( __FILE__ );
12
13
class MP {
14
15
- private $version = '3.0.1';
16
private $client_id;
17
private $client_secret;
18
private $ll_access_token;
12
13
class MP {
14
15
+ private $version = '3.0.2';
16
private $client_id;
17
private $client_secret;
18
private $ll_access_token;
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: ecommerce, mercadopago, woocommerce
5
Requires at least: 4.8
6
Tested up to: 4.8
7
Requires PHP: 5.6
8
- Stable tag: 3.0.1
9
License: GPLv2 or later
10
License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
@@ -45,7 +45,7 @@ You have two ways to install this module: from your WordPress Store, or by downl
45
3. You should find the module read to be installed. Click install.
46
47
= Manual Download =
48
- 1. Get the module sources from a repository (<a href="https://github.com/mercadopago/cart-woocommerce/archive/master.zip">Github</a> or <a href="https://downloads.wordpress.org/plugin/woocommerce-mercadopago.3.0.1.zip">WordPress Plugin Directory</a>);
49
2. Unzip the folder and find "woocommerce-mercadopago" directory;
50
3. Copy "woocommerce-mercadopago" directory to **[WordPressRootDirectory]/wp-content/plugins/** directory.
51
@@ -101,6 +101,10 @@ Please, check our FAQ at: https://www.mercadopago.com.br/ajuda/
101
102
== Changelog ==
103
104
= v3.0.1 (04/10/2017) =
105
* Bug fixes
106
- We fixed a Javascript problem that are occurring when payments were retried in custom checkout and tickets;
5
Requires at least: 4.8
6
Tested up to: 4.8
7
Requires PHP: 5.6
8
+ Stable tag: 3.0.2
9
License: GPLv2 or later
10
License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
45
3. You should find the module read to be installed. Click install.
46
47
= Manual Download =
48
+ 1. Get the module sources from a repository (<a href="https://github.com/mercadopago/cart-woocommerce/archive/master.zip">Github</a> or <a href="https://downloads.wordpress.org/plugin/woocommerce-mercadopago.3.0.2.zip">WordPress Plugin Directory</a>);
49
2. Unzip the folder and find "woocommerce-mercadopago" directory;
50
3. Copy "woocommerce-mercadopago" directory to **[WordPressRootDirectory]/wp-content/plugins/** directory.
51
101
102
== Changelog ==
103
104
+ = v3.0.2 (19/10/2017) =
105
+ * Bug fixes
106
+ - Fixed the absence of [zip_code] field in registered tickets for Brazil.
107
+
108
= v3.0.1 (04/10/2017) =
109
* Bug fixes
110
- We fixed a Javascript problem that are occurring when payments were retried in custom checkout and tickets;
woocommerce-mercadopago.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: WooCommerce MercadoPago
4
* Plugin URI: https://github.com/mercadopago/cart-woocommerce
5
* Description: This is the <strong>oficial</strong> module of Mercado Pago for WooCommerce plugin. This module enables WooCommerce to use Mercado Pago as a payment Gateway for purchases made in your e-commerce store.
6
- * Version: 3.0.1
7
* Author: Mercado Pago
8
* Author URI: https://www.mercadopago.com.br/developers/
9
* Text Domain: woocommerce-mercadopago
@@ -87,7 +87,7 @@ if ( ! class_exists( 'WC_Woo_Mercado_Pago_Module' ) ) :
87
// ============================================================
88
89
// General constants.
90
- const VERSION = '3.0.1';
91
const MIN_PHP = 5.6;
92
93
// Arrays to hold configurations for LatAm environment.
3
* Plugin Name: WooCommerce MercadoPago
4
* Plugin URI: https://github.com/mercadopago/cart-woocommerce
5
* Description: This is the <strong>oficial</strong> module of Mercado Pago for WooCommerce plugin. This module enables WooCommerce to use Mercado Pago as a payment Gateway for purchases made in your e-commerce store.
6
+ * Version: 3.0.2
7
* Author: Mercado Pago
8
* Author URI: https://www.mercadopago.com.br/developers/
9
* Text Domain: woocommerce-mercadopago
87
// ============================================================
88
89
// General constants.
90
+ const VERSION = '3.0.2';
91
const MIN_PHP = 5.6;
92
93
// Arrays to hold configurations for LatAm environment.