99minutos - Version 1.2.0

Version Notes

Completar el registro contactando a los telefonos +52 (55) 6363 1559 o enviando un correo a hola@99minutos.com.

Download this release

Release Info

Developer 99 minutos
Extension 99minutos
Version 1.2.0
Comparing to
See all releases


Code changes from version 1.1.0 to 1.2.0

app/code/community/Godoparsa/Shipping/.DS_Store CHANGED
Binary file
app/code/community/Godoparsa/Shipping/Model/Observer.php CHANGED
@@ -88,6 +88,7 @@ class Godoparsa_Shipping_Model_Observer extends Mage_Core_Helper_Abstract
88
  $shipping_method= $order->getShippingDescription();
89
  if(($shipping_method == $express) or ($shipping_method == $programado))
90
  {
 
91
  $shop= Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
92
  $db = new mysqli("store.99minutos.com", "minutos_magento", "g9e1BqgAQtni", "minutos_api");
93
  $consult_set= $db->query("SELECT * FROM tbl_usersmagento WHERE store_name = '$shop'");
@@ -169,14 +170,14 @@ class Godoparsa_Shipping_Model_Observer extends Mage_Core_Helper_Abstract
169
  $request_ship.= "customer_phone=".$customer_phone."&";
170
  $request_ship.= "notification_email=&notes=".$notes."&dispatch=True";
171
  //funcion curl para enviar la peticion de envio al sistema de 99minutos
172
- $chr=curl_init();
173
  curl_setopt($chr, CURLOPT_URL, $request_ship);
174
  curl_setopt($chr, CURLOPT_SSL_VERIFYPEER, false);
175
  curl_setopt($chr, CURLOPT_HEADER, false);
176
  curl_setopt($chr, CURLOPT_RETURNTRANSFER, true);
177
  curl_setopt($chr, CURLOPT_TIMEOUT, 1);
178
  $url_request = curl_exec($chr);
179
- curl_close($chr);
180
 
181
  }
182
  }
88
  $shipping_method= $order->getShippingDescription();
89
  if(($shipping_method == $express) or ($shipping_method == $programado))
90
  {
91
+ Mage::log(var_export($shipment->debug(), TRUE));
92
  $shop= Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
93
  $db = new mysqli("store.99minutos.com", "minutos_magento", "g9e1BqgAQtni", "minutos_api");
94
  $consult_set= $db->query("SELECT * FROM tbl_usersmagento WHERE store_name = '$shop'");
170
  $request_ship.= "customer_phone=".$customer_phone."&";
171
  $request_ship.= "notification_email=&notes=".$notes."&dispatch=True";
172
  //funcion curl para enviar la peticion de envio al sistema de 99minutos
173
+ /*$chr=curl_init();
174
  curl_setopt($chr, CURLOPT_URL, $request_ship);
175
  curl_setopt($chr, CURLOPT_SSL_VERIFYPEER, false);
176
  curl_setopt($chr, CURLOPT_HEADER, false);
177
  curl_setopt($chr, CURLOPT_RETURNTRANSFER, true);
178
  curl_setopt($chr, CURLOPT_TIMEOUT, 1);
179
  $url_request = curl_exec($chr);
180
+ curl_close($chr);*/
181
 
182
  }
183
  }
app/code/community/Godoparsa/Shipping/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Godoparsa_Shipping>
5
- <version>1.1.0</version>
6
  </Godoparsa_Shipping>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Godoparsa_Shipping>
5
+ <version>1.2.0</version>
6
  </Godoparsa_Shipping>
7
  </modules>
8
  <global>
app/code/community/Godoparsa/Shipping/sql/.DS_Store CHANGED
Binary file
app/code/community/Godoparsa/Shipping/sql/godoparsa_shipping_setup/{install-1.1.0.php → install-1.2.0.php} RENAMED
File without changes
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>99minutos</name>
4
- <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
7
  <channel>community</channel>
@@ -23,9 +23,9 @@ Servicio de logistica para tiendas en linea donde compras y en tiempo record rec
23
  &#xD;
24
  </notes>
25
  <authors><author><name>99 minutos</name><user>99minutos</user><email>saul@99minutos.com</email></author></authors>
26
- <date>2015-03-04</date>
27
- <time>20:32:46</time>
28
- <contents><target name="magecommunity"><dir name="Godoparsa"><dir name="Shipping"><dir name="Helper"><file name="Data.php" hash="1c6839600686b48a7ce1d19b4d1350d7"/></dir><dir name="Model"><file name="Carrier.php" hash="96b915fbf88a35dbcea7f7d560570e21"/><file name="Observer.php" hash="c036d3dd04959a71622b538e0c9326c3"/><file name=".DS_Store" hash="8e927e15d29c07b05d4dca1375302c38"/></dir><dir name="etc"><file name="config.xml" hash="386320a96ea7da51ef5449ce42e030c3"/><file name="system.xml" hash="9bceeef1dd7309e07ce93a5fec17ee7c"/></dir><dir name="sql"><dir name="godoparsa_shipping_setup"><file name="install-1.1.0.php" hash="b463e1a556b11ca8f98c2cf3de428b8d"/></dir><file name=".DS_Store" hash="133f39ccac8e2de6d20e41f28f56b66d"/></dir><file name=".DS_Store" hash="4196df419b9fd38c44020ce18107e7ba"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Godoparsa_Shipping.xml" hash="e3018fdc7c5f7f2db4a31313d275eb0e"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="godoparsa_shipping.html" hash="be5fbe33f6fc64d02375bec27a10d77b"/></dir></dir></dir></target></contents>
29
  <compatible/>
30
- <dependencies><required><php><min>5.3.1</min><max>5.5.1</max></php></required></dependencies>
31
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>99minutos</name>
4
+ <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/mit-license.php">MIT License</license>
7
  <channel>community</channel>
23
  &#xD;
24
  </notes>
25
  <authors><author><name>99 minutos</name><user>99minutos</user><email>saul@99minutos.com</email></author></authors>
26
+ <date>2015-03-17</date>
27
+ <time>19:00:55</time>
28
+ <contents><target name="magecommunity"><dir name="Godoparsa"><dir name="Shipping"><dir name="Helper"><file name="Data.php" hash="1c6839600686b48a7ce1d19b4d1350d7"/></dir><dir name="Model"><file name="Carrier.php" hash="96b915fbf88a35dbcea7f7d560570e21"/><file name="Observer.php" hash="48e9fb7449a35ced6c6558294164ddc7"/><file name=".DS_Store" hash="8e927e15d29c07b05d4dca1375302c38"/></dir><dir name="etc"><file name="config.xml" hash="2431e6a73f5e731d8dcc2b11025589a7"/><file name="system.xml" hash="9bceeef1dd7309e07ce93a5fec17ee7c"/></dir><dir name="sql"><dir name="godoparsa_shipping_setup"><file name="install-1.2.0.php" hash="b463e1a556b11ca8f98c2cf3de428b8d"/></dir><file name=".DS_Store" hash="aeb720350a702df53660ff1ddef173d6"/></dir><file name=".DS_Store" hash="512269f51409aad91e6a1758216226ab"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Godoparsa_Shipping.xml" hash="e3018fdc7c5f7f2db4a31313d275eb0e"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="godoparsa_shipping.html" hash="be5fbe33f6fc64d02375bec27a10d77b"/></dir></dir></dir></target></contents>
29
  <compatible/>
30
+ <dependencies><required><php><min>5.3.1</min><max>5.6.2</max></php></required></dependencies>
31
  </package>