Version Description
2016/06/22 =
Fixed
back_urlsparameter.
Download this release
Release Info
| Developer | claudiosanches |
| Plugin | |
| Version | 2.0.4 |
| Comparing to | |
| See all releases | |
Code changes from version 2.0.3 to 2.0.4
- includes/class-wc-mercadopago-gateway.php +2 -2
- languages/woocommerce-mercadopago.pot +31 -31
- readme.txt +7 -2
- woocommerce-mercadopago.php +2 -2
includes/class-wc-mercadopago-gateway.php
CHANGED
|
@@ -212,9 +212,9 @@ class WC_MercadoPago_Gateway extends WC_Payment_Gateway {
|
|
| 212 |
public function get_payment_args( $order ) {
|
| 213 |
$args = array(
|
| 214 |
'back_urls' => array(
|
| 215 |
-
'success' =>
|
| 216 |
'failure' => $this->get_order_cancel_url( $order ),
|
| 217 |
-
'pending' =>
|
| 218 |
),
|
| 219 |
'payer' => array(
|
| 220 |
'name' => $order->billing_first_name,
|
| 212 |
public function get_payment_args( $order ) {
|
| 213 |
$args = array(
|
| 214 |
'back_urls' => array(
|
| 215 |
+
'success' => $this->get_return_url( $order ),
|
| 216 |
'failure' => $this->get_order_cancel_url( $order ),
|
| 217 |
+
'pending' => $this->get_return_url( $order )
|
| 218 |
),
|
| 219 |
'payer' => array(
|
| 220 |
'name' => $order->billing_first_name,
|
languages/woocommerce-mercadopago.pot
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
-
# Copyright (C)
|
| 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:
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
-
"PO-Revision-Date:
|
| 13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
| 14 |
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
| 15 |
"X-Generator: grunt-wp-i18n 0.4.9\n"
|
|
@@ -68,7 +68,7 @@ msgid "This controls the description which the user sees during checkout."
|
|
| 68 |
msgstr ""
|
| 69 |
|
| 70 |
#: includes/class-wc-mercadopago-gateway.php:137
|
| 71 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 72 |
msgid "Pay via MercadoPago"
|
| 73 |
msgstr ""
|
| 74 |
|
|
@@ -150,98 +150,98 @@ msgstr ""
|
|
| 150 |
msgid "Log MercadoPago events, such as API requests, inside %s"
|
| 151 |
msgstr ""
|
| 152 |
|
| 153 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 154 |
msgid "Order %s"
|
| 155 |
msgstr ""
|
| 156 |
|
| 157 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 158 |
msgid "Shipping via"
|
| 159 |
msgstr ""
|
| 160 |
|
| 161 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 162 |
msgid ""
|
| 163 |
"Thank you for your order, please click the button below to pay with "
|
| 164 |
"MercadoPago."
|
| 165 |
msgstr ""
|
| 166 |
|
| 167 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 168 |
msgid "Cancel order & restore cart"
|
| 169 |
msgstr ""
|
| 170 |
|
| 171 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 172 |
msgid ""
|
| 173 |
"An error has occurred while processing your payment, please try again. Or "
|
| 174 |
"contact us for assistance."
|
| 175 |
msgstr ""
|
| 176 |
|
| 177 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 178 |
msgid "Click to try again"
|
| 179 |
msgstr ""
|
| 180 |
|
| 181 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 182 |
msgid "MercadoPago Request Failure"
|
| 183 |
msgstr ""
|
| 184 |
|
| 185 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 186 |
msgid "MercadoPago Transaction ID"
|
| 187 |
msgstr ""
|
| 188 |
|
| 189 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 190 |
msgid "Payer email"
|
| 191 |
msgstr ""
|
| 192 |
|
| 193 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 194 |
msgid "Payment type"
|
| 195 |
msgstr ""
|
| 196 |
|
| 197 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 198 |
msgid "MercadoPago: Payment approved."
|
| 199 |
msgstr ""
|
| 200 |
|
| 201 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 202 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
| 203 |
msgstr ""
|
| 204 |
|
| 205 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 206 |
msgid "MercadoPago: Payment under review."
|
| 207 |
msgstr ""
|
| 208 |
|
| 209 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 210 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
| 211 |
msgstr ""
|
| 212 |
|
| 213 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 214 |
msgid "MercadoPago: The payment was returned to the user."
|
| 215 |
msgstr ""
|
| 216 |
|
| 217 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 218 |
msgid "MercadoPago: Payment canceled."
|
| 219 |
msgstr ""
|
| 220 |
|
| 221 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 222 |
msgid "MercadoPago: It started a dispute for payment."
|
| 223 |
msgstr ""
|
| 224 |
|
| 225 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 226 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 227 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 228 |
msgid "MercadoPago Disabled"
|
| 229 |
msgstr ""
|
| 230 |
|
| 231 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 232 |
msgid "You should inform your Client_id. %s"
|
| 233 |
msgstr ""
|
| 234 |
|
| 235 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 236 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 237 |
msgid "Click here to configure!"
|
| 238 |
msgstr ""
|
| 239 |
|
| 240 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 241 |
msgid "You should inform your Client_secret. %s"
|
| 242 |
msgstr ""
|
| 243 |
|
| 244 |
-
#: includes/class-wc-mercadopago-gateway.php:
|
| 245 |
msgid ""
|
| 246 |
"Currency <code>%s</code> is not supported. Please make sure that you use "
|
| 247 |
"one of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF."
|
|
@@ -268,7 +268,7 @@ msgid "MercadoPago gateway for Woocommerce."
|
|
| 268 |
msgstr ""
|
| 269 |
|
| 270 |
#. Author of the plugin/theme
|
| 271 |
-
msgid "
|
| 272 |
msgstr ""
|
| 273 |
|
| 274 |
#. Author URI of the plugin/theme
|
| 1 |
+
# Copyright (C) 2016 Claudio Sanches
|
| 2 |
# This file is distributed under the GPLv2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce MercadoPago 2.0.4\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"http://wordpress.org/support/plugin/woocommerce-mercadopago/\n"
|
| 8 |
+
"POT-Creation-Date: 2016-06-22 16:09:11+00:00\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
+
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
|
| 13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
| 14 |
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
| 15 |
"X-Generator: grunt-wp-i18n 0.4.9\n"
|
| 68 |
msgstr ""
|
| 69 |
|
| 70 |
#: includes/class-wc-mercadopago-gateway.php:137
|
| 71 |
+
#: includes/class-wc-mercadopago-gateway.php:333
|
| 72 |
msgid "Pay via MercadoPago"
|
| 73 |
msgstr ""
|
| 74 |
|
| 150 |
msgid "Log MercadoPago events, such as API requests, inside %s"
|
| 151 |
msgstr ""
|
| 152 |
|
| 153 |
+
#: includes/class-wc-mercadopago-gateway.php:247
|
| 154 |
msgid "Order %s"
|
| 155 |
msgstr ""
|
| 156 |
|
| 157 |
+
#: includes/class-wc-mercadopago-gateway.php:257
|
| 158 |
msgid "Shipping via"
|
| 159 |
msgstr ""
|
| 160 |
|
| 161 |
+
#: includes/class-wc-mercadopago-gateway.php:331
|
| 162 |
msgid ""
|
| 163 |
"Thank you for your order, please click the button below to pay with "
|
| 164 |
"MercadoPago."
|
| 165 |
msgstr ""
|
| 166 |
|
| 167 |
+
#: includes/class-wc-mercadopago-gateway.php:333
|
| 168 |
msgid "Cancel order & restore cart"
|
| 169 |
msgstr ""
|
| 170 |
|
| 171 |
+
#: includes/class-wc-mercadopago-gateway.php:341
|
| 172 |
msgid ""
|
| 173 |
"An error has occurred while processing your payment, please try again. Or "
|
| 174 |
"contact us for assistance."
|
| 175 |
msgstr ""
|
| 176 |
|
| 177 |
+
#: includes/class-wc-mercadopago-gateway.php:343
|
| 178 |
msgid "Click to try again"
|
| 179 |
msgstr ""
|
| 180 |
|
| 181 |
+
#: includes/class-wc-mercadopago-gateway.php:527
|
| 182 |
msgid "MercadoPago Request Failure"
|
| 183 |
msgstr ""
|
| 184 |
|
| 185 |
+
#: includes/class-wc-mercadopago-gateway.php:563
|
| 186 |
msgid "MercadoPago Transaction ID"
|
| 187 |
msgstr ""
|
| 188 |
|
| 189 |
+
#: includes/class-wc-mercadopago-gateway.php:570
|
| 190 |
msgid "Payer email"
|
| 191 |
msgstr ""
|
| 192 |
|
| 193 |
+
#: includes/class-wc-mercadopago-gateway.php:577
|
| 194 |
msgid "Payment type"
|
| 195 |
msgstr ""
|
| 196 |
|
| 197 |
+
#: includes/class-wc-mercadopago-gateway.php:583
|
| 198 |
msgid "MercadoPago: Payment approved."
|
| 199 |
msgstr ""
|
| 200 |
|
| 201 |
+
#: includes/class-wc-mercadopago-gateway.php:588
|
| 202 |
msgid "MercadoPago: The user has not completed the payment process yet."
|
| 203 |
msgstr ""
|
| 204 |
|
| 205 |
+
#: includes/class-wc-mercadopago-gateway.php:592
|
| 206 |
msgid "MercadoPago: Payment under review."
|
| 207 |
msgstr ""
|
| 208 |
|
| 209 |
+
#: includes/class-wc-mercadopago-gateway.php:596
|
| 210 |
msgid "MercadoPago: The payment was declined. The user can try again."
|
| 211 |
msgstr ""
|
| 212 |
|
| 213 |
+
#: includes/class-wc-mercadopago-gateway.php:600
|
| 214 |
msgid "MercadoPago: The payment was returned to the user."
|
| 215 |
msgstr ""
|
| 216 |
|
| 217 |
+
#: includes/class-wc-mercadopago-gateway.php:604
|
| 218 |
msgid "MercadoPago: Payment canceled."
|
| 219 |
msgstr ""
|
| 220 |
|
| 221 |
+
#: includes/class-wc-mercadopago-gateway.php:608
|
| 222 |
msgid "MercadoPago: It started a dispute for payment."
|
| 223 |
msgstr ""
|
| 224 |
|
| 225 |
+
#: includes/class-wc-mercadopago-gateway.php:639
|
| 226 |
+
#: includes/class-wc-mercadopago-gateway.php:648
|
| 227 |
+
#: includes/class-wc-mercadopago-gateway.php:657
|
| 228 |
msgid "MercadoPago Disabled"
|
| 229 |
msgstr ""
|
| 230 |
|
| 231 |
+
#: includes/class-wc-mercadopago-gateway.php:639
|
| 232 |
msgid "You should inform your Client_id. %s"
|
| 233 |
msgstr ""
|
| 234 |
|
| 235 |
+
#: includes/class-wc-mercadopago-gateway.php:639
|
| 236 |
+
#: includes/class-wc-mercadopago-gateway.php:648
|
| 237 |
msgid "Click here to configure!"
|
| 238 |
msgstr ""
|
| 239 |
|
| 240 |
+
#: includes/class-wc-mercadopago-gateway.php:648
|
| 241 |
msgid "You should inform your Client_secret. %s"
|
| 242 |
msgstr ""
|
| 243 |
|
| 244 |
+
#: includes/class-wc-mercadopago-gateway.php:657
|
| 245 |
msgid ""
|
| 246 |
"Currency <code>%s</code> is not supported. Please make sure that you use "
|
| 247 |
"one of the following supported currencies: ARS, BRL, COP, MXN, USD or VEF."
|
| 268 |
msgstr ""
|
| 269 |
|
| 270 |
#. Author of the plugin/theme
|
| 271 |
+
msgid "Claudio Sanches"
|
| 272 |
msgstr ""
|
| 273 |
|
| 274 |
#. Author URI of the plugin/theme
|
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.3 - 2016/06/21 =
|
| 205 |
|
| 206 |
* Added support for `notification_url`.
|
|
@@ -223,7 +227,8 @@ Entre em contato [clicando aqui](http://claudiosmweb.com/plugins/mercadopago-par
|
|
| 223 |
|
| 224 |
== Upgrade Notice ==
|
| 225 |
|
| 226 |
-
= 2.0.
|
| 227 |
|
| 228 |
* Fixed support for WooCommerce 2.6.
|
| 229 |
* Added support for `notification_url`.
|
|
|
| 4 |
Tags: woocommerce, mercadopago, payment
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.5
|
| 7 |
+
Stable tag: 2.0.4
|
| 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.4 - 2016/06/22 =
|
| 205 |
+
|
| 206 |
+
* Fixed `back_urls` parameter.
|
| 207 |
+
|
| 208 |
= 2.0.3 - 2016/06/21 =
|
| 209 |
|
| 210 |
* Added support for `notification_url`.
|
| 227 |
|
| 228 |
== Upgrade Notice ==
|
| 229 |
|
| 230 |
+
= 2.0.4 =
|
| 231 |
|
| 232 |
* Fixed support for WooCommerce 2.6.
|
| 233 |
* Added support for `notification_url`.
|
| 234 |
+
* Fixed `back_urls` parameter.
|
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.4
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-mercadopago
|
| 11 |
* Domain Path: /languages/
|
| 27 |
*
|
| 28 |
* @var string
|
| 29 |
*/
|
| 30 |
+
const VERSION = '2.0.4';
|
| 31 |
|
| 32 |
/**
|
| 33 |
* Instance of this class.
|
