Version Description
2017/04/04 =
Correo dos ttulos dos campos personalizados salvos ao fazer um pedido.
Download this release
Release Info
| Developer | claudiosanches |
| Plugin | |
| Version | 2.12.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.12.0 to 2.12.1
- includes/class-wc-pagseguro-gateway.php +2 -2
- languages/woocommerce-pagseguro.pot +36 -40
- readme.txt +7 -3
- woocommerce-pagseguro.php +2 -2
includes/class-wc-pagseguro-gateway.php
CHANGED
|
@@ -493,11 +493,11 @@ class WC_PagSeguro_Gateway extends WC_Payment_Gateway {
|
|
| 493 |
}
|
| 494 |
if ( isset( $posted->installmentCount ) ) {
|
| 495 |
$payment_data['installments'] = sanitize_text_field( (string) $posted->installmentCount );
|
| 496 |
-
$meta_data[ __( '
|
| 497 |
}
|
| 498 |
if ( isset( $posted->paymentLink ) ) {
|
| 499 |
$payment_data['link'] = sanitize_text_field( (string) $posted->paymentLink );
|
| 500 |
-
$meta_data[ __( 'Payment
|
| 501 |
}
|
| 502 |
|
| 503 |
$meta_data['_wc_pagseguro_payment_data'] = $payment_data;
|
| 493 |
}
|
| 494 |
if ( isset( $posted->installmentCount ) ) {
|
| 495 |
$payment_data['installments'] = sanitize_text_field( (string) $posted->installmentCount );
|
| 496 |
+
$meta_data[ __( 'Installments', 'woocommerce-pagseguro' ) ] = $payment_data['installments'];
|
| 497 |
}
|
| 498 |
if ( isset( $posted->paymentLink ) ) {
|
| 499 |
$payment_data['link'] = sanitize_text_field( (string) $posted->paymentLink );
|
| 500 |
+
$meta_data[ __( 'Payment URL', 'woocommerce-pagseguro' ) ] = $payment_data['link'];
|
| 501 |
}
|
| 502 |
|
| 503 |
$meta_data['_wc_pagseguro_payment_data'] = $payment_data;
|
languages/woocommerce-pagseguro.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 PagSeguro 2.
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-pagseguro\n"
|
| 8 |
-
"POT-Creation-Date: 2017-
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
|
@@ -197,34 +197,34 @@ msgstr ""
|
|
| 197 |
msgid "Order %s"
|
| 198 |
msgstr ""
|
| 199 |
|
| 200 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 201 |
msgid ""
|
| 202 |
"Too bad! The email or token from the PagSeguro are invalids my little "
|
| 203 |
"friend!"
|
| 204 |
msgstr ""
|
| 205 |
|
| 206 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 207 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 208 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 209 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 210 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 211 |
#: includes/class-wc-pagseguro-gateway.php:24
|
| 212 |
#: includes/class-wc-pagseguro-gateway.php:186
|
| 213 |
msgid "PagSeguro"
|
| 214 |
msgstr ""
|
| 215 |
|
| 216 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 217 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 218 |
msgid ""
|
| 219 |
"An error has occurred while processing your payment, please try again. Or "
|
| 220 |
"contact us for assistance."
|
| 221 |
msgstr ""
|
| 222 |
|
| 223 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 224 |
msgid "Please, select a payment method."
|
| 225 |
msgstr ""
|
| 226 |
|
| 227 |
-
#: includes/class-wc-pagseguro-api.php:
|
| 228 |
msgid ""
|
| 229 |
"You are not allowed to use the PagSeguro Transparent Checkout. Looks like "
|
| 230 |
"you neglected to installation guide of this plugin. This is not pretty, do "
|
|
@@ -460,88 +460,84 @@ msgstr ""
|
|
| 460 |
msgid "PagSeguro Request Unauthorized"
|
| 461 |
msgstr ""
|
| 462 |
|
| 463 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 464 |
-
msgid "PagSeguro Transaction ID"
|
| 465 |
-
msgstr ""
|
| 466 |
-
|
| 467 |
-
#: includes/class-wc-pagseguro-gateway.php:502
|
| 468 |
msgid "Payer email"
|
| 469 |
msgstr ""
|
| 470 |
|
| 471 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 472 |
msgid "Payer name"
|
| 473 |
msgstr ""
|
| 474 |
|
| 475 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 476 |
msgid "Payment type"
|
| 477 |
msgstr ""
|
| 478 |
|
| 479 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 480 |
msgid "Payment method"
|
| 481 |
msgstr ""
|
| 482 |
|
| 483 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 484 |
#: templates/transparent-checkout-form.php:54
|
| 485 |
msgid "Installments"
|
| 486 |
msgstr ""
|
| 487 |
|
| 488 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 489 |
-
msgid "Payment
|
| 490 |
msgstr ""
|
| 491 |
|
| 492 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 493 |
msgid ""
|
| 494 |
"PagSeguro: The buyer initiated the transaction, but so far the PagSeguro "
|
| 495 |
"not received any payment information."
|
| 496 |
msgstr ""
|
| 497 |
|
| 498 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 499 |
msgid "PagSeguro: Payment under review."
|
| 500 |
msgstr ""
|
| 501 |
|
| 502 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 503 |
msgid "PagSeguro: Payment approved."
|
| 504 |
msgstr ""
|
| 505 |
|
| 506 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 507 |
msgid "PagSeguro: Payment completed and credited to your account."
|
| 508 |
msgstr ""
|
| 509 |
|
| 510 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 511 |
msgid "PagSeguro: Payment came into dispute."
|
| 512 |
msgstr ""
|
| 513 |
|
| 514 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 515 |
msgid "Payment for order %s came into dispute"
|
| 516 |
msgstr ""
|
| 517 |
|
| 518 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 519 |
msgid "Payment in dispute"
|
| 520 |
msgstr ""
|
| 521 |
|
| 522 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 523 |
msgid ""
|
| 524 |
"Order %s has been marked as on-hold, because the payment came into dispute "
|
| 525 |
"in PagSeguro."
|
| 526 |
msgstr ""
|
| 527 |
|
| 528 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 529 |
msgid "PagSeguro: Payment refunded."
|
| 530 |
msgstr ""
|
| 531 |
|
| 532 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 533 |
msgid "Payment for order %s refunded"
|
| 534 |
msgstr ""
|
| 535 |
|
| 536 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 537 |
msgid "Payment refunded"
|
| 538 |
msgstr ""
|
| 539 |
|
| 540 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 541 |
msgid "Order %s has been marked as refunded by PagSeguro."
|
| 542 |
msgstr ""
|
| 543 |
|
| 544 |
-
#: includes/class-wc-pagseguro-gateway.php:
|
| 545 |
msgid "PagSeguro: Payment canceled."
|
| 546 |
msgstr ""
|
| 547 |
|
|
@@ -740,12 +736,12 @@ msgstr ""
|
|
| 740 |
msgid "Brazilian flag"
|
| 741 |
msgstr ""
|
| 742 |
|
| 743 |
-
#: woocommerce-pagseguro.php:
|
| 744 |
msgid "Settings"
|
| 745 |
msgstr ""
|
| 746 |
|
| 747 |
#. Plugin URI of the plugin/theme
|
| 748 |
-
msgid "http://github.com/
|
| 749 |
msgstr ""
|
| 750 |
|
| 751 |
#. Description of the plugin/theme
|
|
@@ -757,5 +753,5 @@ msgid "Claudio Sanches"
|
|
| 757 |
msgstr ""
|
| 758 |
|
| 759 |
#. Author URI of the plugin/theme
|
| 760 |
-
msgid "http://
|
| 761 |
-
msgstr ""
|
| 2 |
# This file is distributed under the GPLv2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce PagSeguro 2.12.1\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-pagseguro\n"
|
| 8 |
+
"POT-Creation-Date: 2017-04-04 04:17:03+00:00\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 197 |
msgid "Order %s"
|
| 198 |
msgstr ""
|
| 199 |
|
| 200 |
+
#: includes/class-wc-pagseguro-api.php:609
|
| 201 |
msgid ""
|
| 202 |
"Too bad! The email or token from the PagSeguro are invalids my little "
|
| 203 |
"friend!"
|
| 204 |
msgstr ""
|
| 205 |
|
| 206 |
+
#: includes/class-wc-pagseguro-api.php:646
|
| 207 |
+
#: includes/class-wc-pagseguro-api.php:666
|
| 208 |
+
#: includes/class-wc-pagseguro-api.php:688
|
| 209 |
+
#: includes/class-wc-pagseguro-api.php:748
|
| 210 |
+
#: includes/class-wc-pagseguro-api.php:768
|
| 211 |
#: includes/class-wc-pagseguro-gateway.php:24
|
| 212 |
#: includes/class-wc-pagseguro-gateway.php:186
|
| 213 |
msgid "PagSeguro"
|
| 214 |
msgstr ""
|
| 215 |
|
| 216 |
+
#: includes/class-wc-pagseguro-api.php:666
|
| 217 |
+
#: includes/class-wc-pagseguro-api.php:768
|
| 218 |
msgid ""
|
| 219 |
"An error has occurred while processing your payment, please try again. Or "
|
| 220 |
"contact us for assistance."
|
| 221 |
msgstr ""
|
| 222 |
|
| 223 |
+
#: includes/class-wc-pagseguro-api.php:688
|
| 224 |
msgid "Please, select a payment method."
|
| 225 |
msgstr ""
|
| 226 |
|
| 227 |
+
#: includes/class-wc-pagseguro-api.php:714
|
| 228 |
msgid ""
|
| 229 |
"You are not allowed to use the PagSeguro Transparent Checkout. Looks like "
|
| 230 |
"you neglected to installation guide of this plugin. This is not pretty, do "
|
| 460 |
msgid "PagSeguro Request Unauthorized"
|
| 461 |
msgstr ""
|
| 462 |
|
| 463 |
+
#: includes/class-wc-pagseguro-gateway.php:481
|
|
|
|
|
|
|
|
|
|
|
|
|
| 464 |
msgid "Payer email"
|
| 465 |
msgstr ""
|
| 466 |
|
| 467 |
+
#: includes/class-wc-pagseguro-gateway.php:484
|
| 468 |
msgid "Payer name"
|
| 469 |
msgstr ""
|
| 470 |
|
| 471 |
+
#: includes/class-wc-pagseguro-gateway.php:488
|
| 472 |
msgid "Payment type"
|
| 473 |
msgstr ""
|
| 474 |
|
| 475 |
+
#: includes/class-wc-pagseguro-gateway.php:492
|
| 476 |
msgid "Payment method"
|
| 477 |
msgstr ""
|
| 478 |
|
| 479 |
+
#: includes/class-wc-pagseguro-gateway.php:496
|
| 480 |
#: templates/transparent-checkout-form.php:54
|
| 481 |
msgid "Installments"
|
| 482 |
msgstr ""
|
| 483 |
|
| 484 |
+
#: includes/class-wc-pagseguro-gateway.php:500
|
| 485 |
+
msgid "Payment URL"
|
| 486 |
msgstr ""
|
| 487 |
|
| 488 |
+
#: includes/class-wc-pagseguro-gateway.php:547
|
| 489 |
msgid ""
|
| 490 |
"PagSeguro: The buyer initiated the transaction, but so far the PagSeguro "
|
| 491 |
"not received any payment information."
|
| 492 |
msgstr ""
|
| 493 |
|
| 494 |
+
#: includes/class-wc-pagseguro-gateway.php:551
|
| 495 |
msgid "PagSeguro: Payment under review."
|
| 496 |
msgstr ""
|
| 497 |
|
| 498 |
+
#: includes/class-wc-pagseguro-gateway.php:555
|
| 499 |
msgid "PagSeguro: Payment approved."
|
| 500 |
msgstr ""
|
| 501 |
|
| 502 |
+
#: includes/class-wc-pagseguro-gateway.php:562
|
| 503 |
msgid "PagSeguro: Payment completed and credited to your account."
|
| 504 |
msgstr ""
|
| 505 |
|
| 506 |
+
#: includes/class-wc-pagseguro-gateway.php:566
|
| 507 |
msgid "PagSeguro: Payment came into dispute."
|
| 508 |
msgstr ""
|
| 509 |
|
| 510 |
+
#: includes/class-wc-pagseguro-gateway.php:568
|
| 511 |
msgid "Payment for order %s came into dispute"
|
| 512 |
msgstr ""
|
| 513 |
|
| 514 |
+
#: includes/class-wc-pagseguro-gateway.php:569
|
| 515 |
msgid "Payment in dispute"
|
| 516 |
msgstr ""
|
| 517 |
|
| 518 |
+
#: includes/class-wc-pagseguro-gateway.php:570
|
| 519 |
msgid ""
|
| 520 |
"Order %s has been marked as on-hold, because the payment came into dispute "
|
| 521 |
"in PagSeguro."
|
| 522 |
msgstr ""
|
| 523 |
|
| 524 |
+
#: includes/class-wc-pagseguro-gateway.php:575
|
| 525 |
msgid "PagSeguro: Payment refunded."
|
| 526 |
msgstr ""
|
| 527 |
|
| 528 |
+
#: includes/class-wc-pagseguro-gateway.php:577
|
| 529 |
msgid "Payment for order %s refunded"
|
| 530 |
msgstr ""
|
| 531 |
|
| 532 |
+
#: includes/class-wc-pagseguro-gateway.php:578
|
| 533 |
msgid "Payment refunded"
|
| 534 |
msgstr ""
|
| 535 |
|
| 536 |
+
#: includes/class-wc-pagseguro-gateway.php:579
|
| 537 |
msgid "Order %s has been marked as refunded by PagSeguro."
|
| 538 |
msgstr ""
|
| 539 |
|
| 540 |
+
#: includes/class-wc-pagseguro-gateway.php:584
|
| 541 |
msgid "PagSeguro: Payment canceled."
|
| 542 |
msgstr ""
|
| 543 |
|
| 736 |
msgid "Brazilian flag"
|
| 737 |
msgstr ""
|
| 738 |
|
| 739 |
+
#: woocommerce-pagseguro.php:104
|
| 740 |
msgid "Settings"
|
| 741 |
msgstr ""
|
| 742 |
|
| 743 |
#. Plugin URI of the plugin/theme
|
| 744 |
+
msgid "http://github.com/claudiosanches/woocommerce-pagseguro"
|
| 745 |
msgstr ""
|
| 746 |
|
| 747 |
#. Description of the plugin/theme
|
| 753 |
msgstr ""
|
| 754 |
|
| 755 |
#. Author URI of the plugin/theme
|
| 756 |
+
msgid "http://claudiosanches.com/"
|
| 757 |
+
msgstr ""
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://claudiosanches.com/doacoes/
|
|
| 4 |
Tags: woocommerce, pagseguro, payment
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.7
|
| 7 |
-
Stable tag: 2.12.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -255,7 +255,11 @@ Por favor, caso você tenha algum problema com o funcionamento do plugin, [abra
|
|
| 255 |
|
| 256 |
== Changelog ==
|
| 257 |
|
| 258 |
-
= 2.12.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
|
| 260 |
* Adicionado suporte ao WooCommerce 3.0.
|
| 261 |
* Alterado o tipo dos campos para `tel` no Checkout Transparente. (Possível com a ajuda de [Thiago Guimarães](https://github.com/thiagogsr)).
|
|
@@ -292,6 +296,6 @@ Por favor, caso você tenha algum problema com o funcionamento do plugin, [abra
|
|
| 292 |
|
| 293 |
== Upgrade Notice ==
|
| 294 |
|
| 295 |
-
= 2.12.
|
| 296 |
|
| 297 |
* Suporte ao WooCommerce 3.0, correção dos tipos de campo do Checkout Transparente e correção das máscaras.
|
| 4 |
Tags: woocommerce, pagseguro, payment
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.7
|
| 7 |
+
Stable tag: 2.12.1
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 255 |
|
| 256 |
== Changelog ==
|
| 257 |
|
| 258 |
+
= 2.12.1 - 2017/04/04 =
|
| 259 |
+
|
| 260 |
+
* Correção dos títulos dos campos personalizados salvos ao fazer um pedido.
|
| 261 |
+
|
| 262 |
+
= 2.12.0 - 2017/04/03 =
|
| 263 |
|
| 264 |
* Adicionado suporte ao WooCommerce 3.0.
|
| 265 |
* Alterado o tipo dos campos para `tel` no Checkout Transparente. (Possível com a ajuda de [Thiago Guimarães](https://github.com/thiagogsr)).
|
| 296 |
|
| 297 |
== Upgrade Notice ==
|
| 298 |
|
| 299 |
+
= 2.12.1 =
|
| 300 |
|
| 301 |
* Suporte ao WooCommerce 3.0, correção dos tipos de campo do Checkout Transparente e correção das máscaras.
|
woocommerce-pagseguro.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Description: Gateway de pagamento PagSeguro para WooCommerce.
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: http://claudiosanches.com/
|
| 8 |
-
* Version: 2.12.
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-pagseguro
|
| 11 |
* Domain Path: languages/
|
|
@@ -29,7 +29,7 @@ if ( ! class_exists( 'WC_PagSeguro' ) ) :
|
|
| 29 |
*
|
| 30 |
* @var string
|
| 31 |
*/
|
| 32 |
-
const VERSION = '2.12.
|
| 33 |
|
| 34 |
/**
|
| 35 |
* Instance of this class.
|
| 5 |
* Description: Gateway de pagamento PagSeguro para WooCommerce.
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: http://claudiosanches.com/
|
| 8 |
+
* Version: 2.12.1
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-pagseguro
|
| 11 |
* Domain Path: languages/
|
| 29 |
*
|
| 30 |
* @var string
|
| 31 |
*/
|
| 32 |
+
const VERSION = '2.12.1';
|
| 33 |
|
| 34 |
/**
|
| 35 |
* Instance of this class.
|
