Version Description
2019/09/20 =
Atualizado o nome do plugin de "WooCommerce PagSeguro" para "Claudio Sanches - PagSeguro for WooCommerce".
Download this release
Release Info
| Developer | claudiosanches |
| Plugin | |
| Version | 2.14.0 |
| Comparing to | |
| See all releases | |
Code changes from version 2.13.1 to 2.14.0
- includes/admin/views/html-admin-help-message.php +1 -1
- includes/admin/views/html-notice-missing-ecfb.php +1 -1
- includes/admin/views/html-notice-missing-woocommerce.php +1 -1
- includes/class-wc-pagseguro-api.php +2 -2
- includes/class-wc-pagseguro-gateway.php +2 -2
- includes/class-wc-pagseguro-xml.php +1 -1
- includes/class-wc-pagseguro.php +1 -1
- languages/woocommerce-pagseguro.pot +6 -6
- readme.txt +12 -12
- woocommerce-pagseguro.php +11 -11
includes/admin/views/html-admin-help-message.php
CHANGED
|
@@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 11 |
|
| 12 |
if ( apply_filters( 'woocommerce_pagseguro_help_message', true ) ) : ?>
|
| 13 |
<div class="updated inline woocommerce-message">
|
| 14 |
-
<p><?php echo esc_html( sprintf( __( 'Help us keep the %s plugin free making a donation or rate %s on WordPress.org. Thank you in advance!', 'woocommerce-pagseguro' ), __( '
|
| 15 |
<p><a href="http://claudiosmweb.com/doacoes/" target="_blank" class="button button-primary"><?php esc_html_e( 'Make a donation', 'woocommerce-pagseguro' ); ?></a> <a href="https://wordpress.org/support/view/plugin-reviews/woocommerce-pagseguro?filter=5#postform" target="_blank" class="button button-secondary"><?php esc_html_e( 'Make a review', 'woocommerce-pagseguro' ); ?></a></p>
|
| 16 |
</div>
|
| 17 |
<?php endif;
|
| 11 |
|
| 12 |
if ( apply_filters( 'woocommerce_pagseguro_help_message', true ) ) : ?>
|
| 13 |
<div class="updated inline woocommerce-message">
|
| 14 |
+
<p><?php echo esc_html( sprintf( __( 'Help us keep the %s plugin free making a donation or rate %s on WordPress.org. Thank you in advance!', 'woocommerce-pagseguro' ), __( 'Claudio Sanches - PagSeguro for WooCommerce', 'woocommerce-pagseguro' ), '★★★★★' ) ); ?></p>
|
| 15 |
<p><a href="http://claudiosmweb.com/doacoes/" target="_blank" class="button button-primary"><?php esc_html_e( 'Make a donation', 'woocommerce-pagseguro' ); ?></a> <a href="https://wordpress.org/support/view/plugin-reviews/woocommerce-pagseguro?filter=5#postform" target="_blank" class="button button-secondary"><?php esc_html_e( 'Make a review', 'woocommerce-pagseguro' ); ?></a></p>
|
| 16 |
</div>
|
| 17 |
<?php endif;
|
includes/admin/views/html-notice-missing-ecfb.php
CHANGED
|
@@ -19,7 +19,7 @@ if ( function_exists( 'get_plugins' ) ) {
|
|
| 19 |
?>
|
| 20 |
|
| 21 |
<div class="error">
|
| 22 |
-
<p><strong><?php esc_html_e( '
|
| 23 |
|
| 24 |
<?php if ( $is_installed && current_user_can( 'install_plugins' ) ) : ?>
|
| 25 |
<p><a href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=woocommerce-extra-checkout-fields-for-brazil/woocommerce-extra-checkout-fields-for-brazil.php&plugin_status=active' ), 'activate-plugin_woocommerce-extra-checkout-fields-for-brazil/woocommerce-extra-checkout-fields-for-brazil.php' ) ); ?>" class="button button-primary"><?php esc_html_e( 'Active Extra Checkout Fields for Brazil', 'woocommerce-pagseguro' ); ?></a></p>
|
| 19 |
?>
|
| 20 |
|
| 21 |
<div class="error">
|
| 22 |
+
<p><strong><?php esc_html_e( 'Claudio Sanches - PagSeguro for WooCommerce', 'woocommerce-pagseguro' ); ?></strong> <?php esc_html_e( 'depends on the last version of Extra Checkout Fields for Brazil to work!', 'woocommerce-pagseguro' ); ?></p>
|
| 23 |
|
| 24 |
<?php if ( $is_installed && current_user_can( 'install_plugins' ) ) : ?>
|
| 25 |
<p><a href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=woocommerce-extra-checkout-fields-for-brazil/woocommerce-extra-checkout-fields-for-brazil.php&plugin_status=active' ), 'activate-plugin_woocommerce-extra-checkout-fields-for-brazil/woocommerce-extra-checkout-fields-for-brazil.php' ) ); ?>" class="button button-primary"><?php esc_html_e( 'Active Extra Checkout Fields for Brazil', 'woocommerce-pagseguro' ); ?></a></p>
|
includes/admin/views/html-notice-missing-woocommerce.php
CHANGED
|
@@ -19,7 +19,7 @@ if ( function_exists( 'get_plugins' ) ) {
|
|
| 19 |
?>
|
| 20 |
|
| 21 |
<div class="error">
|
| 22 |
-
<p><strong><?php esc_html_e( '
|
| 23 |
|
| 24 |
<?php if ( $is_installed && current_user_can( 'install_plugins' ) ) : ?>
|
| 25 |
<p><a href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=woocommerce/woocommerce.php&plugin_status=active' ), 'activate-plugin_woocommerce/woocommerce.php' ) ); ?>" class="button button-primary"><?php esc_html_e( 'Active WooCommerce', 'woocommerce-pagseguro' ); ?></a></p>
|
| 19 |
?>
|
| 20 |
|
| 21 |
<div class="error">
|
| 22 |
+
<p><strong><?php esc_html_e( 'Claudio Sanches - PagSeguro for WooCommerce', 'woocommerce-pagseguro' ); ?></strong> <?php esc_html_e( 'depends on the last version of WooCommerce to work!', 'woocommerce-pagseguro' ); ?></p>
|
| 23 |
|
| 24 |
<?php if ( $is_installed && current_user_can( 'install_plugins' ) ) : ?>
|
| 25 |
<p><a href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=woocommerce/woocommerce.php&plugin_status=active' ), 'activate-plugin_woocommerce/woocommerce.php' ) ); ?>" class="button button-primary"><?php esc_html_e( 'Active WooCommerce', 'woocommerce-pagseguro' ); ?></a></p>
|
includes/class-wc-pagseguro-api.php
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* @package WooCommerce_PagSeguro/Classes/API
|
| 6 |
* @version 2.12.0
|
|
@@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 11 |
}
|
| 12 |
|
| 13 |
/**
|
| 14 |
-
*
|
| 15 |
*/
|
| 16 |
class WC_PagSeguro_API {
|
| 17 |
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* API class
|
| 4 |
*
|
| 5 |
* @package WooCommerce_PagSeguro/Classes/API
|
| 6 |
* @version 2.12.0
|
| 11 |
}
|
| 12 |
|
| 13 |
/**
|
| 14 |
+
* API.
|
| 15 |
*/
|
| 16 |
class WC_PagSeguro_API {
|
| 17 |
|
includes/class-wc-pagseguro-gateway.php
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* @package WooCommerce_PagSeguro/Classes/Gateway
|
| 6 |
* @version 2.13.0
|
|
@@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 11 |
}
|
| 12 |
|
| 13 |
/**
|
| 14 |
-
*
|
| 15 |
*/
|
| 16 |
class WC_PagSeguro_Gateway extends WC_Payment_Gateway {
|
| 17 |
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* Gateway class
|
| 4 |
*
|
| 5 |
* @package WooCommerce_PagSeguro/Classes/Gateway
|
| 6 |
* @version 2.13.0
|
| 11 |
}
|
| 12 |
|
| 13 |
/**
|
| 14 |
+
* Gateway.
|
| 15 |
*/
|
| 16 |
class WC_PagSeguro_Gateway extends WC_Payment_Gateway {
|
| 17 |
|
includes/class-wc-pagseguro-xml.php
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* @package WooCommerce_PagSeguro/Classes/XML
|
| 6 |
* @version 2.12.0
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* SimpleXMLElement class
|
| 4 |
*
|
| 5 |
* @package WooCommerce_PagSeguro/Classes/XML
|
| 6 |
* @version 2.12.0
|
includes/class-wc-pagseguro.php
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* @package WooCommerce_PagSeguro
|
| 6 |
*/
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* Plugin's main class
|
| 4 |
*
|
| 5 |
* @package WooCommerce_PagSeguro
|
| 6 |
*/
|
languages/woocommerce-pagseguro.pot
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
-
# Copyright (C)
|
| 2 |
# This file is distributed under the GPLv3 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version:
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-pagseguro\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 <LL@li.org>\n"
|
| 15 |
-
"X-Generator: grunt-wp-
|
| 16 |
|
| 17 |
#: includes/admin/views/html-admin-help-message.php:14
|
| 18 |
msgid ""
|
|
@@ -21,7 +21,7 @@ msgid ""
|
|
| 21 |
msgstr ""
|
| 22 |
|
| 23 |
#. Plugin Name of the plugin/theme
|
| 24 |
-
msgid "
|
| 25 |
msgstr ""
|
| 26 |
|
| 27 |
#: includes/admin/views/html-admin-help-message.php:15
|
| 1 |
+
# Copyright (C) 2019 Claudio Sanches
|
| 2 |
# This file is distributed under the GPLv3 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: Claudio Sanches - PagSeguro for WooCommerce 2.14.0\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-pagseguro\n"
|
| 8 |
+
"POT-Creation-Date: 2019-09-20 22:53:10+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: 2019-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 1.0.3\n"
|
| 16 |
|
| 17 |
#: includes/admin/views/html-admin-help-message.php:14
|
| 18 |
msgid ""
|
| 21 |
msgstr ""
|
| 22 |
|
| 23 |
#. Plugin Name of the plugin/theme
|
| 24 |
+
msgid "Claudio Sanches - PagSeguro for WooCommerce"
|
| 25 |
msgstr ""
|
| 26 |
|
| 27 |
#: includes/admin/views/html-admin-help-message.php:15
|
readme.txt
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
===
|
| 2 |
Contributors: claudiosanches, Gabriel Reguly
|
| 3 |
Donate link: https://claudiosanches.com/doacoes/
|
| 4 |
Tags: woocommerce, pagseguro, payment
|
| 5 |
Requires at least: 4.0
|
| 6 |
-
Tested up to:
|
| 7 |
-
Stable tag: 2.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -28,7 +28,7 @@ Adicione o PagSeguro como método de pagamento em sua loja WooCommerce.
|
|
| 28 |
|
| 29 |
[PagSeguro](https://pagseguro.uol.com.br/) é um método de pagamento brasileiro desenvolvido pela UOL.
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
Este plugin foi desenvolvido a partir da [documentação oficial do PagSeguro](https://pagseguro.uol.com.br/v2/guia-de-integracao/visao-geral.html) e utiliza a última versão da API de pagamentos.
|
| 34 |
|
|
@@ -42,7 +42,7 @@ Além que é possível utilizar o novo [sandbox do PagSeguro](https://sandbox.pa
|
|
| 42 |
|
| 43 |
= Compatibilidade =
|
| 44 |
|
| 45 |
-
Compatível com versões
|
| 46 |
|
| 47 |
Este plugin também é compatível com o [WooCommerce Extra Checkout Fields for Brazil](http://wordpress.org/plugins/woocommerce-extra-checkout-fields-for-brazil/), desta forma é possível enviar os campos de "CPF", "número do endereço" e "bairro" (para o Checkout Transparente é obrigatório o uso deste plugin).
|
| 48 |
|
|
@@ -148,7 +148,7 @@ Este plugin esta licenciado como GPL.
|
|
| 148 |
|
| 149 |
= O que eu preciso para utilizar este plugin? =
|
| 150 |
|
| 151 |
-
* Ter instalado
|
| 152 |
* Possuir uma conta no PagSeguro.
|
| 153 |
* Gerar um token de segurança no PagSeguro.
|
| 154 |
* Desativar a opção "Pagamento via Formulário HTML" em integrações na página do PagSeguro.
|
|
@@ -255,6 +255,10 @@ Por favor, caso você tenha algum problema com o funcionamento do plugin, [abra
|
|
| 255 |
|
| 256 |
== Changelog ==
|
| 257 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
= 2.13.1 - 2018/08/03 =
|
| 259 |
|
| 260 |
* Corrigido alerta do PHP sobre variável inexistente.
|
|
@@ -304,10 +308,6 @@ Por favor, caso você tenha algum problema com o funcionamento do plugin, [abra
|
|
| 304 |
|
| 305 |
== Upgrade Notice ==
|
| 306 |
|
| 307 |
-
= 2.
|
| 308 |
|
| 309 |
-
*
|
| 310 |
-
* Implementada baixa automática de estoque ao comprar por boleto (funciona apenas no WooCommerce 3 ou superior).
|
| 311 |
-
* Estoque é restaurado automaticamente quando alguma notificação do PagSeguro marca o pedido como reembolsado ou cancelado (funciona apenas no WooCommerce 3 ou superior).
|
| 312 |
-
* Corrigida a mudança de status do pedido de Cancelado para Processando (funciona apenas no WooCommerce 3 ou superior).
|
| 313 |
-
* Adicionadas informações sobre a taxa de intermédio do PagSeguro nos meta dados do pedido.
|
| 1 |
+
=== Claudio Sanches - PagSeguro for WooCommerce ===
|
| 2 |
Contributors: claudiosanches, Gabriel Reguly
|
| 3 |
Donate link: https://claudiosanches.com/doacoes/
|
| 4 |
Tags: woocommerce, pagseguro, payment
|
| 5 |
Requires at least: 4.0
|
| 6 |
+
Tested up to: 5.2
|
| 7 |
+
Stable tag: 2.14.0
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 28 |
|
| 29 |
[PagSeguro](https://pagseguro.uol.com.br/) é um método de pagamento brasileiro desenvolvido pela UOL.
|
| 30 |
|
| 31 |
+
Este plugin foi desenvolvido sem nenhum incentivo do PagSeguro ou da UOL. Nenhum dos desenvolvedores deste plugin possuem vínculos com estas duas empresas.
|
| 32 |
|
| 33 |
Este plugin foi desenvolvido a partir da [documentação oficial do PagSeguro](https://pagseguro.uol.com.br/v2/guia-de-integracao/visao-geral.html) e utiliza a última versão da API de pagamentos.
|
| 34 |
|
| 42 |
|
| 43 |
= Compatibilidade =
|
| 44 |
|
| 45 |
+
Compatível com versões atuais do WooCommerce.
|
| 46 |
|
| 47 |
Este plugin também é compatível com o [WooCommerce Extra Checkout Fields for Brazil](http://wordpress.org/plugins/woocommerce-extra-checkout-fields-for-brazil/), desta forma é possível enviar os campos de "CPF", "número do endereço" e "bairro" (para o Checkout Transparente é obrigatório o uso deste plugin).
|
| 48 |
|
| 148 |
|
| 149 |
= O que eu preciso para utilizar este plugin? =
|
| 150 |
|
| 151 |
+
* Ter instalado uma versão atual do plugin WooCommerce.
|
| 152 |
* Possuir uma conta no PagSeguro.
|
| 153 |
* Gerar um token de segurança no PagSeguro.
|
| 154 |
* Desativar a opção "Pagamento via Formulário HTML" em integrações na página do PagSeguro.
|
| 255 |
|
| 256 |
== Changelog ==
|
| 257 |
|
| 258 |
+
= 2.14.0 - 2019/09/20 =
|
| 259 |
+
|
| 260 |
+
* Atualizado o nome do plugin de "WooCommerce PagSeguro" para "Claudio Sanches - PagSeguro for WooCommerce".
|
| 261 |
+
|
| 262 |
= 2.13.1 - 2018/08/03 =
|
| 263 |
|
| 264 |
* Corrigido alerta do PHP sobre variável inexistente.
|
| 308 |
|
| 309 |
== Upgrade Notice ==
|
| 310 |
|
| 311 |
+
= 2.14.0 =
|
| 312 |
|
| 313 |
+
* Atualizado o nome do plugin de "WooCommerce PagSeguro" para "Claudio Sanches - PagSeguro for WooCommerce".
|
|
|
|
|
|
|
|
|
|
|
|
woocommerce-pagseguro.php
CHANGED
|
@@ -1,29 +1,29 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Plugin Name:
|
| 4 |
* Plugin URI: https://github.com/claudiosanches/woocommerce-pagseguro
|
| 5 |
* Description: Includes PagSeguro as a payment gateway to WooCommerce.
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: https://claudiosanches.com
|
| 8 |
-
* Version: 2.
|
| 9 |
* License: GPLv3 or later
|
| 10 |
* Text Domain: woocommerce-pagseguro
|
| 11 |
* Domain Path: /languages
|
| 12 |
* WC requires at least: 3.0.0
|
| 13 |
* WC tested up to: 3.4.0
|
| 14 |
*
|
| 15 |
-
*
|
| 16 |
-
* it under the terms of the
|
| 17 |
-
*
|
| 18 |
-
* any later version.
|
| 19 |
*
|
| 20 |
-
*
|
| 21 |
-
* but WITHOUT ANY WARRANTY; without even the implied
|
| 22 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 23 |
* GNU General Public License for more details.
|
| 24 |
*
|
| 25 |
* You should have received a copy of the GNU General Public License
|
| 26 |
-
* along with
|
| 27 |
* <https://www.gnu.org/licenses/gpl-3.0.txt>.
|
| 28 |
*
|
| 29 |
* @package WooCommerce_PagSeguro
|
|
@@ -32,7 +32,7 @@
|
|
| 32 |
defined( 'ABSPATH' ) || exit;
|
| 33 |
|
| 34 |
// Plugin constants.
|
| 35 |
-
define( 'WC_PAGSEGURO_VERSION', '2.
|
| 36 |
define( 'WC_PAGSEGURO_PLUGIN_FILE', __FILE__ );
|
| 37 |
|
| 38 |
if ( ! class_exists( 'WC_PagSeguro' ) ) {
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* Plugin Name: Claudio Sanches - PagSeguro for WooCommerce
|
| 4 |
* Plugin URI: https://github.com/claudiosanches/woocommerce-pagseguro
|
| 5 |
* Description: Includes PagSeguro as a payment gateway to WooCommerce.
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: https://claudiosanches.com
|
| 8 |
+
* Version: 2.14.0
|
| 9 |
* License: GPLv3 or later
|
| 10 |
* Text Domain: woocommerce-pagseguro
|
| 11 |
* Domain Path: /languages
|
| 12 |
* WC requires at least: 3.0.0
|
| 13 |
* WC tested up to: 3.4.0
|
| 14 |
*
|
| 15 |
+
* Claudio Sanches - PagSeguro for WooCommerce is free software: you can
|
| 16 |
+
* redistribute it and/or modify it under the terms of the
|
| 17 |
+
* GNU General Public License as published by the Free Software Foundation,
|
| 18 |
+
* either version 3 of the License, or any later version.
|
| 19 |
*
|
| 20 |
+
* Claudio Sanches - PagSeguro for WooCommerce is distributed in the hope that
|
| 21 |
+
* it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
| 22 |
+
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 23 |
* GNU General Public License for more details.
|
| 24 |
*
|
| 25 |
* You should have received a copy of the GNU General Public License
|
| 26 |
+
* along with Claudio Sanches - PagSeguro for WooCommerce. If not, see
|
| 27 |
* <https://www.gnu.org/licenses/gpl-3.0.txt>.
|
| 28 |
*
|
| 29 |
* @package WooCommerce_PagSeguro
|
| 32 |
defined( 'ABSPATH' ) || exit;
|
| 33 |
|
| 34 |
// Plugin constants.
|
| 35 |
+
define( 'WC_PAGSEGURO_VERSION', '2.14.0' );
|
| 36 |
define( 'WC_PAGSEGURO_PLUGIN_FILE', __FILE__ );
|
| 37 |
|
| 38 |
if ( ! class_exists( 'WC_PagSeguro' ) ) {
|
