paack - Version 0.1.0

Version Notes

Allows customers to ship goods using Paack

Download this release

Release Info

Developer Suraj Shirvankar
Extension paack
Version 0.1.0
Comparing to
See all releases


Version 0.1.0

app/code/local/Paack/Core/etc/adminhtml.xml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <config>
2
+ <acl>
3
+ <resources>
4
+ <admin>
5
+ <children>
6
+ <system>
7
+ <children>
8
+ <config>
9
+ <children>
10
+ <paacksettings module="paack_core">
11
+ <title>paack</title>
12
+ </paacksettings>
13
+ </children>
14
+ </config>
15
+ </children>
16
+ </system>
17
+ </children>
18
+ </admin>
19
+ </resources>
20
+ </acl>
21
+ </config>
app/code/local/Paack/Core/etc/config.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Paack_Core>
5
+ <version>0.0.1</version>
6
+ </Paack_Core>
7
+ </modules>
8
+ </config>
app/code/local/Paack/Core/etc/system.xml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <tabs>
4
+ <paack translate="label">
5
+ <label>Paack</label>
6
+ <sort_order>1</sort_order>
7
+ </paack>
8
+ </tabs>
9
+ <sections>
10
+ <paacksettings translate="label">
11
+ <label>Paack Settings</label>
12
+ <tab>paack</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>1000</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <settings translate="label">
20
+ <label>API Information</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>1</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <test_mode translate="label">
28
+ <label>Test Mode</label>
29
+ <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/system_config_source_yesno</source_model>
31
+ <show_in_default>1</show_in_default>
32
+ <show_in_website>1</show_in_website>
33
+ <show_in_store>0</show_in_store>
34
+ </test_mode>
35
+ <api_key>
36
+ <label>API Key</label>
37
+ <frontend_type>Password</frontend_type>
38
+ <sort_order>1</sort_order>
39
+ <show_in_default>1</show_in_default>
40
+ <show_in_website>0</show_in_website>
41
+ <show_in_store>0</show_in_store>
42
+ </api_key>
43
+ <store_id>
44
+ <label>Store Id</label>
45
+ <frontend_type>text</frontend_type>
46
+ <sort_order>1</sort_order>
47
+ <show_in_default>1</show_in_default>
48
+ <show_in_website>0</show_in_website>
49
+ <show_in_store>0</show_in_store>
50
+ </store_id>
51
+ </fields>
52
+ </settings>
53
+
54
+ </groups>
55
+ </paacksettings>
56
+ </sections>
57
+ </config>
app/code/local/Paack/Shipment/Model/Observer.php ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Paack_Shipment_Model_Observer {
4
+ const TEST_API = "http://test.api.paack.co/api/public/v1/orders";
5
+ const PRODUCTION_API = "http://api.paack.co/api/public/v1/orders";
6
+ public function sendOrderJson(Varien_Event_Observer $observer){
7
+ Mage::log('Create order');
8
+ $data = Mage::getStoreConfig('paacksettings/settings/api_key');
9
+ $event = $observer->getEvent();
10
+ $shipment = $event->getShipment();
11
+ $order = $observer->getEvent()->getOrder();
12
+
13
+ if($order->getShippingMethod() == "paack_shipping_")
14
+ $this->postToShipmentAPI($order);
15
+ }
16
+
17
+ public function postToShipmentAPI($order){
18
+ Mage::log('start creating shipment');
19
+ $shippingAddress = $order->getShippingAddress()->getData();
20
+ $weightUnit = $order->getWeightUnit();
21
+
22
+ $api_key = Mage::getStoreConfig('paacksettings/settings/api_key');
23
+ $name = $shippingAddress['firstname'].' '.$shippingAddress['lastname'];
24
+ $email = $shippingAddress['email'];
25
+ $phone = $shippingAddress['telephone'];
26
+ $store_id = Mage::getStoreConfig('paacksettings/settings/store_id');
27
+ $retailer_order_number = $order->getRealOrderId();
28
+ $delivery_address = array();
29
+ $delivery_address['address'] = $shippingAddress['company'].' '.$shippingAddress['street'];
30
+ $delivery_address['postal_code'] = $shippingAddress['postcode'];
31
+ $delivery_address['country'] = $shippingAddress['country_id'];
32
+ $delivery_address['city'] = $shippingAddress['city'];
33
+
34
+ $delivery_window = array();
35
+ $date = new DateTime('NOW');
36
+ $date->setTimeZone(new DateTimeZone('UTC'));
37
+ $delivery_window['start_time'] = $date->format(DateTime::ATOM);
38
+ $date->add(new DateInterval('PT2H'));
39
+ $delivery_window['end_time'] = $date->format(DateTime::ATOM);
40
+
41
+ $items = $order->getAllVisibleItems();
42
+ $packages = array();
43
+ foreach($items as $i):
44
+ $package = array();
45
+ $package['height'] = 1;
46
+ $package['weight'] = $i->getWeight();
47
+ $package['length'] = 1;
48
+ $package['width'] = 1;
49
+ $package['units'] = 1;
50
+ $packages[] = $package;
51
+ endforeach;
52
+
53
+
54
+ $data = array(
55
+ "api" => $api_key,
56
+ "name" => $name,
57
+ "email" => $email,
58
+ "phone" => $phone,
59
+ "store_id" => $store_id,
60
+ "retailer_order_number" => $retailer_order_number,
61
+ "delivery_window" => $delivery_window,
62
+ "delivery_address" => $delivery_address,
63
+ "packages" => $packages,
64
+ );
65
+ $mode = Mage::getStoreConfig('paacksettings/settings/test_mode');
66
+ $url = self::PRODUCTION_API;
67
+ if($mode == 1)
68
+ $url = self::TEST_API;
69
+
70
+ $resp = $this->CallAPI($url, $data);
71
+ $json_response = json_decode($resp);
72
+ }
73
+
74
+
75
+ function CallAPI($url, $data = array()){
76
+ $ch = curl_init();
77
+ $data_string = json_encode($data);
78
+ curl_setopt($ch, CURLOPT_URL, $url);
79
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array(
80
+ 'Content-Type: application/json',
81
+ 'Content-Length: ' . strlen($data_string))
82
+ );
83
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
84
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
85
+ $result = curl_exec($ch);
86
+ curl_close($ch);
87
+ return $result;
88
+ }
89
+ }
app/code/local/Paack/Shipment/etc/config.xml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Paack_Shipment>
5
+ <version>0.0.1</version>
6
+ </Paack_Shipment>
7
+ </modules>
8
+ <global>
9
+ <models>
10
+ <paack_shipment>
11
+ <class>Shipment_Model</class>
12
+ </paack_shipment>
13
+ </models>
14
+ <events>
15
+ <sales_order_place_before>
16
+ <observers>
17
+ <paack_shipment_model_observer>
18
+ <type>singleton</type>
19
+ <class>Paack_Shipment_Model_Observer</class>
20
+ <method>sendOrderJson</method>
21
+ </paack_shipment_model_observer>
22
+ </observers>
23
+ </sales_order_place_before>
24
+ </events>
25
+ </global>
26
+ </config>
app/code/local/Paack/Shipping/Model/Carrier.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Paack_Shipping_Model_Carrier extends Mage_Shipping_Model_Carrier_Abstract
4
+ implements Mage_Shipping_Model_Carrier_Interface{
5
+
6
+ protected $_code = 'paack_shipping';
7
+
8
+ public function collectRates(Mage_Shipping_Model_Rate_Request $request) {
9
+
10
+ $result = Mage::getModel('shipping/rate_result');
11
+
12
+ $eligibleForDelivery = false;
13
+
14
+ $file = Mage::getModuleDir('Model', 'Paack_Shipping')."/Model/Data/postal.csv";
15
+ $data = file_get_contents($file);
16
+ $postal_codes = explode(PHP_EOL, $data);
17
+
18
+
19
+ foreach ($postal_codes as $postal_code) {
20
+ if(trim($postal_code) == $request->getDestPostcode()){
21
+ $eligibleForDelivery = true;
22
+ }
23
+ }
24
+
25
+ if($eligibleForDelivery){
26
+ $result->append($this->_getStandardShippingRate());
27
+ }
28
+
29
+ return $result;
30
+ }
31
+
32
+ protected function _getStandardShippingRate() {
33
+ $rate = Mage::getModel('shipping/rate_result_method');
34
+ $rate->setCarrier($this->_code);
35
+ $rate->setCarrierTitle($this->getConfigData('title'));
36
+ // $rate->setMethod('Paack');
37
+ $rate->setMethodTitle('Standard');
38
+
39
+ $rate->setPrice($this->getConfigData('cost'));
40
+ $rate->setCost(0);
41
+
42
+ return $rate;
43
+ }
44
+
45
+ public function getAllowedMethods() {
46
+ return array(
47
+ 'standard' => 'Standard'
48
+ );
49
+ }
50
+
51
+ }
app/code/local/Paack/Shipping/Model/Data/.DS_Store ADDED
Binary file
app/code/local/Paack/Shipping/Model/Data/postal.csv ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 03001
2
+ 03002
3
+ 03003
4
+ 03004
5
+ 03005
6
+ 03006
7
+ 03007
8
+ 03008
9
+ 03009
10
+ 03010
11
+ 03011
12
+ 03012
13
+ 03013
14
+ 03014
15
+ 03015
16
+ 03016
17
+ 03540
18
+ 07001
19
+ 07002
20
+ 07003
21
+ 07004
22
+ 07005
23
+ 07006
24
+ 07007
25
+ 07008
26
+ 07009
27
+ 07010
28
+ 07011
29
+ 07012
30
+ 07013
31
+ 07014
32
+ 07015
33
+ 07600
34
+ 29190
35
+ 29601
36
+ 29602
37
+ 29660
38
+ 29670
39
+ 29678
40
+ 30001
41
+ 30002
42
+ 30003
43
+ 30004
44
+ 30005
45
+ 30006
46
+ 30007
47
+ 30008
48
+ 30009
49
+ 30010
50
+ 30011
51
+ 30100
52
+ 39002
53
+ 39003
54
+ 39004
55
+ 39005
56
+ 39006
57
+ 39007
58
+ 39008
59
+ 39009
60
+ 39010
61
+ 39011
62
+ 39012
63
+ 39100
64
+ 39110
65
+ 39120
66
+ 39600
67
+ 39608
68
+ 39610
69
+ 39611
70
+ 39613
71
+ 47001
72
+ 47002
73
+ 47003
74
+ 47004
75
+ 47005
76
+ 47006
77
+ 47007
78
+ 47008
79
+ 47009
80
+ 47010
81
+ 47011
82
+ 47012
83
+ 47013
84
+ 47014
85
+ 47015
86
+ 47016
87
+ 47195
88
+ 36201
89
+ 36202
90
+ 36203
91
+ 36204
92
+ 36205
93
+ 36211
94
+ 50001
95
+ 50002
96
+ 50003
97
+ 50004
98
+ 50005
99
+ 50006
100
+ 50007
101
+ 50008
102
+ 50009
103
+ 50010
104
+ 50011
105
+ 50012
106
+ 50013
107
+ 50014
108
+ 50015
109
+ 50016
110
+ 50017
111
+ 50018
112
+ 50021
113
+ 28903
114
+ 28907
115
+ 28916
116
+ 28941
117
+ 28943
118
+ 28944
119
+ 28945
120
+ 28921
121
+ 28922
122
+ 28923
123
+ 28924
124
+ 28925
125
+ 28931
126
+ 28932
127
+ 28933
128
+ 28934
129
+ 28935
130
+ 28936
131
+ 28937
132
+ 28938
133
+ 28001
134
+ 28002
135
+ 28003
136
+ 28004
137
+ 28005
138
+ 28006
139
+ 28007
140
+ 28008
141
+ 28009
142
+ 28010
143
+ 28011
144
+ 28012
145
+ 28013
146
+ 28014
147
+ 28015
148
+ 28016
149
+ 28017
150
+ 28018
151
+ 28019
152
+ 28020
153
+ 28021
154
+ 28022
155
+ 28023
156
+ 28024
157
+ 28025
158
+ 28026
159
+ 28027
160
+ 28028
161
+ 28029
162
+ 28030
163
+ 28031
164
+ 28031
165
+ 28033
166
+ 28034
167
+ 28035
168
+ 28036
169
+ 28037
170
+ 28038
171
+ 28039
172
+ 28040
173
+ 28041
174
+ 28042
175
+ 28043
176
+ 28044
177
+ 28045
178
+ 28046
179
+ 28047
180
+ 28049
181
+ 28050
182
+ 28051
183
+ 28053
184
+ 28054
185
+ 28223
186
+ 28224
187
+ 28100
188
+ 28108
189
+ 28109
190
+ 28700
191
+ 28701
192
+ 28702
193
+ 28703
194
+ 28706
195
+ 28707
196
+ 28708
197
+ 28709
198
+ 08001
199
+ 08002
200
+ 08003
201
+ 08004
202
+ 08005
203
+ 08006
204
+ 08007
205
+ 08008
206
+ 08009
207
+ 08010
208
+ 08011
209
+ 08012
210
+ 08013
211
+ 08014
212
+ 08015
213
+ 08016
214
+ 08017
215
+ 08018
216
+ 08019
217
+ 08020
218
+ 08021
219
+ 08022
220
+ 08023
221
+ 08024
222
+ 08025
223
+ 08026
224
+ 08027
225
+ 08028
226
+ 08029
227
+ 08030
228
+ 08031
229
+ 08032
230
+ 08033
231
+ 08034
232
+ 08035
233
+ 08036
234
+ 08037
235
+ 08038
236
+ 08039
237
+ 08040
238
+ 08041
239
+ 08042
240
+ 46001
241
+ 46002
242
+ 46003
243
+ 46004
244
+ 46005
245
+ 46006
246
+ 46007
247
+ 46008
248
+ 46009
249
+ 46010
250
+ 46011
251
+ 46012
252
+ 46013
253
+ 46014
254
+ 46015
255
+ 46016
256
+ 46017
257
+ 46018
258
+ 46019
259
+ 46020
260
+ 46021
261
+ 46022
262
+ 46023
263
+ 46024
264
+ 46025
265
+ 46026
266
+ 46035
267
+ 46920
268
+ 41001
269
+ 41002
270
+ 41003
271
+ 41004
272
+ 41005
273
+ 41006
274
+ 41007
275
+ 41008
276
+ 41009
277
+ 41010
278
+ 41011
279
+ 41012
280
+ 41013
281
+ 41018
282
+ 41092
283
+ 29001
284
+ 29002
285
+ 29003
286
+ 29004
287
+ 29005
288
+ 29006
289
+ 29007
290
+ 29008
291
+ 29009
292
+ 29010
293
+ 29011
294
+ 29012
295
+ 29013
296
+ 29014
297
+ 29015
298
+ 29016
299
+ 29017
300
+ 29018
301
+ 48001
302
+ 48002
303
+ 48003
304
+ 48004
305
+ 48005
306
+ 48006
307
+ 48007
308
+ 48008
309
+ 48009
310
+ 48010
311
+ 48011
312
+ 48012
313
+ 48013
314
+ 48014
315
+ 48015
app/code/local/Paack/Shipping/etc/config.xml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Paack_Shipping>
5
+ <version>0.1.0</version>
6
+ </Paack_Shipping>
7
+ </modules>
8
+ <global>
9
+ <models>
10
+ <paack_shipping>
11
+ <class>Paack_Shipping_Model</class>
12
+ </paack_shipping>
13
+ </models>
14
+ </global>
15
+ <default>
16
+ <carriers>
17
+ <paack_shipping>
18
+ <active>1</active>
19
+ <sallowspecific>0</sallowspecific>
20
+ <name>Paack Two Hour Delivery</name>
21
+ <title>Paack Two Hour Delivery</title>
22
+ <price>2.0</price>
23
+ <model>paack_shipping/carrier</model>
24
+ </paack_shipping>
25
+ </carriers>
26
+ </default>
27
+ <frontend>
28
+ <routers>
29
+ <mymodule>
30
+ <use>standard</use>
31
+ <args>
32
+ <module>Paack_Shipping</module>
33
+ <frontName>paack</frontName>
34
+ </args>
35
+ </mymodule>
36
+ </routers>
37
+ </frontend>
38
+ </config>
app/code/local/Paack/Shipping/etc/system.xml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <sections>
4
+ <carriers translate="label" module="shipping">
5
+ <groups>
6
+ <paack_shipping translate="label">
7
+ <label>Paack Carrier</label>
8
+ <frontend_type>text</frontend_type>
9
+ <sort_order>2</sort_order>
10
+ <show_in_default>1</show_in_default>
11
+ <show_in_website>1</show_in_website>
12
+ <show_in_store>1</show_in_store>
13
+ <fields>
14
+
15
+ <active translate="label">
16
+ <label>Enabled</label>
17
+ <frontend_type>select</frontend_type>
18
+ <source_model>adminhtml/system_config_source_yesno</source_model>
19
+ <sort_order>1</sort_order>
20
+ <show_in_default>1</show_in_default>
21
+ <show_in_website>1</show_in_website>
22
+ <show_in_store>0</show_in_store>
23
+ </active>
24
+
25
+ <title translate="label">
26
+ <label>Title</label>
27
+ <frontend_type>text</frontend_type>
28
+ <sort_order>2</sort_order>
29
+ <show_in_default>1</show_in_default>
30
+ <show_in_website>1</show_in_website>
31
+ <show_in_store>1</show_in_store>
32
+ </title>
33
+
34
+ <cost translate="label">
35
+ <label>Cost</label>
36
+ <frontend_type>text</frontend_type>
37
+ <sort_order>3</sort_order>
38
+ <show_in_default>1</show_in_default>
39
+ <show_in_website>1</show_in_website>
40
+ <show_in_store>1</show_in_store>
41
+ </cost>
42
+
43
+ <sort_order translate="label">
44
+ <label>Sort Order</label>
45
+ <frontend_type>text</frontend_type>
46
+ <sort_order>100</sort_order>
47
+ <show_in_default>1</show_in_default>
48
+ <show_in_website>1</show_in_website>
49
+ <show_in_store>0</show_in_store>
50
+ </sort_order>
51
+
52
+ <sallowspecific translate="label">
53
+ <label>Ship to Applicable Countries</label>
54
+ <frontend_type>select</frontend_type>
55
+ <sort_order>90</sort_order>
56
+ <frontend_class>shipping-applicable-country</frontend_class>
57
+ <source_model>adminhtml/system_config_source_shipping_allspecificcountries</source_model>
58
+ <show_in_default>1</show_in_default>
59
+ <show_in_website>1</show_in_website>
60
+ <show_in_store>0</show_in_store>
61
+ </sallowspecific>
62
+
63
+ <specificcountry translate="label">
64
+ <label>Ship to Specific Countries</label>
65
+ <frontend_type>multiselect</frontend_type>
66
+ <sort_order>91</sort_order>
67
+ <source_model>adminhtml/system_config_source_country</source_model>
68
+ <show_in_default>1</show_in_default>
69
+ <show_in_website>1</show_in_website>
70
+ <show_in_store>0</show_in_store>
71
+ <can_be_empty>1</can_be_empty>
72
+ </specificcountry>
73
+ </fields>
74
+ </paack_shipping>
75
+ </groups>
76
+ </carriers>
77
+ </sections>
78
+ </config>
app/etc/modules/Paack_Shipment.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Paack_Shipment>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ </Paack_Shipment>
8
+ </modules>
9
+ </config>
app/etc/modules/Paack_Shipping.xml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Paack_Shipping>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ <depends>
8
+ <Mage_Shipping />
9
+ </depends>
10
+ </Paack_Shipping>
11
+ </modules>
12
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>paack</name>
4
+ <version>0.1.0</version>
5
+ <stability>beta</stability>
6
+ <license>MITL</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Delivery goods within 2 hours using Paack</summary>
10
+ <description>Delivery goods within 2 hours using Paack</description>
11
+ <notes>Allows customers to ship goods using Paack</notes>
12
+ <authors><author><name>Suraj Shirvankar</name><user>h0lyalg0rithm</user><email>surajshirvankar@gmail.com</email></author></authors>
13
+ <date>2016-02-18</date>
14
+ <time>16:46:14</time>
15
+ <contents><target name="magelocal"><dir name="Paack"><dir name="Core"><dir name="etc"><file name="adminhtml.xml" hash="3c8b7051b188d545f0cae5bb616dbf8b"/><file name="config.xml" hash="b7d60cec323e35297d78c04e1cb6f086"/><file name="system.xml" hash="5dc93a156fce52ab92ddc8629d8c92b1"/></dir></dir><dir name="Shipment"><dir name="Model"><file name="Observer.php" hash="526c5f37a86517485df25a0dac02a01c"/></dir><dir name="etc"><file name="config.xml" hash="4c0c5f55818674dc34c447553c10fdf9"/></dir></dir><dir name="Shipping"><dir name="Model"><file name="Carrier.php" hash="cc1c0cd0351b8997ab4c318dedc375fa"/><dir name="Data"><file name="postal.csv" hash="72c6df832a6ee283552072b3b432b57d"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir><dir name="etc"><file name="config.xml" hash="1bb81e76eacdc3f59d1f9222e041927b"/><file name="system.xml" hash="f12a675c0c678d2aeed817632bf1a734"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Paack_Shipment.xml" hash="68950c4c3a01bc3c1af7b55e1571b358"/><file name="Paack_Shipping.xml" hash="2e035c8531b1f0d11e543893b7042cd5"/></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.6.0</min><max>5.6.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0</min><max>1.9.2</max></package></required></dependencies>
18
+ </package>