WooCommerce PagSeguro - Version 2.11.5

Version Description

  • 2017/01/17 =

  • Adicionada nota dizendo que o pedido esta sendo feito no Brasil durante o Checkout Transparente.

Download this release

Release Info

Developer claudiosanches
Plugin Icon 128x128 WooCommerce PagSeguro
Version 2.11.5
Comparing to
See all releases

Code changes from version 2.11.4 to 2.11.5

assets/images/brazilian-flag.png ADDED
Binary file
includes/class-wc-pagseguro-gateway.php CHANGED
@@ -347,6 +347,7 @@ class WC_PagSeguro_Gateway extends WC_Payment_Gateway {
347
  'tc_transfer' => $this->tc_transfer,
348
  'tc_ticket' => $this->tc_ticket,
349
  'tc_ticket_message' => $this->tc_ticket_message,
 
350
  ), 'woocommerce/pagseguro/', WC_PagSeguro::get_templates_path() );
351
  }
352
  }
347
  'tc_transfer' => $this->tc_transfer,
348
  'tc_ticket' => $this->tc_ticket,
349
  'tc_ticket_message' => $this->tc_ticket_message,
350
+ 'flag' => plugins_url( 'assets/images/brazilian-flag.png', plugin_dir_path( __FILE__ ) ),
351
  ), 'woocommerce/pagseguro/', WC_PagSeguro::get_templates_path() );
352
  }
353
  }
languages/woocommerce-pagseguro.pot CHANGED
@@ -1,15 +1,15 @@
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 PagSeguro 2.11.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-pagseguro\n"
8
- "POT-Creation-Date: 2016-11-30 23:17:36+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 <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n 0.5.3\n"
@@ -456,92 +456,92 @@ msgstr ""
456
  msgid "Log PagSeguro events, such as API requests, inside %s"
457
  msgstr ""
458
 
459
- #: includes/class-wc-pagseguro-gateway.php:460
460
  msgid "PagSeguro Request Unauthorized"
461
  msgstr ""
462
 
463
- #: includes/class-wc-pagseguro-gateway.php:494
464
  msgid "PagSeguro Transaction ID"
465
  msgstr ""
466
 
467
- #: includes/class-wc-pagseguro-gateway.php:501
468
  msgid "Payer email"
469
  msgstr ""
470
 
471
- #: includes/class-wc-pagseguro-gateway.php:508
472
  msgid "Payer name"
473
  msgstr ""
474
 
475
- #: includes/class-wc-pagseguro-gateway.php:516
476
  msgid "Payment type"
477
  msgstr ""
478
 
479
- #: includes/class-wc-pagseguro-gateway.php:524
480
  msgid "Payment method"
481
  msgstr ""
482
 
483
- #: includes/class-wc-pagseguro-gateway.php:532
484
  #: templates/transparent-checkout-form.php:54
485
  msgid "Installments"
486
  msgstr ""
487
 
488
- #: includes/class-wc-pagseguro-gateway.php:540
489
  msgid "Payment url"
490
  msgstr ""
491
 
492
- #: includes/class-wc-pagseguro-gateway.php:552
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:556
499
  msgid "PagSeguro: Payment under review."
500
  msgstr ""
501
 
502
- #: includes/class-wc-pagseguro-gateway.php:560
503
  msgid "PagSeguro: Payment approved."
504
  msgstr ""
505
 
506
- #: includes/class-wc-pagseguro-gateway.php:570
507
  msgid "PagSeguro: Payment completed and credited to your account."
508
  msgstr ""
509
 
510
- #: includes/class-wc-pagseguro-gateway.php:574
511
  msgid "PagSeguro: Payment came into dispute."
512
  msgstr ""
513
 
514
- #: includes/class-wc-pagseguro-gateway.php:576
515
  msgid "Payment for order %s came into dispute"
516
  msgstr ""
517
 
518
- #: includes/class-wc-pagseguro-gateway.php:577
519
  msgid "Payment in dispute"
520
  msgstr ""
521
 
522
- #: includes/class-wc-pagseguro-gateway.php:578
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:583
529
  msgid "PagSeguro: Payment refunded."
530
  msgstr ""
531
 
532
- #: includes/class-wc-pagseguro-gateway.php:585
533
  msgid "Payment for order %s refunded"
534
  msgstr ""
535
 
536
- #: includes/class-wc-pagseguro-gateway.php:586
537
  msgid "Payment refunded"
538
  msgstr ""
539
 
540
- #: includes/class-wc-pagseguro-gateway.php:587
541
  msgid "Order %s has been marked as refunded by PagSeguro."
542
  msgstr ""
543
 
544
- #: includes/class-wc-pagseguro-gateway.php:592
545
  msgid "PagSeguro: Payment canceled."
546
  msgstr ""
547
 
@@ -732,6 +732,14 @@ msgid ""
732
  "retailer."
733
  msgstr ""
734
 
 
 
 
 
 
 
 
 
735
  #: woocommerce-pagseguro.php:106 woocommerce-pagseguro.php:108
736
  msgid "Settings"
737
  msgstr ""
1
+ # Copyright (C) 2017 Claudio Sanches
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce PagSeguro 2.11.5\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-pagseguro\n"
8
+ "POT-Creation-Date: 2017-01-18 00:15:30+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: 2017-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n 0.5.3\n"
456
  msgid "Log PagSeguro events, such as API requests, inside %s"
457
  msgstr ""
458
 
459
+ #: includes/class-wc-pagseguro-gateway.php:461
460
  msgid "PagSeguro Request Unauthorized"
461
  msgstr ""
462
 
463
+ #: includes/class-wc-pagseguro-gateway.php:495
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:509
472
  msgid "Payer name"
473
  msgstr ""
474
 
475
+ #: includes/class-wc-pagseguro-gateway.php:517
476
  msgid "Payment type"
477
  msgstr ""
478
 
479
+ #: includes/class-wc-pagseguro-gateway.php:525
480
  msgid "Payment method"
481
  msgstr ""
482
 
483
+ #: includes/class-wc-pagseguro-gateway.php:533
484
  #: templates/transparent-checkout-form.php:54
485
  msgid "Installments"
486
  msgstr ""
487
 
488
+ #: includes/class-wc-pagseguro-gateway.php:541
489
  msgid "Payment url"
490
  msgstr ""
491
 
492
+ #: includes/class-wc-pagseguro-gateway.php:553
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:557
499
  msgid "PagSeguro: Payment under review."
500
  msgstr ""
501
 
502
+ #: includes/class-wc-pagseguro-gateway.php:561
503
  msgid "PagSeguro: Payment approved."
504
  msgstr ""
505
 
506
+ #: includes/class-wc-pagseguro-gateway.php:571
507
  msgid "PagSeguro: Payment completed and credited to your account."
508
  msgstr ""
509
 
510
+ #: includes/class-wc-pagseguro-gateway.php:575
511
  msgid "PagSeguro: Payment came into dispute."
512
  msgstr ""
513
 
514
+ #: includes/class-wc-pagseguro-gateway.php:577
515
  msgid "Payment for order %s came into dispute"
516
  msgstr ""
517
 
518
+ #: includes/class-wc-pagseguro-gateway.php:578
519
  msgid "Payment in dispute"
520
  msgstr ""
521
 
522
+ #: includes/class-wc-pagseguro-gateway.php:579
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:584
529
  msgid "PagSeguro: Payment refunded."
530
  msgstr ""
531
 
532
+ #: includes/class-wc-pagseguro-gateway.php:586
533
  msgid "Payment for order %s refunded"
534
  msgstr ""
535
 
536
+ #: includes/class-wc-pagseguro-gateway.php:587
537
  msgid "Payment refunded"
538
  msgstr ""
539
 
540
+ #: includes/class-wc-pagseguro-gateway.php:588
541
  msgid "Order %s has been marked as refunded by PagSeguro."
542
  msgstr ""
543
 
544
+ #: includes/class-wc-pagseguro-gateway.php:593
545
  msgid "PagSeguro: Payment canceled."
546
  msgstr ""
547
 
732
  "retailer."
733
  msgstr ""
734
 
735
+ #: templates/transparent-checkout-form.php:105
736
+ msgid "This purchase is being made in Brazil"
737
+ msgstr ""
738
+
739
+ #: templates/transparent-checkout-form.php:105
740
+ msgid "Brazilian flag"
741
+ msgstr ""
742
+
743
  #: woocommerce-pagseguro.php:106 woocommerce-pagseguro.php:108
744
  msgid "Settings"
745
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://claudiosmweb.com/doacoes/
4
  Tags: woocommerce, pagseguro, payment
5
  Requires at least: 4.0
6
  Tested up to: 4.7
7
- Stable tag: 2.11.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -255,6 +255,10 @@ Por favor, caso você tenha algum problema com o funcionamento do plugin, [abra
255
 
256
  == Changelog ==
257
 
 
 
 
 
258
  = 2.11.4 - 2016/11/30 =
259
 
260
  * Adicionada nova mensagem de erro quando utilizado o mesmo e-mail para realizar pagamentos com o mesmo e-mail da conta do recebedor.
@@ -280,40 +284,8 @@ Por favor, caso você tenha algum problema com o funcionamento do plugin, [abra
280
  * Melhorado o checkout transparente quando usado o tema Storefront.
281
  * Adicionada opções para token e e-mail de sandbox.
282
 
283
- = 2.10.2 - 2015/08/08 =
284
-
285
- * Corrigido erro na tradução pt_BR do plugin.
286
-
287
- = 2.10.1 - 2015/08/08 =
288
-
289
- * Corrigido os links dos alertas sobre opções obrigatórios não configuradas do plugin.
290
-
291
- = 2.10.0 - 2015/08/08 =
292
-
293
- * Adicionado suporte para WooCommerce 2.4.x.
294
- * Removido suporte para WooCommerce 2.0.x.
295
-
296
- = 2.9.0 - 2015/06/23 =
297
-
298
- * Adicionado método para ignorar a opção "Manter Estoque (minutos)" do WooCommerce.
299
-
300
- = 2.8.1 - 2015/02/07 =
301
-
302
- * Melhorado o suporte do Checkout Transparente no WooCommerce 2.3.
303
-
304
- = 2.8.0 - 2015/02/03 =
305
-
306
- * Adicionado suporte para o WooCommerce 2.3.
307
- * Adicionado suporte para WooCommerce Multilingual.
308
- * Adicionado recurso para utilizar o endereço de entrega no Lightbox (antes funcionava apenas com checkout normal ou transparente).
309
- * Adicionada alerta de erro para CPF invalido com checkout transparente.
310
- * Correções na tradução do plugin.
311
-
312
  == Upgrade Notice ==
313
 
314
- = 2.11.4 =
315
 
316
- * Adicionada nova mensagem de erro quando utilizado o mesmo e-mail para realizar pagamentos com o mesmo e-mail da conta do recebedor.
317
- * Removida opção obsoleta de déposito bancário pelo Bradesco.
318
- * Corrigido links do Sandbox na página de administração.
319
- * Adicionada modificação para enviar nome da empresa quando utilizado CNPJ.
4
  Tags: woocommerce, pagseguro, payment
5
  Requires at least: 4.0
6
  Tested up to: 4.7
7
+ Stable tag: 2.11.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
255
 
256
  == Changelog ==
257
 
258
+ = 2.11.5 - 2017/01/17 =
259
+
260
+ * Adicionada nota dizendo que o pedido esta sendo feito no Brasil durante o Checkout Transparente.
261
+
262
  = 2.11.4 - 2016/11/30 =
263
 
264
  * Adicionada nova mensagem de erro quando utilizado o mesmo e-mail para realizar pagamentos com o mesmo e-mail da conta do recebedor.
284
  * Melhorado o checkout transparente quando usado o tema Storefront.
285
  * Adicionada opções para token e e-mail de sandbox.
286
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
  == Upgrade Notice ==
288
 
289
+ = 2.11.5 =
290
 
291
+ * Adicionada nota dizendo que o pedido esta sendo feito no Brasil durante o Checkout transparente.
 
 
 
templates/transparent-checkout-form.php CHANGED
@@ -102,4 +102,6 @@ if ( ! defined( 'ABSPATH' ) ) {
102
  </div>
103
  <?php endif; ?>
104
 
 
 
105
  </fieldset>
102
  </div>
103
  <?php endif; ?>
104
 
105
+ <p><?php esc_html_e( 'This purchase is being made in Brazil', 'woocommerce-pagseguro' ); ?> <img src="<?php echo esc_url( $flag ); ?>" alt="<?php esc_attr_e( 'Brazilian flag', 'woocommerce-pagseguro' ); ?>" style="display: inline; float: none; vertical-align: middle; border: none;" /></p>
106
+
107
  </fieldset>
woocommerce-pagseguro.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Gateway de pagamento PagSeguro para WooCommerce.
6
  * Author: Claudio Sanches
7
  * Author URI: http://claudiosmweb.com/
8
- * Version: 2.11.4
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.11.4';
33
 
34
  /**
35
  * Instance of this class.
5
  * Description: Gateway de pagamento PagSeguro para WooCommerce.
6
  * Author: Claudio Sanches
7
  * Author URI: http://claudiosmweb.com/
8
+ * Version: 2.11.5
9
  * License: GPLv2 or later
10
  * Text Domain: woocommerce-pagseguro
11
  * Domain Path: languages/
29
  *
30
  * @var string
31
  */
32
+ const VERSION = '2.11.5';
33
 
34
  /**
35
  * Instance of this class.