Version Description
Download this release
Release Info
Developer | mercadopago |
Plugin | WooCommerce MercadoPago |
Version | 5.4.1 |
Comparing to | |
See all releases |
Code changes from version 5.4.0 to 5.4.1
- i18n/languages/woocommerce-mercadopago-es_AR.po +1 -1
- i18n/languages/woocommerce-mercadopago-es_CL.po +1 -1
- i18n/languages/woocommerce-mercadopago-es_CO.po +1 -1
- i18n/languages/woocommerce-mercadopago-es_ES.po +1 -1
- i18n/languages/woocommerce-mercadopago-es_MX.po +1 -1
- i18n/languages/woocommerce-mercadopago-es_PE.po +1 -1
- i18n/languages/woocommerce-mercadopago-es_UY.po +1 -1
- i18n/languages/woocommerce-mercadopago-es_VE.po +1 -1
- i18n/languages/woocommerce-mercadopago-pt_BR.po +1 -1
- i18n/languages/woocommerce-mercadopago.pot +5 -5
- includes/admin/hooks/class-wc-woomercadopago-hook-order-details.php +9 -9
- includes/module/config/class-wc-woomercadopago-constants.php +1 -1
- includes/module/sdk/lib/class-mp.php +2 -4
- includes/payments/class-wc-woomercadopago-payment-abstract.php +12 -12
- readme.txt +6 -1
- woocommerce-mercadopago.php +2 -2
i18n/languages/woocommerce-mercadopago-es_AR.po
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
i18n/languages/woocommerce-mercadopago-es_CL.po
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
i18n/languages/woocommerce-mercadopago-es_CO.po
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
i18n/languages/woocommerce-mercadopago-es_ES.po
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
i18n/languages/woocommerce-mercadopago-es_MX.po
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:35-0300\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:35-0300\n"
|
i18n/languages/woocommerce-mercadopago-es_PE.po
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
i18n/languages/woocommerce-mercadopago-es_UY.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
7 |
"POT-Creation-Date: \n"
|
8 |
"PO-Revision-Date: 2021-09-20 09:35-0300\n"
|
2 |
# This file is distributed under the same license as the Mercado Pago payments for WooCommerce plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
7 |
"POT-Creation-Date: \n"
|
8 |
"PO-Revision-Date: 2021-09-20 09:35-0300\n"
|
i18n/languages/woocommerce-mercadopago-es_VE.po
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-20 09:36-0300\n"
|
i18n/languages/woocommerce-mercadopago-pt_BR.po
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-17 15:44-0300\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Mercado Pago payments for WooCommerce 5.4.1\n"
|
4 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-mercadopago\n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
"PO-Revision-Date: 2021-09-17 15:44-0300\n"
|
i18n/languages/woocommerce-mercadopago.pot
CHANGED
@@ -974,19 +974,19 @@ msgstr ""
|
|
974 |
msgid "%s"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:
|
978 |
msgid "All Mercado Pago payment methods are in Production Mode"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:
|
982 |
msgid "All Mercado Pago payment methods are in Test Mode"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:
|
986 |
msgid "Your store is ready to receive payments from customers."
|
987 |
msgstr ""
|
988 |
|
989 |
-
#: ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:
|
990 |
msgid "Your customers will not be able to make purchases while in Test Mode."
|
991 |
msgstr ""
|
992 |
|
@@ -1639,7 +1639,7 @@ msgstr ""
|
|
1639 |
msgid "Copy code"
|
1640 |
msgstr ""
|
1641 |
|
1642 |
-
#: ../../includes/module/sdk/lib/class-mp.php:
|
1643 |
msgid "Response from cache"
|
1644 |
msgstr ""
|
1645 |
|
974 |
msgid "%s"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1877, ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1877, ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1877
|
978 |
msgid "All Mercado Pago payment methods are in Production Mode"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1878, ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1878, ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1878
|
982 |
msgid "All Mercado Pago payment methods are in Test Mode"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1880, ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1880, ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1880
|
986 |
msgid "Your store is ready to receive payments from customers."
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1881, ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1881, ../../includes/payments/class-wc-woomercadopago-payment-abstract.php:1881
|
990 |
msgid "Your customers will not be able to make purchases while in Test Mode."
|
991 |
msgstr ""
|
992 |
|
1639 |
msgid "Copy code"
|
1640 |
msgstr ""
|
1641 |
|
1642 |
+
#: ../../includes/module/sdk/lib/class-mp.php:599, ../../includes/module/sdk/lib/class-mp.php:643, ../../includes/module/sdk/lib/class-mp.php:599, ../../includes/module/sdk/lib/class-mp.php:643, ../../includes/module/sdk/lib/class-mp.php:599, ../../includes/module/sdk/lib/class-mp.php:643
|
1643 |
msgid "Response from cache"
|
1644 |
msgstr ""
|
1645 |
|
includes/admin/hooks/class-wc-woomercadopago-hook-order-details.php
CHANGED
@@ -363,11 +363,11 @@ class WC_WooMercadoPago_Hook_Order_Details {
|
|
363 |
|
364 |
$last_payment_id = end($payment_ids);
|
365 |
$is_production_mode = $order->get_meta( 'is_production_mode' );
|
366 |
-
$access_token = 'no' === $is_production_mode
|
367 |
? get_option( '_mp_access_token_test' )
|
368 |
: get_option( '_mp_access_token_prod' );
|
369 |
$mp = new MP($access_token);
|
370 |
-
$payment = $mp->search_payment_v1(trim($last_payment_id));
|
371 |
|
372 |
if ( ! $payment || ! $payment['status'] || 200 !== $payment['status'] ) {
|
373 |
return;
|
@@ -473,13 +473,13 @@ class WC_WooMercadoPago_Hook_Order_Details {
|
|
473 |
*/
|
474 |
public function get_mp_devsite_link( $country ) {
|
475 |
$country_links = [
|
476 |
-
'mla' => 'https://
|
477 |
-
'mlb' => 'https://
|
478 |
-
'mlc' => 'https://
|
479 |
-
'mco' => 'https://
|
480 |
-
'mlm' => 'https://
|
481 |
-
'mpe' => 'https://
|
482 |
-
'mlu' => 'https://
|
483 |
];
|
484 |
$link = array_key_exists($country, $country_links) ? $country_links[$country] : $country_links['mla'];
|
485 |
|
363 |
|
364 |
$last_payment_id = end($payment_ids);
|
365 |
$is_production_mode = $order->get_meta( 'is_production_mode' );
|
366 |
+
$access_token = 'no' === $is_production_mode || ! $is_production_mode
|
367 |
? get_option( '_mp_access_token_test' )
|
368 |
: get_option( '_mp_access_token_prod' );
|
369 |
$mp = new MP($access_token);
|
370 |
+
$payment = $mp->search_payment_v1(trim($last_payment_id), $access_token);
|
371 |
|
372 |
if ( ! $payment || ! $payment['status'] || 200 !== $payment['status'] ) {
|
373 |
return;
|
473 |
*/
|
474 |
public function get_mp_devsite_link( $country ) {
|
475 |
$country_links = [
|
476 |
+
'mla' => 'https://www.mercadopago.com.ar/developers/es/guides/plugins/woocommerce/sales-processing#bookmark_motivos_de_las_recusas',
|
477 |
+
'mlb' => 'https://www.mercadopago.com.br/developers/pt/guides/plugins/woocommerce/sales-processing#bookmark_motivos_de_recusas',
|
478 |
+
'mlc' => 'https://www.mercadopago.cl/developers/es/guides/plugins/woocommerce/sales-processing#bookmark_motivos_de_las_recusas',
|
479 |
+
'mco' => 'https://www.mercadopago.com.co/developers/es/guides/plugins/woocommerce/sales-processing#bookmark_motivos_de_las_recusas',
|
480 |
+
'mlm' => 'https://www.mercadopago.com.mx/developers/es/guides/plugins/woocommerce/sales-processing#bookmark_motivos_de_las_recusas',
|
481 |
+
'mpe' => 'https://www.mercadopago.com.pe/developers/es/guides/plugins/woocommerce/sales-processing#bookmark_motivos_de_las_recusas',
|
482 |
+
'mlu' => 'https://www.mercadopago.com.uy/developers/es/guides/plugins/woocommerce/sales-processing#bookmark_motivos_de_las_recusas',
|
483 |
];
|
484 |
$link = array_key_exists($country, $country_links) ? $country_links[$country] : $country_links['mla'];
|
485 |
|
includes/module/config/class-wc-woomercadopago-constants.php
CHANGED
@@ -21,7 +21,7 @@ class WC_WooMercadoPago_Constants {
|
|
21 |
const PRODUCT_ID_DESKTOP = 'BT7OF5FEOO6G01NJK3QG';
|
22 |
const PRODUCT_ID_MOBILE = 'BT7OFH09QS3001K5A0H0';
|
23 |
const PLATAFORM_ID = 'bo2hnr2ic4p001kbgpt0';
|
24 |
-
const VERSION = '5.4.
|
25 |
const MIN_PHP = 5.6;
|
26 |
const API_MP_BASE_URL = 'https://api.mercadopago.com';
|
27 |
const PAYMENT_GATEWAYS = array(
|
21 |
const PRODUCT_ID_DESKTOP = 'BT7OF5FEOO6G01NJK3QG';
|
22 |
const PRODUCT_ID_MOBILE = 'BT7OFH09QS3001K5A0H0';
|
23 |
const PLATAFORM_ID = 'bo2hnr2ic4p001kbgpt0';
|
24 |
+
const VERSION = '5.4.1';
|
25 |
const MIN_PHP = 5.6;
|
26 |
const API_MP_BASE_URL = 'https://api.mercadopago.com';
|
27 |
const PAYMENT_GATEWAYS = array(
|
includes/module/sdk/lib/class-mp.php
CHANGED
@@ -128,7 +128,6 @@ class MP {
|
|
128 |
* @throws WC_WooMercadoPago_Exception Get Access Token Exception.
|
129 |
*/
|
130 |
public function get_access_token() {
|
131 |
-
|
132 |
if ( isset( $this->ll_access_token ) && ! is_null( $this->ll_access_token ) ) {
|
133 |
return $this->ll_access_token;
|
134 |
}
|
@@ -170,12 +169,11 @@ class MP {
|
|
170 |
* @return array|null
|
171 |
* @throws WC_WooMercadoPago_Exception Search Payment V1 Exception.
|
172 |
*/
|
173 |
-
public function search_payment_v1( $id ) {
|
174 |
-
|
175 |
$request = array(
|
176 |
'uri' => '/v1/payments/' . $id,
|
177 |
'headers' => array(
|
178 |
-
'Authorization' => 'Bearer ' . $this->get_access_token(),
|
179 |
)
|
180 |
);
|
181 |
|
128 |
* @throws WC_WooMercadoPago_Exception Get Access Token Exception.
|
129 |
*/
|
130 |
public function get_access_token() {
|
|
|
131 |
if ( isset( $this->ll_access_token ) && ! is_null( $this->ll_access_token ) ) {
|
132 |
return $this->ll_access_token;
|
133 |
}
|
169 |
* @return array|null
|
170 |
* @throws WC_WooMercadoPago_Exception Search Payment V1 Exception.
|
171 |
*/
|
172 |
+
public function search_payment_v1( $id, $token = null ) {
|
|
|
173 |
$request = array(
|
174 |
'uri' => '/v1/payments/' . $id,
|
175 |
'headers' => array(
|
176 |
+
'Authorization' => 'Bearer ' . ( is_null($token) ? $this->get_access_token() : $token ),
|
177 |
)
|
178 |
);
|
179 |
|
includes/payments/class-wc-woomercadopago-payment-abstract.php
CHANGED
@@ -1854,13 +1854,13 @@ class WC_WooMercadoPago_Payment_Abstract extends WC_Payment_Gateway {
|
|
1854 |
$key = 'woocommerce_' . $gateway::get_id() . '_settings';
|
1855 |
$options = get_option( $key );
|
1856 |
if ( ! empty( $options ) ) {
|
1857 |
-
if ( ! isset( $options['checkbox_checkout_test_mode'] ) || empty( $options['checkbox_checkout_test_mode'] ) ) {
|
1858 |
-
continue;
|
1859 |
-
}
|
1860 |
-
|
1861 |
$old_credential_is_prod = array_key_exists('checkout_credential_prod', $options) && isset($options['checkout_credential_prod']) ? $options['checkout_credential_prod'] : 'no';
|
1862 |
$has_new_key = array_key_exists('checkbox_checkout_test_mode', $options) && isset($options['checkbox_checkout_test_mode']);
|
1863 |
-
$options['checkbox_checkout_test_mode'] = $has_new_key
|
|
|
|
|
|
|
|
|
1864 |
update_option( $key, apply_filters( 'woocommerce_settings_api_sanitized_fields_' . $gateway::get_id(), $options ) );
|
1865 |
}
|
1866 |
}
|
@@ -1954,13 +1954,13 @@ class WC_WooMercadoPago_Payment_Abstract extends WC_Payment_Gateway {
|
|
1954 |
*/
|
1955 |
public function get_mp_devsite_link( $country ) {
|
1956 |
$country_links = [
|
1957 |
-
'mla' => 'https://
|
1958 |
-
'mlb' => 'https://
|
1959 |
-
'mlc' => 'https://
|
1960 |
-
'mco' => 'https://
|
1961 |
-
'mlm' => 'https://
|
1962 |
-
'mpe' => 'https://
|
1963 |
-
'mlu' => 'https://
|
1964 |
];
|
1965 |
$link = array_key_exists($country, $country_links) ? $country_links[$country] : $country_links['mla'];
|
1966 |
|
1854 |
$key = 'woocommerce_' . $gateway::get_id() . '_settings';
|
1855 |
$options = get_option( $key );
|
1856 |
if ( ! empty( $options ) ) {
|
|
|
|
|
|
|
|
|
1857 |
$old_credential_is_prod = array_key_exists('checkout_credential_prod', $options) && isset($options['checkout_credential_prod']) ? $options['checkout_credential_prod'] : 'no';
|
1858 |
$has_new_key = array_key_exists('checkbox_checkout_test_mode', $options) && isset($options['checkbox_checkout_test_mode']);
|
1859 |
+
$options['checkbox_checkout_test_mode'] = $has_new_key && 'deprecated' === $old_credential_is_prod
|
1860 |
+
? $options['checkbox_checkout_test_mode']
|
1861 |
+
: ( 'yes' === $old_credential_is_prod ? 'no' : 'yes' );
|
1862 |
+
$options['checkout_credential_prod'] = 'deprecated';
|
1863 |
+
|
1864 |
update_option( $key, apply_filters( 'woocommerce_settings_api_sanitized_fields_' . $gateway::get_id(), $options ) );
|
1865 |
}
|
1866 |
}
|
1954 |
*/
|
1955 |
public function get_mp_devsite_link( $country ) {
|
1956 |
$country_links = [
|
1957 |
+
'mla' => 'https://www.mercadopago.com.ar/developers/es/guides/plugins/woocommerce/testing',
|
1958 |
+
'mlb' => 'https://www.mercadopago.com.br/developers/pt/guides/plugins/woocommerce/testing',
|
1959 |
+
'mlc' => 'https://www.mercadopago.cl/developers/es/guides/plugins/woocommerce/testing',
|
1960 |
+
'mco' => 'https://www.mercadopago.com.co/developers/es/guides/plugins/woocommerce/testing',
|
1961 |
+
'mlm' => 'https://www.mercadopago.com.mx/developers/es/guides/plugins/woocommerce/testing',
|
1962 |
+
'mpe' => 'https://www.mercadopago.com.pe/developers/es/guides/plugins/woocommerce/testing',
|
1963 |
+
'mlu' => 'https://www.mercadopago.com.uy/developers/es/guides/plugins/woocommerce/testing',
|
1964 |
];
|
1965 |
$link = array_key_exists($country, $country_links) ? $country_links[$country] : $country_links['mla'];
|
1966 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: ecommerce, mercadopago, woocommerce
|
|
4 |
Requires at least: 4.9.10
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 5.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -129,6 +129,11 @@ Set up both the plugin and the checkouts you want to activate on your payment av
|
|
129 |
Check out our <a href="https://www.mercadopago.com.br/developers/pt/plugins_sdks/plugins/official/woo-commerce/">official documentation</a> for more information on the specific fields to configure.
|
130 |
|
131 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
132 |
= 5.4.0 (20/09/2021) =
|
133 |
* Features
|
134 |
- Performance improvements
|
4 |
Requires at least: 4.9.10
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 5.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
129 |
Check out our <a href="https://www.mercadopago.com.br/developers/pt/plugins_sdks/plugins/official/woo-commerce/">official documentation</a> for more information on the specific fields to configure.
|
130 |
|
131 |
== Changelog ==
|
132 |
+
= v5.4.1 (22/09/2021) =
|
133 |
+
* Bug fixes
|
134 |
+
- On the order page, the payment was fetched with the wrong token
|
135 |
+
- When the plugin was updated the checkout mode visually went to test
|
136 |
+
|
137 |
= 5.4.0 (20/09/2021) =
|
138 |
* Features
|
139 |
- Performance improvements
|
woocommerce-mercadopago.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
* Plugin Name: Mercado Pago payments for WooCommerce
|
4 |
* Plugin URI: https://github.com/mercadopago/cart-woocommerce
|
5 |
* Description: Configure the payment options and accept payments with cards, ticket and money of Mercado Pago account.
|
6 |
-
* Version: 5.4.
|
7 |
* Author: Mercado Pago
|
8 |
* Author URI: https://developers.mercadopago.com/
|
9 |
* Text Domain: woocommerce-mercadopago
|
10 |
* Domain Path: /i18n/languages/
|
11 |
* WC requires at least: 3.0.0
|
12 |
-
* WC tested up to: 5.
|
13 |
*
|
14 |
* @package MercadoPago
|
15 |
*/
|
3 |
* Plugin Name: Mercado Pago payments for WooCommerce
|
4 |
* Plugin URI: https://github.com/mercadopago/cart-woocommerce
|
5 |
* Description: Configure the payment options and accept payments with cards, ticket and money of Mercado Pago account.
|
6 |
+
* Version: 5.4.1
|
7 |
* Author: Mercado Pago
|
8 |
* Author URI: https://developers.mercadopago.com/
|
9 |
* Text Domain: woocommerce-mercadopago
|
10 |
* Domain Path: /i18n/languages/
|
11 |
* WC requires at least: 3.0.0
|
12 |
+
* WC tested up to: 5.7
|
13 |
*
|
14 |
* @package MercadoPago
|
15 |
*/
|