Version Notes
* Correção de bug do SoapClient ( error fetching http headers - https://bugs.php.net/bug.php?id=37054 )
* Correção de bug do SoapClient ( SOAP-ERROR: Parsing WSDL - https://bugs.php.net/bug.php?id=47021 )
Download this release
Release Info
Developer | Willian |
Extension | correios |
Version | 1.2.7 |
Comparing to | |
See all releases |
Code changes from version 1.2.6 to 1.2.7
app/code/community/Storm/Correios/Model/Carrier/Webservice.php
CHANGED
@@ -22,7 +22,11 @@ class Storm_Correios_Model_Carrier_Webservice
|
|
22 |
'trace' => true,
|
23 |
'exceptions' => true,
|
24 |
'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP,
|
25 |
-
'connection_timeout' => ini_get('max_execution_timeout')
|
|
|
|
|
|
|
|
|
26 |
));
|
27 |
|
28 |
$this->setParam('nCdEmpresa', $this->_getHelper()->getConfigData('account_code'))
|
22 |
'trace' => true,
|
23 |
'exceptions' => true,
|
24 |
'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP,
|
25 |
+
'connection_timeout' => ini_get('max_execution_timeout'),
|
26 |
+
'user_agent' => '',
|
27 |
+
'stream_context' => stream_context_create(
|
28 |
+
array('http' => array('protocol_version' => '1.0'))
|
29 |
+
)
|
30 |
));
|
31 |
|
32 |
$this->setParam('nCdEmpresa', $this->_getHelper()->getConfigData('account_code'))
|
package.xml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>correios</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
-
<license
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Módulo de cálculo de frete e prazo de entrega dos Correios com Pac, Sedex, Sedex 10, Sedex Hoje e e-Sedex.</summary>
|
@@ -20,11 +20,12 @@ As seguintes funções estão disponíves:<br /><br /&g
|
|
20 |
Caso tenha dúvida de como instalar e configurar o módulo <a href="https://bitbucket.org/willcs/correios/wiki">acesse nosso Wiki</a>.<br />
|
21 |
<hr />
|
22 |
This module is available only to Brazil.</description>
|
23 |
-
<notes>*
|
|
|
24 |
<authors><author><name>Willian</name><user>willsouza</user><email>williancordeirodesouza@gmail.com</email></author></authors>
|
25 |
-
<date>2013-
|
26 |
-
<time>
|
27 |
-
<contents><target name="magecommunity"><dir name="Storm"><dir name="Correios"><dir name="Helper"><file name="Data.php" hash="c0344a3cccf20787f115b24cacef68b7"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="3e2d7ae7abb9dc2131f2a7868fd89d87"/></dir><dir name="Carrier"><dir name="Package"><file name="Dimension.php" hash="88d12d19a36e753c94f30c08431e9c45"/></dir><dir name="Shipping"><file name="Tracking.php" hash="97c09a03c9bc77ded9e01099887ecb67"/></dir><file name="Shipping.php" hash="e8d22369e1d5e185585684774711776b"/><file name="Webservice.php" hash="
|
28 |
<compatible/>
|
29 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
30 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>correios</name>
|
4 |
+
<version>1.2.7</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license>OSL 3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Módulo de cálculo de frete e prazo de entrega dos Correios com Pac, Sedex, Sedex 10, Sedex Hoje e e-Sedex.</summary>
|
20 |
Caso tenha dúvida de como instalar e configurar o módulo <a href="https://bitbucket.org/willcs/correios/wiki">acesse nosso Wiki</a>.<br />
|
21 |
<hr />
|
22 |
This module is available only to Brazil.</description>
|
23 |
+
<notes>* Correção de bug do SoapClient ( error fetching http headers - https://bugs.php.net/bug.php?id=37054 )
|
24 |
+
* Correção de bug do SoapClient ( SOAP-ERROR: Parsing WSDL - https://bugs.php.net/bug.php?id=47021 )</notes>
|
25 |
<authors><author><name>Willian</name><user>willsouza</user><email>williancordeirodesouza@gmail.com</email></author></authors>
|
26 |
+
<date>2013-09-22</date>
|
27 |
+
<time>14:52:35</time>
|
28 |
+
<contents><target name="magecommunity"><dir name="Storm"><dir name="Correios"><dir name="Helper"><file name="Data.php" hash="c0344a3cccf20787f115b24cacef68b7"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="3e2d7ae7abb9dc2131f2a7868fd89d87"/></dir><dir name="Carrier"><dir name="Package"><file name="Dimension.php" hash="88d12d19a36e753c94f30c08431e9c45"/></dir><dir name="Shipping"><file name="Tracking.php" hash="97c09a03c9bc77ded9e01099887ecb67"/></dir><file name="Shipping.php" hash="e8d22369e1d5e185585684774711776b"/><file name="Webservice.php" hash="8a5fb2e4f318bb95900bb5b29abc8a4a"/></dir><dir name="Catalog"><dir name="Resource"><file name="Setup.php" hash="833a10b8bc912d3df9818f3b0f86d442"/></dir></dir><dir name="Source"><file name="FreeMethods.php" hash="67646bf270c42fa6fa8b79de336236b3"/><file name="Methods.php" hash="d9118016fe15471f813682385c95a93b"/></dir></dir><dir name="etc"><file name="config.xml" hash="2ba451fdb748cdaf09ecf19c669b0379"/><file name="system.xml" hash="ae02d64e5ad304a3dc256ccdd490d646"/></dir><dir name="sql"><dir name="correios_setup"><file name="mysql4-install-0.1.0.php" hash="dca339c0e46e4b9d116bc1eea9d09930"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="pt_BR"><file name="Storm_Correios.csv" hash="ab5c76e7e4cd0fcd0317e9d94c930bf6"/></dir></target><target name="mageetc"><dir name="modules"><file name="Storm_Correios.xml" hash="93aa3a9938657131b77fa2a2e60abd71"/></dir></target></contents>
|
29 |
<compatible/>
|
30 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
31 |
</package>
|