Glew - Version 1.0.18

Version Notes

Add secure url redirect to config

Download this release

Release Info

Developer Glew
Extension Glew
Version 1.0.18
Comparing to
See all releases


Code changes from version 1.0.16 to 1.0.18

app/code/community/Glew/Service/Model/Types/Order.php CHANGED
@@ -23,7 +23,11 @@ class Glew_Service_Model_Types_Order
23
  $this->shipping_total = round($order->getShippingAmount(), 2);
24
  $this->shipping_tax = round($order->getShippingTaxAmount(), 2);
25
  $this->shipping_description = $order->getShippingDescription();
26
- $this->payment_method = $order->getPayment()->getMethodInstance()->getTitle();
 
 
 
 
27
 
28
  $this->discount_amount = round($order->getDiscountAmount(), 2);
29
  $this->discount_description = $order->getDiscountDescription();
23
  $this->shipping_total = round($order->getShippingAmount(), 2);
24
  $this->shipping_tax = round($order->getShippingTaxAmount(), 2);
25
  $this->shipping_description = $order->getShippingDescription();
26
+ try {
27
+ $this->payment_method = $order->getPayment()->getMethodInstance()->getTitle();
28
+ } catch (Exception $e) {
29
+ $this->payment_method = '';
30
+ }
31
 
32
  $this->discount_amount = round($order->getDiscountAmount(), 2);
33
  $this->discount_description = $order->getDiscountDescription();
app/code/community/Glew/Service/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Glew_Service>
5
- <version>1.0.16</version>
6
  <depends>
7
  <Mage_Shipping/>
8
  </depends>
@@ -65,6 +65,9 @@
65
  </default>
66
 
67
  <frontend>
 
 
 
68
  <routers>
69
  <glew>
70
  <use>standard</use>
2
  <config>
3
  <modules>
4
  <Glew_Service>
5
+ <version>1.0.18</version>
6
  <depends>
7
  <Mage_Shipping/>
8
  </depends>
65
  </default>
66
 
67
  <frontend>
68
+ <secure_url>
69
+ <glew>/glew/</glew>
70
+ </secure_url>
71
  <routers>
72
  <glew>
73
  <use>standard</use>
app/etc/modules/Glew_Service.xml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Glew_Service>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Glew_Service>
8
+ </modules>
9
+ </config>
10
+
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Glew</name>
4
- <version>1.0.16</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
@@ -21,15 +21,12 @@ Trending, real-time store performance on a daily, weekly, and yearly, basis.&#xD
21
  Merchandising,&#xD;
22
  Inventory,&#xD;
23
  Supports multi-store configurations&#xD;
24
- And more!&#xD;
25
- </description>
26
- <notes>Fixed issue with inventory levels and configurable products&#xD;
27
- Fixed issue with inventory for customers with multiple stores&#xD;
28
- Added ability to disable Glew in menu</notes>
29
  <authors><author><name>Glew</name><user>glewio</user><email>integrations@glew.io</email></author></authors>
30
- <date>2016-01-27</date>
31
- <time>19:31:02</time>
32
- <contents><target name="magecommunity"><dir name="Glew"><dir name="Service"><dir name="Block"><dir name="Adminhtml"><dir name="Widget"><dir name="Info"><file name="Info.php" hash="6f0dd72fec342ae51953d257c292604a"/></dir></dir></dir><file name="SecretKey.php" hash="48b0b811eaea90539ed2527cb7c88894"/></dir><dir name="Helper"><file name="Data.php" hash="2673d30581c4659165d4088f6471a8fc"/></dir><dir name="Model"><file name="Glew.php" hash="b3323852fa360da0f98cf72b43b903c7"/><dir name="Resource"><file name="Setup.php" hash="1608ab53c5846ff80b1413693ad2657e"/></dir><dir name="Types"><file name="AbandonedCart.php" hash="a192370e52bb9e39f17f792b80c15167"/><file name="AbandonedCarts.php" hash="aa32ad322b2eb3dad0a12b49e95667b8"/><file name="Address.php" hash="163419049653b6415ae33aaabd182914"/><file name="Categories.php" hash="230054e6b72e2fa42bf8712b2ac43140"/><file name="Category.php" hash="d61c83a8bf843629ea4f9e101b88e24b"/><file name="Customer.php" hash="684dff09fa7ee1825e43a7b19503d5b6"/><file name="Customers.php" hash="8f1a0862ef48f730c6d54c614d827ce3"/><file name="Extension.php" hash="8da4b95f9ca4cd9b1fe39954ed4b2b33"/><file name="Extensions.php" hash="8bdee566c6580d208999b7894ba3a299"/><file name="Inventory.php" hash="588000790c53d7b00a44e33221f2bf58"/><file name="InventoryItem.php" hash="c032188e8142604e5d3987c39e5e955b"/><file name="Order.php" hash="3772178cd29d8c3df25d28e37423ef16"/><file name="OrderItem.php" hash="5f0e331dc8da0b563ffadb85e828e328"/><file name="OrderItems.php" hash="ee02287003e1532f1873d9cf4b77fc10"/><file name="Orders.php" hash="003a50f457e7bfec087ac5e52fb6e832"/><file name="Product.php" hash="3e445cb1f8d32946a8fb1d9cfe3fe451"/><file name="ProductAlert.php" hash="29cf20364651285abf2924f4af6a08f5"/><file name="ProductAlerts.php" hash="9a015b65dbb0d195c670220524d10fb6"/><file name="Products.php" hash="5a864c768c2b12d222b7d7b93d6d9830"/><file name="Refund.php" hash="95b166b72360c23f38b38eea00f1c8be"/><file name="RefundItem.php" hash="2570ba6b14be44a48d0fec222ff7e5d9"/><file name="RefundItems.php" hash="c300052589ef03a32ed1a5ddcf094b6c"/><file name="Refunds.php" hash="e58eb960bd9a5451a84e71444979de18"/><file name="Store.php" hash="e2a6b48ba078d616179a8327f5eede50"/><file name="Stores.php" hash="13419825a201508e996f40429d9e1b58"/><file name="Subscriber.php" hash="7f7f902d7daacc1bd5924899fd7fed9b"/><file name="Subscribers.php" hash="a4ea8fcaf61306cb085f719c414dff1a"/></dir></dir><dir name="controllers"><file name="ModuleController.php" hash="d9d8a8e3acb34778718244097b47cd24"/></dir><dir name="etc"><file name="adminhtml.xml" hash="520835c098aa86d39edf248ce9fa4869"/><file name="config.xml" hash="4508e4770d921d45c3e6bbe90fded76b"/><file name="system.xml" hash="f679528c3b8f435510224624f5ccdd80"/></dir><dir name="sql"><dir name="glew_setup"><file name="mysql4-install-1.0.0.php" hash="29346b603eb9a4cf6e2a43b0a3c25d6a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name=" modules"><file name="Glew_Service.xml" hash=""/></dir></target></contents>
33
  <compatible/>
34
  <dependencies><required><php><min>5.3.0</min><max>9.0.0</max></php></required></dependencies>
35
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Glew</name>
4
+ <version>1.0.18</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
21
  Merchandising,&#xD;
22
  Inventory,&#xD;
23
  Supports multi-store configurations&#xD;
24
+ And more!</description>
25
+ <notes>Add secure url redirect to config</notes>
 
 
 
26
  <authors><author><name>Glew</name><user>glewio</user><email>integrations@glew.io</email></author></authors>
27
+ <date>2016-02-22</date>
28
+ <time>15:48:34</time>
29
+ <contents><target name="magecommunity"><dir name="Glew"><dir name="Service"><dir name="Block"><dir name="Adminhtml"><dir name="Widget"><dir name="Info"><file name="Info.php" hash="6f0dd72fec342ae51953d257c292604a"/></dir></dir></dir><file name="SecretKey.php" hash="48b0b811eaea90539ed2527cb7c88894"/></dir><dir name="Helper"><file name="Data.php" hash="2673d30581c4659165d4088f6471a8fc"/></dir><dir name="Model"><file name="Glew.php" hash="b3323852fa360da0f98cf72b43b903c7"/><dir name="Resource"><file name="Setup.php" hash="1608ab53c5846ff80b1413693ad2657e"/></dir><dir name="Types"><file name="AbandonedCart.php" hash="a192370e52bb9e39f17f792b80c15167"/><file name="AbandonedCarts.php" hash="aa32ad322b2eb3dad0a12b49e95667b8"/><file name="Address.php" hash="163419049653b6415ae33aaabd182914"/><file name="Categories.php" hash="230054e6b72e2fa42bf8712b2ac43140"/><file name="Category.php" hash="d61c83a8bf843629ea4f9e101b88e24b"/><file name="Customer.php" hash="684dff09fa7ee1825e43a7b19503d5b6"/><file name="Customers.php" hash="8f1a0862ef48f730c6d54c614d827ce3"/><file name="Extension.php" hash="8da4b95f9ca4cd9b1fe39954ed4b2b33"/><file name="Extensions.php" hash="8bdee566c6580d208999b7894ba3a299"/><file name="Inventory.php" hash="588000790c53d7b00a44e33221f2bf58"/><file name="InventoryItem.php" hash="c032188e8142604e5d3987c39e5e955b"/><file name="Order.php" hash="1ec557ba14fb6ddbcce0d68974b1e005"/><file name="OrderItem.php" hash="5f0e331dc8da0b563ffadb85e828e328"/><file name="OrderItems.php" hash="ee02287003e1532f1873d9cf4b77fc10"/><file name="Orders.php" hash="003a50f457e7bfec087ac5e52fb6e832"/><file name="Product.php" hash="3e445cb1f8d32946a8fb1d9cfe3fe451"/><file name="ProductAlert.php" hash="29cf20364651285abf2924f4af6a08f5"/><file name="ProductAlerts.php" hash="9a015b65dbb0d195c670220524d10fb6"/><file name="Products.php" hash="5a864c768c2b12d222b7d7b93d6d9830"/><file name="Refund.php" hash="95b166b72360c23f38b38eea00f1c8be"/><file name="RefundItem.php" hash="2570ba6b14be44a48d0fec222ff7e5d9"/><file name="RefundItems.php" hash="c300052589ef03a32ed1a5ddcf094b6c"/><file name="Refunds.php" hash="e58eb960bd9a5451a84e71444979de18"/><file name="Store.php" hash="e2a6b48ba078d616179a8327f5eede50"/><file name="Stores.php" hash="13419825a201508e996f40429d9e1b58"/><file name="Subscriber.php" hash="7f7f902d7daacc1bd5924899fd7fed9b"/><file name="Subscribers.php" hash="a4ea8fcaf61306cb085f719c414dff1a"/></dir></dir><dir name="controllers"><file name="ModuleController.php" hash="d9d8a8e3acb34778718244097b47cd24"/></dir><dir name="etc"><file name="adminhtml.xml" hash="520835c098aa86d39edf248ce9fa4869"/><file name="config.xml" hash="67725659f58eb9ed44a78435979b62f1"/><file name="system.xml" hash="f679528c3b8f435510224624f5ccdd80"/></dir><dir name="sql"><dir name="glew_setup"><file name="mysql4-install-1.0.0.php" hash="29346b603eb9a4cf6e2a43b0a3c25d6a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Glew_Service.xml" hash="a245647f56ed8f1553ee6dc41bb0b223"/></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>5.3.0</min><max>9.0.0</max></php></required></dependencies>
32
  </package>