Version Notes
Bugfix:
- Corrige Recoverable Error e Soap Error
Download this release
Release Info
Developer | Pedro Teixeira |
Extension | PedroTeixeira_Correios |
Version | 4.7.2 |
Comparing to | |
See all releases |
Code changes from version 4.7.1 to 4.7.2
app/code/community/PedroTeixeira/Correios/Model/Carrier/CorreiosMethod.php
CHANGED
@@ -623,7 +623,7 @@ class PedroTeixeira_Correios_Model_Carrier_CorreiosMethod
|
|
623 |
*
|
624 |
* @return array
|
625 |
*/
|
626 |
-
protected function _getTrackingProgressDetails(
|
627 |
{
|
628 |
$date = new Zend_Date($evento->data, 'dd/MM/YYYY', new Zend_Locale('pt_BR'));
|
629 |
$track = array(
|
623 |
*
|
624 |
* @return array
|
625 |
*/
|
626 |
+
protected function _getTrackingProgressDetails($evento, $isDelivered=false)
|
627 |
{
|
628 |
$date = new Zend_Date($evento->data, 'dd/MM/YYYY', new Zend_Locale('pt_BR'));
|
629 |
$track = array(
|
app/code/community/PedroTeixeira/Correios/Model/Sro.php
CHANGED
@@ -79,6 +79,7 @@ class PedroTeixeira_Correios_Model_Sro extends Varien_Object
|
|
79 |
$this->_xml = $response->return;
|
80 |
} catch (Exception $e) {
|
81 |
Mage::log("Soap Error: {$e->getMessage()}");
|
|
|
82 |
}
|
83 |
return $this;
|
84 |
}
|
79 |
$this->_xml = $response->return;
|
80 |
} catch (Exception $e) {
|
81 |
Mage::log("Soap Error: {$e->getMessage()}");
|
82 |
+
return false;
|
83 |
}
|
84 |
return $this;
|
85 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>PedroTeixeira_Correios</name>
|
4 |
-
<version>4.7.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
|
7 |
<channel>community</channel>
|
@@ -28,11 +28,11 @@ Conta com identificação de erros dos Correios, mão própria,
|
|
28 |
Mais informações em https://pedroteixeira.io.</description>
|
29 |
<notes>Bugfix:
|
30 |

|
31 |
-
-
|
32 |
<authors><author><name>Pedro Teixeira</name><user>teixeirapedro</user><email>hello@pedroteixeira.io</email></author></authors>
|
33 |
-
<date>2016-06-
|
34 |
-
<time>13:
|
35 |
-
<contents><target name="magecommunity"><dir name="PedroTeixeira"><dir name="Correios"><dir name="Helper"><file name="Data.php" hash="a030f07c60af40e9817054800096207f"/></dir><dir name="Model"><file name="Cache.php" hash="63903ef57e86e2be3cd79787063f3946"/><dir name="Carrier"><file name="CorreiosMethod.php" hash="
|
36 |
<compatible/>
|
37 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name/><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
|
38 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>PedroTeixeira_Correios</name>
|
4 |
+
<version>4.7.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
|
7 |
<channel>community</channel>
|
28 |
Mais informações em https://pedroteixeira.io.</description>
|
29 |
<notes>Bugfix:
|
30 |

|
31 |
+
- Corrige Recoverable Error e Soap Error</notes>
|
32 |
<authors><author><name>Pedro Teixeira</name><user>teixeirapedro</user><email>hello@pedroteixeira.io</email></author></authors>
|
33 |
+
<date>2016-06-22</date>
|
34 |
+
<time>13:18:09</time>
|
35 |
+
<contents><target name="magecommunity"><dir name="PedroTeixeira"><dir name="Correios"><dir name="Helper"><file name="Data.php" hash="a030f07c60af40e9817054800096207f"/></dir><dir name="Model"><file name="Cache.php" hash="63903ef57e86e2be3cd79787063f3946"/><dir name="Carrier"><file name="CorreiosMethod.php" hash="18a10a017c5c32f16c2d3155b6d11bbc"/></dir><dir name="Http"><dir name="Client"><dir name="Adapter"><file name="Socket.php" hash="76da85f117c3f9950164a5d90500d82f"/></dir></dir></dir><file name="Observer.php" hash="10d46e3849f531cef13a6ee6dfc6dfa9"/><dir name="Source"><file name="CacheMode.php" hash="b34ae611b8bf913e4b646f4a156cc2a4"/><file name="PostMethods.php" hash="22f500a45f51515409fa9367d0a5e957"/><file name="WeightType.php" hash="4bf1608fb6b665dcc7d834ca35eee174"/></dir><file name="Sro.php" hash="d5b19c10445887ba5cc5efbb10f25eb3"/></dir><dir name="etc"><file name="config.xml" hash="eb6e65fbc48ae827eb68455e4a0d982a"/><file name="system.xml" hash="a176657e9f5565ef20d101059cca833c"/></dir><dir name="sql"><dir name="pedroteixeira_correios_setup"><file name="install-4.0.0.php" hash="eda109c002d9130fc1ce807784aa60a3"/><file name="install-4.4.0.php" hash="889c7376ee7bdd30bf07616b4f365e3b"/><file name="install-4.5.0.php" hash="e0daaac3649b166a33928da3844ad965"/><file name="install-4.6.0.php" hash="5168cdf9b1e60480d5bc90951c69cb20"/><file name="install-4.7.0.php" hash="ad7b3434d1c5fbb0b49212e8bc5923b9"/><file name="upgrade-4.0.0-4.1.0.php" hash="ca42fdabb0975f60d8cf5ef5ab122acd"/><file name="upgrade-4.1.0-4.2.0.php" hash="319cd1c4ddaa745da9af4a5111aa1534"/><file name="upgrade-4.2.0-4.3.0.php" hash="783e854d19b0e4915360cc1ec8b4d2d0"/><file name="upgrade-4.3.0-4.4.0.php" hash="982f41d3a113d21c4008de7e63918e45"/><file name="upgrade-4.4.0-4.5.0.php" hash="95dfd40fa6469a711b4b65a331f0b1b7"/><file name="upgrade-4.5.0-4.6.0.php" hash="24686aec7822436598e94680e3e6a948"/><file name="upgrade-4.6.0-4.7.0.php" hash="d12205fcbe16e21bdf233eae06500998"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PedroTeixeira_Correios.xml" hash="e714579bed97c85f2bcc3988dec271da"/></dir></target></contents>
|
36 |
<compatible/>
|
37 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name/><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
|
38 |
</package>
|