Version Description
2016/07/29 =
Fixed fatal error on IPN handler while log is disabled.
Download this release
Release Info
Developer | claudiosanches |
Plugin | WooCommerce MercadoPago |
Version | 2.0.6 |
Comparing to | |
See all releases |
Code changes from version 2.0.5 to 2.0.6
- includes/class-wc-mercadopago-gateway.php +3 -1
- languages/woocommerce-mercadopago.pot +22 -22
- readme.txt +7 -4
- woocommerce-mercadopago.php +2 -2
includes/class-wc-mercadopago-gateway.php
CHANGED
@@ -493,7 +493,9 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
493 |
|
494 |
$body = json_decode( $response['body'] );
|
495 |
|
496 |
-
|
|
|
|
|
497 |
|
498 |
return $body;
|
499 |
} else {
|
493 |
|
494 |
$body = json_decode( $response['body'] );
|
495 |
|
496 |
+
if ( 'yes' == $this->debug ) {
|
497 |
+
$this->log->add( $this->id, 'Received valid IPN response from MercadoPago' );
|
498 |
+
}
|
499 |
|
500 |
return $body;
|
501 |
} else {
|
languages/woocommerce-mercadopago.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the GPLv2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce MercadoPago 2.0.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"http://wordpress.org/support/plugin/woocommerce-mercadopago/\n"
|
8 |
-
"POT-Creation-Date: 2016-07-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -182,74 +182,74 @@ msgstr ""
|
|
182 |
msgid "Click to try again"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
186 |
msgid "Missing notification params."
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
190 |
msgid "MercadoPago Notification Handler"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
194 |
msgid "MercadoPago Transaction ID"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
198 |
msgid "Payer email"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
202 |
msgid "Payment type"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
206 |
msgid "MercadoPago: Payment approved."
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
210 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
214 |
msgid "MercadoPago: Payment under review."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
218 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
222 |
msgid "MercadoPago: The payment was returned to the user."
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
226 |
msgid "MercadoPago: Payment canceled."
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
230 |
msgid "MercadoPago: It started a dispute for payment."
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
234 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
235 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
236 |
msgid "MercadoPago Disabled"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
240 |
msgid "You should inform your Client_id. %s"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
244 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
245 |
msgid "Click here to configure!"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
249 |
msgid "You should inform your Client_secret. %s"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
253 |
msgid ""
|
254 |
"Currency <code>%s</code> is not supported. Please make sure that you use "
|
255 |
"one of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF."
|
2 |
# This file is distributed under the GPLv2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce MercadoPago 2.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"http://wordpress.org/support/plugin/woocommerce-mercadopago/\n"
|
8 |
+
"POT-Creation-Date: 2016-07-30 00:23:47+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
182 |
msgid "Click to try again"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: includes/class-wc-mercadopago-gateway.php:522
|
186 |
msgid "Missing notification params."
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: includes/class-wc-mercadopago-gateway.php:522
|
190 |
msgid "MercadoPago Notification Handler"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: includes/class-wc-mercadopago-gateway.php:556
|
194 |
msgid "MercadoPago Transaction ID"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/class-wc-mercadopago-gateway.php:563
|
198 |
msgid "Payer email"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: includes/class-wc-mercadopago-gateway.php:570
|
202 |
msgid "Payment type"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: includes/class-wc-mercadopago-gateway.php:576
|
206 |
msgid "MercadoPago: Payment approved."
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: includes/class-wc-mercadopago-gateway.php:581
|
210 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: includes/class-wc-mercadopago-gateway.php:585
|
214 |
msgid "MercadoPago: Payment under review."
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: includes/class-wc-mercadopago-gateway.php:589
|
218 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: includes/class-wc-mercadopago-gateway.php:593
|
222 |
msgid "MercadoPago: The payment was returned to the user."
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: includes/class-wc-mercadopago-gateway.php:597
|
226 |
msgid "MercadoPago: Payment canceled."
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: includes/class-wc-mercadopago-gateway.php:601
|
230 |
msgid "MercadoPago: It started a dispute for payment."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: includes/class-wc-mercadopago-gateway.php:632
|
234 |
+
#: includes/class-wc-mercadopago-gateway.php:641
|
235 |
+
#: includes/class-wc-mercadopago-gateway.php:650
|
236 |
msgid "MercadoPago Disabled"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: includes/class-wc-mercadopago-gateway.php:632
|
240 |
msgid "You should inform your Client_id. %s"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: includes/class-wc-mercadopago-gateway.php:632
|
244 |
+
#: includes/class-wc-mercadopago-gateway.php:641
|
245 |
msgid "Click here to configure!"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: includes/class-wc-mercadopago-gateway.php:641
|
249 |
msgid "You should inform your Client_secret. %s"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: includes/class-wc-mercadopago-gateway.php:650
|
253 |
msgid ""
|
254 |
"Currency <code>%s</code> is not supported. Please make sure that you use "
|
255 |
"one of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF."
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://claudiosmweb.com/doacoes/
|
|
4 |
Tags: woocommerce, mercadopago, payment
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.5
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -201,6 +201,10 @@ Entre em contato [clicando aqui](http://claudiosmweb.com/plugins/mercadopago-par
|
|
201 |
|
202 |
== Changelog ==
|
203 |
|
|
|
|
|
|
|
|
|
204 |
= 2.0.5 - 2016/07/04 =
|
205 |
|
206 |
* Improved Payment Notification handler.
|
@@ -232,7 +236,6 @@ Entre em contato [clicando aqui](http://claudiosmweb.com/plugins/mercadopago-par
|
|
232 |
|
233 |
== Upgrade Notice ==
|
234 |
|
235 |
-
= 2.0.
|
236 |
|
237 |
-
*
|
238 |
-
* Added full support for Chile in the settings.
|
4 |
Tags: woocommerce, mercadopago, payment
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 2.0.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
201 |
|
202 |
== Changelog ==
|
203 |
|
204 |
+
= 2.0.6 - 2016/07/29 =
|
205 |
+
|
206 |
+
* Fixed fatal error on IPN handler while log is disabled.
|
207 |
+
|
208 |
= 2.0.5 - 2016/07/04 =
|
209 |
|
210 |
* Improved Payment Notification handler.
|
236 |
|
237 |
== Upgrade Notice ==
|
238 |
|
239 |
+
= 2.0.6 =
|
240 |
|
241 |
+
* Fixed fatal error on IPN handler while log is disabled.
|
|
woocommerce-mercadopago.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: MercadoPago gateway for Woocommerce.
|
6 |
* Author: Claudio Sanches
|
7 |
* Author URI: http://claudiosmweb.com/
|
8 |
-
* Version: 2.0.
|
9 |
* License: GPLv2 or later
|
10 |
* Text Domain: woocommerce-mercadopago
|
11 |
* Domain Path: /languages/
|
@@ -27,7 +27,7 @@ class WC_MercadoPago {
|
|
27 |
*
|
28 |
* @var string
|
29 |
*/
|
30 |
-
const VERSION = '2.0.
|
31 |
|
32 |
/**
|
33 |
* Instance of this class.
|
5 |
* Description: MercadoPago gateway for Woocommerce.
|
6 |
* Author: Claudio Sanches
|
7 |
* Author URI: http://claudiosmweb.com/
|
8 |
+
* Version: 2.0.6
|
9 |
* License: GPLv2 or later
|
10 |
* Text Domain: woocommerce-mercadopago
|
11 |
* Domain Path: /languages/
|
27 |
*
|
28 |
* @var string
|
29 |
*/
|
30 |
+
const VERSION = '2.0.6';
|
31 |
|
32 |
/**
|
33 |
* Instance of this class.
|