PostPal_Shipping - Version 0.1.3

Version Notes

Updated configuration

Download this release

Release Info

Developer PostPal
Extension PostPal_Shipping
Version 0.1.3
Comparing to
See all releases


Code changes from version 0.1.2 to 0.1.3

app/code/community/PostPal/Shipping/etc/config.xml CHANGED
@@ -1,84 +1,84 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <modules>
4
- <PostPal_Shipping>
5
- <module>0.0.1</module>
6
- </PostPal_Shipping>
7
- </modules>
8
- <frontend>
9
- <translate>
10
- <modules>
11
- <postpal_shipping>
12
- <files>
13
- <default>PostPal_Shipping.csv</default>
14
- </files>
15
- </postpal_shipping>
16
- </modules>
17
- </translate>
18
- <layout>
19
- <updates>
20
- <postpal_shipping>
21
- <file>postpal/shipping.xml</file>
22
- </postpal_shipping>
23
- </updates>
24
- </layout>
25
- </frontend>
26
- <global>
27
- <models>
28
- <postpal_shipping>
29
- <class>PostPal_Shipping_Model</class>
30
- </postpal_shipping>
31
- </models>
32
- <helpers>
33
- <postpal>
34
- <class>PostPal_Shipping_Helper</class>
35
- </postpal>
36
- </helpers>
37
- <blocks>
38
- <overrides>
39
- <class>PostPal_Shipping_Block</class>
40
- </overrides>
41
- <adminhtml>
42
- <rewrite>
43
- <sales_order_shipment_view>PostPal_Shipping_Block_Adminhtml_Sales_Order_Shipment_View</sales_order_shipment_view>
44
- </rewrite>
45
- </adminhtml>
46
- </blocks>
47
- <events>
48
- <sales_order_invoice_pay>
49
- <observers>
50
- <postpal_shipping_send_order>
51
- <type>singleton</type>
52
- <class>PostPal_Shipping_Model_Observer</class>
53
- <method>sendOrderData</method>
54
- </postpal_shipping_send_order>
55
- </observers>
56
- </sales_order_invoice_pay>
57
- <sales_order_place_before>
58
- <observers>
59
- <postpal_shipping_get_order_validation>
60
- <class>PostPal_Shipping_Model_Observer</class>
61
- <method>getOrderValidation</method>
62
- </postpal_shipping_get_order_validation>
63
- </observers>
64
- </sales_order_place_before>
65
- </events>
66
- </global>
67
- <!-- Default configuration -->
68
- <default>
69
- <carriers>
70
- <postpal_shipping>
71
- <active>1</active>
72
- <model>postpal_shipping/carrier</model>
73
- <title>PostPal</title>
74
- <name>Express courier</name>
75
- <sort_order>1</sort_order>
76
- <sallowspecific>0</sallowspecific>
77
- <api_url>http://dev.postpal.ee/api/shop/v1</api_url>
78
- <track_url>http://dev.postpal.ee/track</track_url>
79
- <specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
80
- <showmethod>1</showmethod>
81
- </postpal_shipping>
82
- </carriers>
83
- </default>
84
  </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <PostPal_Shipping>
5
+ <module>0.0.1</module>
6
+ </PostPal_Shipping>
7
+ </modules>
8
+ <frontend>
9
+ <translate>
10
+ <modules>
11
+ <postpal_shipping>
12
+ <files>
13
+ <default>PostPal_Shipping.csv</default>
14
+ </files>
15
+ </postpal_shipping>
16
+ </modules>
17
+ </translate>
18
+ <layout>
19
+ <updates>
20
+ <postpal_shipping>
21
+ <file>postpal/shipping.xml</file>
22
+ </postpal_shipping>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <global>
27
+ <models>
28
+ <postpal_shipping>
29
+ <class>PostPal_Shipping_Model</class>
30
+ </postpal_shipping>
31
+ </models>
32
+ <helpers>
33
+ <postpal>
34
+ <class>PostPal_Shipping_Helper</class>
35
+ </postpal>
36
+ </helpers>
37
+ <blocks>
38
+ <overrides>
39
+ <class>PostPal_Shipping_Block</class>
40
+ </overrides>
41
+ <adminhtml>
42
+ <rewrite>
43
+ <sales_order_shipment_view>PostPal_Shipping_Block_Adminhtml_Sales_Order_Shipment_View</sales_order_shipment_view>
44
+ </rewrite>
45
+ </adminhtml>
46
+ </blocks>
47
+ <events>
48
+ <sales_order_invoice_pay>
49
+ <observers>
50
+ <postpal_shipping_send_order>
51
+ <type>singleton</type>
52
+ <class>PostPal_Shipping_Model_Observer</class>
53
+ <method>sendOrderData</method>
54
+ </postpal_shipping_send_order>
55
+ </observers>
56
+ </sales_order_invoice_pay>
57
+ <sales_order_place_before>
58
+ <observers>
59
+ <postpal_shipping_get_order_validation>
60
+ <class>PostPal_Shipping_Model_Observer</class>
61
+ <method>getOrderValidation</method>
62
+ </postpal_shipping_get_order_validation>
63
+ </observers>
64
+ </sales_order_place_before>
65
+ </events>
66
+ </global>
67
+ <!-- Default configuration -->
68
+ <default>
69
+ <carriers>
70
+ <postpal_shipping>
71
+ <active>1</active>
72
+ <model>postpal_shipping/carrier</model>
73
+ <title>PostPal</title>
74
+ <name>Kiirkuller</name>
75
+ <sort_order>1</sort_order>
76
+ <sallowspecific>0</sallowspecific>
77
+ <api_url>https://my.postpal.ee/api/shop/v1</api_url>
78
+ <track_url>https://my.postpal.ee/track</track_url>
79
+ <specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
80
+ <showmethod>1</showmethod>
81
+ </postpal_shipping>
82
+ </carriers>
83
+ </default>
84
  </config>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>PostPal_Shipping</name>
4
- <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>PostPal shipping extension</summary>
10
  <description>This extension adds PostPal on-demand courier service to your shopping cart.</description>
11
- <notes>Minor fixes</notes>
12
  <authors><author><name>PostPal</name><user>PostPal</user><email>hello@postpal.ee</email></author></authors>
13
- <date>2016-01-17</date>
14
- <time>11:41:20</time>
15
- <contents><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="postpal"><dir name="css"><file name="postpal.css" hash="5b3f0d0cce5377aa5bf6978865d0061b"/></dir><dir name="img"><file name="postpal_logo.png" hash="fc3f0bbb0d70f229321bcdd31eaa7549"/></dir><dir name="js"><file name="opcheckout_postpal.js" hash="411e71bf3de1de55247e753fb965d480"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="PostPal"><dir name="Shipping"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Shipment"><file name="View.php" hash="edc39b75e3b0e69ae5dc122c4078ac7a"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="9dfca5f43c00ccab5f1f5b8ac5445c8e"/></dir><dir name="Model"><file name="Api.php" hash="fd8bd87f5798e5da81a1d5dcdf58f020"/><file name="Carrier.php" hash="a43d83337249881840599a131f47ae3d"/><file name="Observer.php" hash="1e61ca4d0cb36d73137d4110ad4070b6"/><file name="Shipping.php" hash="5f3ceaa12a412f8c9bcf50551292dcf7"/></dir><dir name="etc"><file name="config.xml" hash="9912407bc11128f5d26c9e1d59b077f0"/><file name="system.xml" hash="ed221153d603cfa5f3bfaae51d5ab896"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="postpal"><file name="shipping.xml" hash="c078788b7f0659b061ea7c70bd2b4a70"/></dir></dir><dir name="template"><dir name="postpal"><file name="extras.phtml" hash="8bad02b894d8fc8da8dbd5729dfceff1"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PostPal_Shipping.xml" hash="8336b32b2ec54a8ebf90029265ab5729"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="PostPal_Shipping.csv" hash="50052dc9f9a55bc8a4ff56ce43606eff"/></dir><dir name="et_EE"><file name="PostPal_Shipping.csv" hash="d9d64841396d1a0fb705246409ea7933"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>7.0.0</max></php><extension><name>json</name><min/><max/></extension></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>PostPal_Shipping</name>
4
+ <version>0.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>PostPal shipping extension</summary>
10
  <description>This extension adds PostPal on-demand courier service to your shopping cart.</description>
11
+ <notes>Updated configuration</notes>
12
  <authors><author><name>PostPal</name><user>PostPal</user><email>hello@postpal.ee</email></author></authors>
13
+ <date>2016-01-25</date>
14
+ <time>00:12:53</time>
15
+ <contents><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="postpal"><dir name="css"><file name="postpal.css" hash="5b3f0d0cce5377aa5bf6978865d0061b"/></dir><dir name="img"><file name="postpal_logo.png" hash="fc3f0bbb0d70f229321bcdd31eaa7549"/></dir><dir name="js"><file name="opcheckout_postpal.js" hash="411e71bf3de1de55247e753fb965d480"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="PostPal"><dir name="Shipping"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Shipment"><file name="View.php" hash="edc39b75e3b0e69ae5dc122c4078ac7a"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="9dfca5f43c00ccab5f1f5b8ac5445c8e"/></dir><dir name="Model"><file name="Api.php" hash="fd8bd87f5798e5da81a1d5dcdf58f020"/><file name="Carrier.php" hash="a43d83337249881840599a131f47ae3d"/><file name="Observer.php" hash="1e61ca4d0cb36d73137d4110ad4070b6"/><file name="Shipping.php" hash="5f3ceaa12a412f8c9bcf50551292dcf7"/></dir><dir name="etc"><file name="config.xml" hash="c72f3b23c5e5989731c39c0620802a73"/><file name="system.xml" hash="ed221153d603cfa5f3bfaae51d5ab896"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="postpal"><file name="shipping.xml" hash="c078788b7f0659b061ea7c70bd2b4a70"/></dir></dir><dir name="template"><dir name="postpal"><file name="extras.phtml" hash="8bad02b894d8fc8da8dbd5729dfceff1"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PostPal_Shipping.xml" hash="8336b32b2ec54a8ebf90029265ab5729"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="PostPal_Shipping.csv" hash="50052dc9f9a55bc8a4ff56ce43606eff"/></dir><dir name="et_EE"><file name="PostPal_Shipping.csv" hash="d9d64841396d1a0fb705246409ea7933"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>7.0.0</max></php><extension><name>json</name><min/><max/></extension></required></dependencies>
18
  </package>