WooCommerce MercadoPago - Version 5.7.5

Version Description

Download this release

Release Info

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

Code changes from version 5.7.4 to 5.7.5

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.7.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.7.5';
25
  const MIN_PHP = 5.6;
26
  const API_MP_BASE_URL = 'https://api.mercadopago.com';
27
  const PAYMENT_GATEWAYS = array(
includes/module/mercadopago-settings/class-wc-woomercadopago-mercadopago-settings.php CHANGED
@@ -520,8 +520,7 @@ class WC_WooMercadoPago_MercadoPago_Settings {
520
  try {
521
  $payments_gateways = WC_WooMercadoPago_Constants::PAYMENT_GATEWAYS;
522
  $payment_gateway_properties = array();
523
- $wc_country = WC_WooMercadoPago_Module::get_woocommerce_default_country();
524
- $payment_methods = WC_WooMercadoPago_Configs::get_available_payment_methods();
525
 
526
  foreach ( $payments_gateways as $payment_gateway ) {
527
  if ( ! in_array( $payment_gateway, $payment_methods, true ) ) {
520
  try {
521
  $payments_gateways = WC_WooMercadoPago_Constants::PAYMENT_GATEWAYS;
522
  $payment_gateway_properties = array();
523
+ $payment_methods = ( new WC_WooMercadoPago_Configs() )->get_available_payment_methods();
 
524
 
525
  foreach ( $payments_gateways as $payment_gateway ) {
526
  if ( ! in_array( $payment_gateway, $payment_methods, true ) ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: ecommerce, mercadopago, woocommerce
4
  Requires at least: 4.9.10
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
- Stable tag: 5.7.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -133,6 +133,10 @@ Set up both the plugin and the checkouts you want to activate on your payment av
133
  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.
134
 
135
  == Changelog ==
 
 
 
 
136
  = v5.7.4 (25/02/2022) =
137
  * Bug fixes
138
  - Changed php constant
4
  Requires at least: 4.9.10
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
+ Stable tag: 5.7.5
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
133
  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.
134
 
135
  == Changelog ==
136
+ = v5.7.5 (31/03/2022) =
137
+ * Bug fixes
138
+ - Instance a non-static class to call a method (Fatal error on PHP 8)
139
+
140
  = v5.7.4 (25/02/2022) =
141
  * Bug fixes
142
  - Changed php constant
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.7.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: 5.5.2
12
- * WC tested up to: 6.2.0
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.7.5
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: 5.5.2
12
+ * WC tested up to: 6.3.0
13
  *
14
  * @package MercadoPago
15
  */