WooCommerce MercadoPago - Version 3.0.13

Version Description

Download this release

Release Info

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

Code changes from version 3.0.12 to 3.0.13

includes/WC_WooMercadoPago_BasicGateway.php CHANGED
@@ -661,12 +661,12 @@ class WC_WooMercadoPago_BasicGateway extends WC_Payment_Gateway {
661
  $html = '<style type="text/css">
662
  #MP-Checkout-dialog #MP-Checkout-IFrame { bottom: -28px !important; height: 590px !important; }
663
  </style>';
664
- $html = '<script type="text/javascript" src="https://secure.mlstatic.com/mptools/render.js"></script>
665
  <script type="text/javascript">
666
  (function() { $MPC.openCheckout({ url: "' . esc_url( $url ) . '", mode: "modal" }); })();
667
  </script>';
668
- $html = '<img width="468" height="60" src="' . $this->site_data['checkout_banner'] . '">';
669
- $html = '<p></p><p>' . wordwrap(
670
  __( 'Thank you for your order. Please, proceed with your payment clicking in the bellow button.', 'woocommerce-mercadopago' ),
671
  60, '<br>'
672
  ) . '</p>
@@ -684,7 +684,7 @@ class WC_WooMercadoPago_BasicGateway extends WC_Payment_Gateway {
684
 
685
  // ===== The checkout is made by rendering Mercado Pago form within a iframe =====
686
  $html = '<img width="468" height="60" src="' . $this->site_data['checkout_banner'] . '">';
687
- $html = '<p></p><p>' . wordwrap(
688
  __( 'Thank you for your order. Proceed with your payment completing the following information.', 'woocommerce-mercadopago' ),
689
  60, '<br>'
690
  ) . '</p>
661
  $html = '<style type="text/css">
662
  #MP-Checkout-dialog #MP-Checkout-IFrame { bottom: -28px !important; height: 590px !important; }
663
  </style>';
664
+ $html .= '<script type="text/javascript" src="https://secure.mlstatic.com/mptools/render.js"></script>
665
  <script type="text/javascript">
666
  (function() { $MPC.openCheckout({ url: "' . esc_url( $url ) . '", mode: "modal" }); })();
667
  </script>';
668
+ $html .= '<img width="468" height="60" src="' . $this->site_data['checkout_banner'] . '">';
669
+ $html .= '<p></p><p>' . wordwrap(
670
  __( 'Thank you for your order. Please, proceed with your payment clicking in the bellow button.', 'woocommerce-mercadopago' ),
671
  60, '<br>'
672
  ) . '</p>
684
 
685
  // ===== The checkout is made by rendering Mercado Pago form within a iframe =====
686
  $html = '<img width="468" height="60" src="' . $this->site_data['checkout_banner'] . '">';
687
+ $html .= '<p></p><p>' . wordwrap(
688
  __( 'Thank you for your order. Proceed with your payment completing the following information.', 'woocommerce-mercadopago' ),
689
  60, '<br>'
690
  ) . '</p>
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.12';
16
  private $client_id;
17
  private $client_secret;
18
  private $ll_access_token;
12
 
13
  class MP {
14
 
15
+ private $version = '3.0.13';
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.12
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -215,6 +215,10 @@ Features: LatAm Basic Checkout support. Great for merchants who want to get goin
215
 
216
  == Changelog ==
217
 
 
 
 
 
218
  = v3.0.12 (28/02/2018) =
219
  * Improvements
220
  - Added date limit for ticket payment;
4
  Requires at least: 4.8
5
  Tested up to: 4.8
6
  Requires PHP: 5.6
7
+ Stable tag: 3.0.13
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.13 (01/03/2018) =
219
+ * Bug fixes
220
+ - Fixed a bug in modal window for Basic Checkout.
221
+
222
  = v3.0.12 (28/02/2018) =
223
  * Improvements
224
  - Added date limit for ticket payment;
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.12
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.12';
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.13
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.13';
110
  const MIN_PHP = 5.6;
111
 
112
  // Arrays to hold configurations for LatAm environment.