Version Description
2016/09/27 =
Corrigido erro quando utilizado cdigo de rastreio incorreto.
Download this release
Release Info
| Developer | claudiosanches |
| Plugin | |
| Version | 3.1.3 |
| Comparing to | |
| See all releases | |
Code changes from version 3.1.2 to 3.1.3
includes/class-wc-correios-tracking-history.php
CHANGED
|
@@ -88,7 +88,10 @@ class WC_Correios_Tracking_History {
|
|
| 88 |
try {
|
| 89 |
$soap = new WC_Correios_Soap_Client( $this->get_tracking_history_webservice_url() );
|
| 90 |
$response = $soap->buscaEventos( $args );
|
| 91 |
-
|
|
|
|
|
|
|
|
|
|
| 92 |
} catch ( Exception $e ) {
|
| 93 |
$this->logger( sprintf( 'An error occurred while trying to fetch the tracking history for "%s": %s', $tracking_code, $e->getMessage() ) );
|
| 94 |
}
|
| 88 |
try {
|
| 89 |
$soap = new WC_Correios_Soap_Client( $this->get_tracking_history_webservice_url() );
|
| 90 |
$response = $soap->buscaEventos( $args );
|
| 91 |
+
|
| 92 |
+
if ( isset( $response->return->objeto->evento ) ) {
|
| 93 |
+
$events = (array) $response->return->objeto->evento;
|
| 94 |
+
}
|
| 95 |
} catch ( Exception $e ) {
|
| 96 |
$this->logger( sprintf( 'An error occurred while trying to fetch the tracking history for "%s": %s', $tracking_code, $e->getMessage() ) );
|
| 97 |
}
|
languages/woocommerce-correios.pot
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
# This file is distributed under the GPLv2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: WooCommerce Correios 3.1.
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
|
| 7 |
-
"POT-Creation-Date: 2016-09-
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 2 |
# This file is distributed under the GPLv2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce Correios 3.1.3\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
|
| 7 |
+
"POT-Creation-Date: 2016-09-27 12:24:02+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://claudiosmweb.com/doacoes/
|
|
| 4 |
Tags: shipping, delivery, woocommerce, correios
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.6
|
| 7 |
-
Stable tag: 3.1.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -203,6 +203,10 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
| 203 |
|
| 204 |
== Changelog ==
|
| 205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206 |
= 3.1.2 - 2016/09/20 =
|
| 207 |
|
| 208 |
- Removida mensagem de erro quando serviço é indisponível no trecho informado, esta mensagem estava causando muita confusão para usuários quando Sedex 10 ou Sedex Hoje estão indisponíveis.
|
|
@@ -257,6 +261,6 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
| 257 |
|
| 258 |
== Upgrade Notice ==
|
| 259 |
|
| 260 |
-
= 3.1.
|
| 261 |
|
| 262 |
-
-
|
| 4 |
Tags: shipping, delivery, woocommerce, correios
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.6
|
| 7 |
+
Stable tag: 3.1.3
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 203 |
|
| 204 |
== Changelog ==
|
| 205 |
|
| 206 |
+
= 3.1.3 - 2016/09/27 =
|
| 207 |
+
|
| 208 |
+
- Corrigido erro quando utilizado código de rastreio incorreto.
|
| 209 |
+
|
| 210 |
= 3.1.2 - 2016/09/20 =
|
| 211 |
|
| 212 |
- Removida mensagem de erro quando serviço é indisponível no trecho informado, esta mensagem estava causando muita confusão para usuários quando Sedex 10 ou Sedex Hoje estão indisponíveis.
|
| 261 |
|
| 262 |
== Upgrade Notice ==
|
| 263 |
|
| 264 |
+
= 3.1.3 =
|
| 265 |
|
| 266 |
+
- Corrigido erro quando utilizado código de rastreio incorreto.
|
woocommerce-correios.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Description: Correios para WooCommerce
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: http://claudiosmweb.com/
|
| 8 |
-
* Version: 3.1.
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-correios
|
| 11 |
* Domain Path: languages/
|
|
@@ -29,7 +29,7 @@ if ( ! class_exists( 'WC_Correios' ) ) :
|
|
| 29 |
*
|
| 30 |
* @var string
|
| 31 |
*/
|
| 32 |
-
const VERSION = '3.1.
|
| 33 |
|
| 34 |
/**
|
| 35 |
* Instance of this class.
|
| 5 |
* Description: Correios para WooCommerce
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: http://claudiosmweb.com/
|
| 8 |
+
* Version: 3.1.3
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-correios
|
| 11 |
* Domain Path: languages/
|
| 29 |
*
|
| 30 |
* @var string
|
| 31 |
*/
|
| 32 |
+
const VERSION = '3.1.3';
|
| 33 |
|
| 34 |
/**
|
| 35 |
* Instance of this class.
|
