flowecommerce_resultadosdigitais - Version 0.1.5.1

Version Notes

Pequeno Bugfix - Fatal error era gerado quando havia um problema na conversão de um lead em cliente

Download this release

Release Info

Developer Flow eCommerce
Extension flowecommerce_resultadosdigitais
Version 0.1.5.1
Comparing to
See all releases


Code changes from version 0.1.5 to 0.1.5.1

app/code/local/Flowecommerce/Resultadosdigitais/Model/Observer.php CHANGED
@@ -165,9 +165,11 @@ class Flowecommerce_Resultadosdigitais_Model_Observer {
165
 
166
  for ($i = 0; $i <=10; $i++) {
167
  $response = $this->_getApi()->markSale($customer->getEmail(), $order_value);
168
- $statusResponse = $response->getHeader('Status');
169
- if ($statusResponse == "200 OK") {
170
- break;
 
 
171
  }
172
  }
173
  }
165
 
166
  for ($i = 0; $i <=10; $i++) {
167
  $response = $this->_getApi()->markSale($customer->getEmail(), $order_value);
168
+ if ($response) {
169
+ $statusResponse = $response->getHeader('Status');
170
+ if ($statusResponse == "200 OK") {
171
+ break;
172
+ }
173
  }
174
  }
175
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>flowecommerce_resultadosdigitais</name>
4
- <version>0.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -16,13 +16,11 @@ Uma nova conta de cliente &#xE9; criada&#xD;
16
  Um novo pedido &#xE9; criado&#xD;
17
  Um cliente assina a newsletter da loja virtual&#xD;
18
  Um produto &#xE9; adicionado ao carrinho quando o cliente est&#xE1; logado</description>
19
- <notes>Bugfix - Quando um lead n&#xE3;o havia sido ainda processado pelo RD a convers&#xE3;o em venda n&#xE3;o estava sendo processada com sucesso (a convers&#xE3;o do lead leva alguns segundos)&#xD;
20
- &#xD;
21
- Adicionadas convers&#xF5;es para adi&#xE7;&#xE3;o de produtos ao carrinho, bem como os observers para pagamentos recorrentes.</notes>
22
  <authors><author><name>Flow eCommerce</name><user>flowecommerce</user><email>contato@flowecommerce.com</email></author><author><name>Gabriel Queiroz Silva</name><user>gabrielqs</user><email>gabriel@flowecommerce.com</email></author></authors>
23
  <date>2015-10-05</date>
24
- <time>13:43:16</time>
25
- <contents><target name="magelocal"><dir name="Flowecommerce"><dir name="Resultadosdigitais"><dir name="Helper"><file name="Data.php" hash="00d2ae49825e162eb99dd72a98895a61"/></dir><dir name="Model"><file name="Api.php" hash="0aa520776e63e4785c9f9862ef4ecef3"/><dir name="Googleanalytics"><file name="Customvar.php" hash="d163ebb5bb590dd7553ed1356c033a2c"/><file name="Tracker.php" hash="be95e10bd1df9ca5319f5a50967f2eed"/><dir name="Utm"><file name="A.php" hash="7604206d87189c56f109231c4a95f00f"/><file name="B.php" hash="e710a66f3c061f4da69e9f468c2eaf5c"/><file name="C.php" hash="27c99ca82b05b11bcba01e88f9a3e5c6"/><file name="V.php" hash="9c77ced8175034ac42b89878e26844f5"/><file name="Z.php" hash="1bb0821f8752993b737a923fcbd4b314"/></dir></dir><file name="Observer.php" hash="4c810af6288f49a4702006db81060c00"/><file name="Requestdata.php" hash="d97634793fae544f18e5ffda617ed745"/></dir><dir name="etc"><file name="adminhtml.xml" hash="be9b06eed9df502e9759b5cd397f9fa2"/><file name="config.xml" hash="4e39d0e74bb0f89a3212bd3fe18ac385"/><file name="system.xml" hash="da64ea97bc98fe6f42988df79c2ace1f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Flowecommerce_Resultadosdigitais.xml" hash="5d476dea8a51bda77126fa637c5f29f2"/></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.3.0</min><max>5.6.3</max></php></required></dependencies>
28
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>flowecommerce_resultadosdigitais</name>
4
+ <version>0.1.5.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
16
  Um novo pedido &#xE9; criado&#xD;
17
  Um cliente assina a newsletter da loja virtual&#xD;
18
  Um produto &#xE9; adicionado ao carrinho quando o cliente est&#xE1; logado</description>
19
+ <notes>Pequeno Bugfix - Fatal error era gerado quando havia um problema na convers&#xE3;o de um lead em cliente</notes>
 
 
20
  <authors><author><name>Flow eCommerce</name><user>flowecommerce</user><email>contato@flowecommerce.com</email></author><author><name>Gabriel Queiroz Silva</name><user>gabrielqs</user><email>gabriel@flowecommerce.com</email></author></authors>
21
  <date>2015-10-05</date>
22
+ <time>20:25:14</time>
23
+ <contents><target name="magelocal"><dir name="Flowecommerce"><dir name="Resultadosdigitais"><dir name="Helper"><file name="Data.php" hash="00d2ae49825e162eb99dd72a98895a61"/></dir><dir name="Model"><file name="Api.php" hash="0aa520776e63e4785c9f9862ef4ecef3"/><dir name="Googleanalytics"><file name="Customvar.php" hash="d163ebb5bb590dd7553ed1356c033a2c"/><file name="Tracker.php" hash="be95e10bd1df9ca5319f5a50967f2eed"/><dir name="Utm"><file name="A.php" hash="7604206d87189c56f109231c4a95f00f"/><file name="B.php" hash="e710a66f3c061f4da69e9f468c2eaf5c"/><file name="C.php" hash="27c99ca82b05b11bcba01e88f9a3e5c6"/><file name="V.php" hash="9c77ced8175034ac42b89878e26844f5"/><file name="Z.php" hash="1bb0821f8752993b737a923fcbd4b314"/></dir></dir><file name="Observer.php" hash="b63e9e499c947aca231ad149035cbc97"/><file name="Requestdata.php" hash="d97634793fae544f18e5ffda617ed745"/></dir><dir name="etc"><file name="adminhtml.xml" hash="be9b06eed9df502e9759b5cd397f9fa2"/><file name="config.xml" hash="4e39d0e74bb0f89a3212bd3fe18ac385"/><file name="system.xml" hash="da64ea97bc98fe6f42988df79c2ace1f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Flowecommerce_Resultadosdigitais.xml" hash="5d476dea8a51bda77126fa637c5f29f2"/></dir></target></contents>
24
  <compatible/>
25
  <dependencies><required><php><min>5.3.0</min><max>5.6.3</max></php></required></dependencies>
26
  </package>