WooCommerce MercadoPago - Version 3.0.15

Version Description

Download this release

Release Info

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

Code changes from version 3.0.14 to 3.0.15

includes/WC_WooMercadoPago_BasicGateway.php CHANGED
@@ -1403,7 +1403,7 @@ class WC_WooMercadoPago_BasicGateway extends WC_Payment_Gateway {
1403
'total' => wc_format_decimal( $shipment_cost ),
1404
) );
1405
$shipping_item->save();
1406
- $this->calculate_shipping();
1407
} else {
1408
// Update shipping cost and method title.
1409
$r = $order->update_shipping( $order_item_shipping_id, array(
1403
'total' => wc_format_decimal( $shipment_cost ),
1404
) );
1405
$shipping_item->save();
1406
+ $order->calculate_shipping();
1407
} else {
1408
// Update shipping cost and method title.
1409
$r = $order->update_shipping( $order_item_shipping_id, array(
includes/WC_WooMercadoPago_TicketGateway.php CHANGED
@@ -594,7 +594,7 @@ class WC_WooMercadoPago_TicketGateway extends WC_Payment_Gateway {
594
if ( ! isset( $_POST['mercadopago_ticket'] ) ) {
595
return;
596
}
597
- $ticket_checkout = $_POST['mercadopago_ticket'];
598
599
$order = wc_get_order( $order_id );
600
if ( method_exists( $order, 'update_meta_data' ) ) {
594
if ( ! isset( $_POST['mercadopago_ticket'] ) ) {
595
return;
596
}
597
+ $ticket_checkout = apply_filters( 'wc_mercadopagoticket_ticket_checkout', $_POST['mercadopago_ticket'] );
598
599
$order = wc_get_order( $order_id );
600
if ( method_exists( $order, 'update_meta_data' ) ) {
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.14';
16
private $client_id;
17
private $client_secret;
18
private $ll_access_token;
12
13
class MP {
14
15
+ private $version = '3.0.15';
16
private $client_id;
17
private $client_secret;
18
private $ll_access_token;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: ecommerce, mercadopago, woocommerce
4
Requires at least: 4.8
5
Tested up to: 4.8
6
Requires PHP: 5.6
7
- Stable tag: 3.0.14
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
@@ -215,6 +215,11 @@ Features: LatAm Basic Checkout support. Great for merchants who want to get goin
215
216
== Changelog ==
217
218
= v3.0.14 (13/03/2018) =
219
* Improvements
220
- Discount and fee by gateway accepts two leading zeros after decimal point;
4
Requires at least: 4.8
5
Tested up to: 4.8
6
Requires PHP: 5.6
7
+ Stable tag: 3.0.15
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
215
216
== Changelog ==
217
218
+ = v3.0.15 (15/03/2018) =
219
+ * Improvements
220
+ - Allowing customization by merchants, in ticket fields (credits to https://github.com/fernandoacosta)
221
+ - Fixed a bug in Mercado Envios processment.
222
+
223
= v3.0.14 (13/03/2018) =
224
* Improvements
225
- Discount and fee by gateway accepts two leading zeros after decimal point;
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.14
7
* Author: Mercado Pago
8
* Author URI: https://www.mercadopago.com.br/developers/
9
* Text Domain: woocommerce-mercadopago
@@ -106,7 +106,7 @@ if ( ! class_exists( 'WC_Woo_Mercado_Pago_Module' ) ) :
106
// ============================================================
107
108
// General constants.
109
- const VERSION = '3.0.14';
110
const MIN_PHP = 5.6;
111
112
// 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.15
7
* Author: Mercado Pago
8
* Author URI: https://www.mercadopago.com.br/developers/
9
* Text Domain: woocommerce-mercadopago
106
// ============================================================
107
108
// General constants.
109
+ const VERSION = '3.0.15';
110
const MIN_PHP = 5.6;
111
112
// Arrays to hold configurations for LatAm environment.