Version Notes
-
Download this release
Release Info
Developer | Mr. Shiphawk |
Extension | ShipHawk |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.1.0
- app/code/community/Shiphawk/.DS_Store +0 -0
- app/code/community/Shiphawk/MyCarrier/Model/Carrier.php +24 -5
- app/code/community/Shiphawk/Order/Model/.DS_Store +0 -0
- app/code/community/Shiphawk/Order/Model/Command/ChangeStatus.php +2 -1
- app/code/community/Shiphawk/Order/Model/Command/CheckConfiguration.php +10 -2
- app/code/community/Shiphawk/Order/Model/Command/SendOrder.php +36 -30
- app/code/community/Shiphawk/Order/Model/Observer/Order.php +1 -1
- app/code/community/Shiphawk/Order/Model/Source/Gateway.php +2 -0
- app/code/community/Shiphawk/Order/Model/Source/Ordersync.php +12 -0
- app/code/community/Shiphawk/Order/etc/config.xml +3 -0
- app/code/community/Shiphawk/Order/etc/system.xml +2 -2
- app/etc/modules/Shiphawk_Order.xml +12 -0
- app/etc/modules/Shiphawk_Shipping.xml +12 -0
- package.xml +8 -8
app/code/community/Shiphawk/.DS_Store
ADDED
Binary file
|
app/code/community/Shiphawk/MyCarrier/Model/Carrier.php
CHANGED
@@ -17,7 +17,8 @@ class ShipHawk_MyCarrier_Model_Carrier
|
|
17 |
'zip'=>Mage::getStoreConfig('shipping/origin/postcode')
|
18 |
),
|
19 |
'destination_address'=> array(
|
20 |
-
'zip'
|
|
|
21 |
),
|
22 |
'apply_rules'=>'true'
|
23 |
);
|
@@ -58,8 +59,8 @@ class ShipHawk_MyCarrier_Model_Carrier
|
|
58 |
*/
|
59 |
$rate->setCarrierTitle($shRate->carrier);
|
60 |
|
61 |
-
$rate->setMethod($shRate->carrier. '-' . $shRate->
|
62 |
-
$rate->setMethodTitle($shRate->
|
63 |
|
64 |
$rate->setPrice($shRate->price);
|
65 |
$rate->setCost($shRate->price);
|
@@ -74,7 +75,8 @@ class ShipHawk_MyCarrier_Model_Carrier
|
|
74 |
|
75 |
$jsonRateRequest = json_encode($rateRequest);
|
76 |
|
77 |
-
$client = new Zend_Http_Client($url . 'rates
|
|
|
78 |
|
79 |
Mage::log($jsonRateRequest, Zend_Log::INFO, 'shiphawk_rates.log', true);
|
80 |
|
@@ -92,10 +94,27 @@ class ShipHawk_MyCarrier_Model_Carrier
|
|
92 |
public function getItems($request)
|
93 |
{
|
94 |
$items = array();
|
|
|
|
|
95 |
foreach ($request->getAllItems() as $item) {
|
|
|
|
|
|
|
|
|
96 |
$items[] = array(
|
97 |
-
'product_sku' => $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
);
|
|
|
|
|
|
|
99 |
}
|
100 |
|
101 |
Mage::log($items);
|
17 |
'zip'=>Mage::getStoreConfig('shipping/origin/postcode')
|
18 |
),
|
19 |
'destination_address'=> array(
|
20 |
+
'zip' => $to_zip = $request->getDestPostcode(),
|
21 |
+
'is_residential' => 'true'
|
22 |
),
|
23 |
'apply_rules'=>'true'
|
24 |
);
|
59 |
*/
|
60 |
$rate->setCarrierTitle($shRate->carrier);
|
61 |
|
62 |
+
$rate->setMethod($shRate->carrier. '-' . $shRate->service_name);
|
63 |
+
$rate->setMethodTitle($shRate->service_name);
|
64 |
|
65 |
$rate->setPrice($shRate->price);
|
66 |
$rate->setCost($shRate->price);
|
75 |
|
76 |
$jsonRateRequest = json_encode($rateRequest);
|
77 |
|
78 |
+
$client = new Zend_Http_Client($url . 'rates');
|
79 |
+
$client->setHeaders('X-Api-Key', $key);
|
80 |
|
81 |
Mage::log($jsonRateRequest, Zend_Log::INFO, 'shiphawk_rates.log', true);
|
82 |
|
94 |
public function getItems($request)
|
95 |
{
|
96 |
$items = array();
|
97 |
+
$skuColumn = Mage::getStoreConfig('shiphawk/datamapping/sku_column');
|
98 |
+
Mage::log('getting sku from column: ' . $skuColumn, Zend_Log::INFO, 'shiphawk_rates.log', true);
|
99 |
foreach ($request->getAllItems() as $item) {
|
100 |
+
$product_id = $item->getProductId();
|
101 |
+
$product = Mage::getModel('catalog/product')->load($product_id);
|
102 |
+
//commenting out log statment to make the logs more readable. Uncomment when debugging rating.
|
103 |
+
//Mage::log('product data: ' . var_export($product->debug(), true), Zend_Log::INFO, 'shiphawk_rates.log', true);
|
104 |
$items[] = array(
|
105 |
+
'product_sku' => $product->getData($skuColumn),
|
106 |
+
'quantity' => $item->getQty(),
|
107 |
+
'value' => $item->getPrice(),
|
108 |
+
'length' => $item->getLength(),
|
109 |
+
'width' => $item->getWidth(),
|
110 |
+
'height' => $item->getHeight(),
|
111 |
+
'weight' => $item->getWeight(),
|
112 |
+
'item_type' => $item->getWeight() <= 70 ? 'parcel' : 'handling_unit',
|
113 |
+
'handling_unit_type' => $item->getWeight() <= 70 ? '' : 'box'
|
114 |
);
|
115 |
+
|
116 |
+
|
117 |
+
|
118 |
}
|
119 |
|
120 |
Mage::log($items);
|
app/code/community/Shiphawk/Order/Model/.DS_Store
ADDED
Binary file
|
app/code/community/Shiphawk/Order/Model/Command/ChangeStatus.php
CHANGED
@@ -7,7 +7,8 @@ class Shiphawk_Order_Model_Command_ChangeStatus
|
|
7 |
$url = Mage::getStoreConfig('shiphawk/order/gateway_url');
|
8 |
$key = Mage::getStoreConfig('shiphawk/order/api_key');
|
9 |
|
10 |
-
$client = new Zend_Http_Client($url . 'orders/' . $order->getIncrementId() . '/cancelled
|
|
|
11 |
|
12 |
$orderRequest = json_encode(
|
13 |
array(
|
7 |
$url = Mage::getStoreConfig('shiphawk/order/gateway_url');
|
8 |
$key = Mage::getStoreConfig('shiphawk/order/api_key');
|
9 |
|
10 |
+
$client = new Zend_Http_Client($url . 'orders/' . $order->getIncrementId() . '/cancelled');
|
11 |
+
$client->setHeaders('X-Api-Key', $key);
|
12 |
|
13 |
$orderRequest = json_encode(
|
14 |
array(
|
app/code/community/Shiphawk/Order/Model/Command/CheckConfiguration.php
CHANGED
@@ -6,18 +6,26 @@ class Shiphawk_Order_Model_Command_CheckConfiguration
|
|
6 |
{
|
7 |
$url = Mage::getStoreConfig('shiphawk/order/gateway_url');
|
8 |
$key = Mage::getStoreConfig('shiphawk/order/api_key');
|
9 |
-
$client = new Zend_Http_Client($url . 'user
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
$response = $client->request(Zend_Http_Client::GET);
|
12 |
|
13 |
if ($response->isSuccessful()) {
|
14 |
Mage::getSingleton('adminhtml/session')
|
15 |
-
->addSuccess(Mage::helper('shiphawk_order')->__('Your account successfully linked.'));
|
16 |
Mage::getConfig()->saveConfig('shiphawk/order/status', 1);
|
17 |
} else {
|
18 |
Mage::getSingleton('adminhtml/session')
|
19 |
->addError(Mage::helper('shiphawk_order')->__('Unable to authenticate API key.'));
|
20 |
Mage::getConfig()->saveConfig('shiphawk/order/status', 0);
|
21 |
}
|
|
|
22 |
}
|
23 |
}
|
6 |
{
|
7 |
$url = Mage::getStoreConfig('shiphawk/order/gateway_url');
|
8 |
$key = Mage::getStoreConfig('shiphawk/order/api_key');
|
9 |
+
$client = new Zend_Http_Client($url . 'user');
|
10 |
+
$client->setHeaders('X-Api-Key', $key);
|
11 |
+
|
12 |
+
|
13 |
+
if(!(Mage::getStoreConfig('general/store_information/name')) || !(Mage::getStoreConfig('general/store_information/phone'))){
|
14 |
+
Mage::getSingleton('adminhtml/session')
|
15 |
+
->addError(Mage::helper('shiphawk_order')->__('Missing information required for printing labels: Please add a store name and phone number under System > Configuration > General > Store Information'));
|
16 |
+
}
|
17 |
|
18 |
$response = $client->request(Zend_Http_Client::GET);
|
19 |
|
20 |
if ($response->isSuccessful()) {
|
21 |
Mage::getSingleton('adminhtml/session')
|
22 |
+
->addSuccess(Mage::helper('shiphawk_order')->__('Your account is successfully linked with Shiphawk.'));
|
23 |
Mage::getConfig()->saveConfig('shiphawk/order/status', 1);
|
24 |
} else {
|
25 |
Mage::getSingleton('adminhtml/session')
|
26 |
->addError(Mage::helper('shiphawk_order')->__('Unable to authenticate API key.'));
|
27 |
Mage::getConfig()->saveConfig('shiphawk/order/status', 0);
|
28 |
}
|
29 |
+
|
30 |
}
|
31 |
}
|
app/code/community/Shiphawk/Order/Model/Command/SendOrder.php
CHANGED
@@ -7,7 +7,9 @@ class Shiphawk_Order_Model_Command_SendOrder
|
|
7 |
Mage::log('building order object for Shiphawk');
|
8 |
$url = Mage::getStoreConfig('shiphawk/order/gateway_url');
|
9 |
$key = Mage::getStoreConfig('shiphawk/order/api_key');
|
10 |
-
$client = new Zend_Http_Client($url . 'orders
|
|
|
|
|
11 |
|
12 |
$itemsRequest = [];
|
13 |
$shippingRateId = '';
|
@@ -17,38 +19,40 @@ class Shiphawk_Order_Model_Command_SendOrder
|
|
17 |
|
18 |
$SHRates = Mage::getSingleton('core/session')->getSHRateAarray();
|
19 |
foreach($SHRates as $rateRow){
|
20 |
-
if(($rateRow->carrier . ' - ' . $rateRow->
|
21 |
$shippingRateId = $rateRow->id;
|
22 |
}
|
23 |
}
|
24 |
|
25 |
-
|
26 |
foreach ($order->getAllItems() as $item) {
|
27 |
/** @var Mage_Sales_Model_Order_Item $item */
|
|
|
|
|
28 |
$itemsRequest[] = array(
|
29 |
-
'
|
30 |
-
'
|
31 |
-
'
|
32 |
-
'
|
33 |
-
'
|
34 |
-
'
|
35 |
-
'
|
36 |
-
'
|
37 |
-
'
|
38 |
-
'item_type'
|
39 |
-
'
|
40 |
-
'handling_unit_type' => '',
|
41 |
-
'hs_code' => '',
|
42 |
);
|
|
|
43 |
}
|
44 |
|
45 |
$orderRequest = json_encode(
|
46 |
array(
|
47 |
'order_number' => $order->getIncrementId(),
|
|
|
48 |
'source_system' => 'magento',
|
49 |
'source_system_id' => $order->getEntityId(),
|
50 |
-
'source_system_processed_at' =>
|
51 |
-
'
|
52 |
'requested_shipping_details'=> $order->getShippingDescription(),
|
53 |
'origin_address' => $this->getOriginAddress(),
|
54 |
'destination_address' => $this->prepareAddress($order->getShippingAddress()),
|
@@ -57,7 +61,7 @@ class Shiphawk_Order_Model_Command_SendOrder
|
|
57 |
'shipping_price' => $order->getShippingAmount(),
|
58 |
'tax_price' => $order->getTaxAmount(),
|
59 |
'items_price' => $order->getSubtotal(),
|
60 |
-
'status' =>
|
61 |
)
|
62 |
);
|
63 |
|
@@ -74,25 +78,27 @@ class Shiphawk_Order_Model_Command_SendOrder
|
|
74 |
protected function prepareAddress(Mage_Sales_Model_Order_Address $address)
|
75 |
{
|
76 |
return array(
|
77 |
-
'name'
|
78 |
. $address->getMiddlename() . ' '
|
79 |
. $address->getLastname(),
|
80 |
-
'company'
|
81 |
-
'street1'
|
82 |
-
'street2'
|
83 |
-
'phone_number'
|
84 |
-
'city'
|
85 |
-
'state'
|
86 |
-
'country'
|
87 |
-
'zip'
|
88 |
-
'email'
|
89 |
-
'
|
90 |
);
|
91 |
}
|
92 |
|
93 |
protected function getOriginAddress()
|
94 |
{
|
95 |
return array(
|
|
|
|
|
96 |
'street1' => Mage::getStoreConfig('shipping/origin/street_line1'),
|
97 |
'street2' => Mage::getStoreConfig('shipping/origin/street_line2'),
|
98 |
'city' => Mage::getStoreConfig('shipping/origin/city'),
|
7 |
Mage::log('building order object for Shiphawk');
|
8 |
$url = Mage::getStoreConfig('shiphawk/order/gateway_url');
|
9 |
$key = Mage::getStoreConfig('shiphawk/order/api_key');
|
10 |
+
$client = new Zend_Http_Client($url . 'orders');
|
11 |
+
$client->setHeaders('X-Api-Key', $key);
|
12 |
+
|
13 |
|
14 |
$itemsRequest = [];
|
15 |
$shippingRateId = '';
|
19 |
|
20 |
$SHRates = Mage::getSingleton('core/session')->getSHRateAarray();
|
21 |
foreach($SHRates as $rateRow){
|
22 |
+
if(($rateRow->carrier . ' - ' . $rateRow->service_name) == $order->getShippingDescription()){
|
23 |
$shippingRateId = $rateRow->id;
|
24 |
}
|
25 |
}
|
26 |
|
27 |
+
$skuColumn = Mage::getStoreConfig('shiphawk/datamapping/sku_column');
|
28 |
foreach ($order->getAllItems() as $item) {
|
29 |
/** @var Mage_Sales_Model_Order_Item $item */
|
30 |
+
$product_id = $item->getProductId();
|
31 |
+
$product = Mage::getModel('catalog/product')->load($product_id);
|
32 |
$itemsRequest[] = array(
|
33 |
+
'name' => $item->getName(),
|
34 |
+
'sku' => $product->getData($skuColumn),
|
35 |
+
'quantity' => $item->getQtyOrdered(),
|
36 |
+
'value' => $item->getPrice(),
|
37 |
+
'length' => $item->getLength(),
|
38 |
+
'width' => $item->getWidth(),
|
39 |
+
'height' => $item->getHeight(),
|
40 |
+
'weight' => $item->getWeight(),
|
41 |
+
'can_ship_parcel' => true,
|
42 |
+
'item_type' => $item->getWeight() <= 70 ? 'parcel' : 'handling_unit',
|
43 |
+
'handling_unit_type' => $item->getWeight() <= 70 ? '' : 'box'
|
|
|
|
|
44 |
);
|
45 |
+
|
46 |
}
|
47 |
|
48 |
$orderRequest = json_encode(
|
49 |
array(
|
50 |
'order_number' => $order->getIncrementId(),
|
51 |
+
'source' => 'magento',
|
52 |
'source_system' => 'magento',
|
53 |
'source_system_id' => $order->getEntityId(),
|
54 |
+
'source_system_processed_at' => $order->getCreatedAt(),
|
55 |
+
'requested_rate_id' => $shippingRateId,
|
56 |
'requested_shipping_details'=> $order->getShippingDescription(),
|
57 |
'origin_address' => $this->getOriginAddress(),
|
58 |
'destination_address' => $this->prepareAddress($order->getShippingAddress()),
|
61 |
'shipping_price' => $order->getShippingAmount(),
|
62 |
'tax_price' => $order->getTaxAmount(),
|
63 |
'items_price' => $order->getSubtotal(),
|
64 |
+
'status' => 'new',
|
65 |
)
|
66 |
);
|
67 |
|
78 |
protected function prepareAddress(Mage_Sales_Model_Order_Address $address)
|
79 |
{
|
80 |
return array(
|
81 |
+
'name' => $address->getFirstname() . ' '
|
82 |
. $address->getMiddlename() . ' '
|
83 |
. $address->getLastname(),
|
84 |
+
'company' => $address->getCompany(),
|
85 |
+
'street1' => $address->getStreet1(),
|
86 |
+
'street2' => $address->getStreet2(),
|
87 |
+
'phone_number' => $address->getTelephone(),
|
88 |
+
'city' => $address->getCity(),
|
89 |
+
'state' => $address->getRegionCode(),
|
90 |
+
'country' => $address->getCountryId(),
|
91 |
+
'zip' => $address->getPostcode(),
|
92 |
+
'email' => $address->getEmail(),
|
93 |
+
'is_residential' => 'true'
|
94 |
);
|
95 |
}
|
96 |
|
97 |
protected function getOriginAddress()
|
98 |
{
|
99 |
return array(
|
100 |
+
'name' => Mage::getStoreConfig('general/store_information/name'),
|
101 |
+
'phone_number' => Mage::getStoreConfig('general/store_information/phone'),
|
102 |
'street1' => Mage::getStoreConfig('shipping/origin/street_line1'),
|
103 |
'street2' => Mage::getStoreConfig('shipping/origin/street_line2'),
|
104 |
'city' => Mage::getStoreConfig('shipping/origin/city'),
|
app/code/community/Shiphawk/Order/Model/Observer/Order.php
CHANGED
@@ -16,7 +16,7 @@ class Shiphawk_Order_Model_Observer_Order
|
|
16 |
public function changeStatus($observer)
|
17 |
{
|
18 |
if ($this->isAvailable()) {
|
19 |
-
|
20 |
}
|
21 |
}
|
22 |
}
|
16 |
public function changeStatus($observer)
|
17 |
{
|
18 |
if ($this->isAvailable()) {
|
19 |
+
//Mage::getModel('shiphawk_order/command_changeStatus')->execute($observer->getOrder());
|
20 |
}
|
21 |
}
|
22 |
}
|
app/code/community/Shiphawk/Order/Model/Source/Gateway.php
CHANGED
@@ -7,7 +7,9 @@ class Shiphawk_Order_Model_Source_Gateway
|
|
7 |
return array(
|
8 |
array('value'=>'https://shiphawk.com/api/v4/', 'label' => Mage::helper('adminhtml')->__('Live')),
|
9 |
array('value'=>'https://sandbox.shiphawk.com/api/v4/', 'label' => Mage::helper('adminhtml')->__('Sandbox')),
|
|
|
10 |
array('value'=>'https://qa.shiphawk.com/api/v4/', 'label' => Mage::helper('adminhtml')->__('QA')),
|
|
|
11 |
);
|
12 |
}
|
13 |
}
|
7 |
return array(
|
8 |
array('value'=>'https://shiphawk.com/api/v4/', 'label' => Mage::helper('adminhtml')->__('Live')),
|
9 |
array('value'=>'https://sandbox.shiphawk.com/api/v4/', 'label' => Mage::helper('adminhtml')->__('Sandbox')),
|
10 |
+
array('value'=>'https://stage.shiphawk.com/api/v4/', 'label' => Mage::helper('adminhtml')->__('STAGE')),
|
11 |
array('value'=>'https://qa.shiphawk.com/api/v4/', 'label' => Mage::helper('adminhtml')->__('QA')),
|
12 |
+
array('value'=>'http://127.0.0.1:3000/api/v4/', 'label' => Mage::helper('adminhtml')->__('LOCAL'))
|
13 |
);
|
14 |
}
|
15 |
}
|
app/code/community/Shiphawk/Order/Model/Source/Ordersync.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Shiphawk_Order_Model_Source_Ordersync
|
4 |
+
{
|
5 |
+
public function toOptionArray()
|
6 |
+
{
|
7 |
+
return array(
|
8 |
+
array('value'=>'1', 'label' => 'Send orders to ShipHawk'),
|
9 |
+
array('value'=>'0', 'label' => 'Do not send orders to ShipHawk'),
|
10 |
+
);
|
11 |
+
}
|
12 |
+
}
|
app/code/community/Shiphawk/Order/etc/config.xml
CHANGED
@@ -67,6 +67,9 @@
|
|
67 |
<active>1</active>
|
68 |
<gateway_url>https://shiphawk.com/api/v4/</gateway_url>
|
69 |
</order>
|
|
|
|
|
|
|
70 |
</shiphawk>
|
71 |
</default>
|
72 |
<adminhtml>
|
67 |
<active>1</active>
|
68 |
<gateway_url>https://shiphawk.com/api/v4/</gateway_url>
|
69 |
</order>
|
70 |
+
<datamapping>
|
71 |
+
<sku_column>name</sku_column>
|
72 |
+
</datamapping>
|
73 |
</shiphawk>
|
74 |
</default>
|
75 |
<adminhtml>
|
app/code/community/Shiphawk/Order/etc/system.xml
CHANGED
@@ -25,9 +25,9 @@
|
|
25 |
<show_in_store>1</show_in_store>
|
26 |
<fields>
|
27 |
<active translate="label">
|
28 |
-
<label>
|
29 |
<frontend_type>select</frontend_type>
|
30 |
-
<source_model>
|
31 |
<sort_order>10</sort_order>
|
32 |
<show_in_default>1</show_in_default>
|
33 |
<show_in_website>1</show_in_website>
|
25 |
<show_in_store>1</show_in_store>
|
26 |
<fields>
|
27 |
<active translate="label">
|
28 |
+
<label>Order Sync</label>
|
29 |
<frontend_type>select</frontend_type>
|
30 |
+
<source_model>shiphawk_order/source_ordersync</source_model>
|
31 |
<sort_order>10</sort_order>
|
32 |
<show_in_default>1</show_in_default>
|
33 |
<show_in_website>1</show_in_website>
|
app/etc/modules/Shiphawk_Order.xml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Shiphawk_Order>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
<depends>
|
8 |
+
<Mage_Sales />
|
9 |
+
</depends>
|
10 |
+
</Shiphawk_Order>
|
11 |
+
</modules>
|
12 |
+
</config>
|
app/etc/modules/Shiphawk_Shipping.xml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Shiphawk_MyCarrier>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
<depends>
|
8 |
+
<Mage_Shipping />
|
9 |
+
</depends>
|
10 |
+
</Shiphawk_MyCarrier>
|
11 |
+
</modules>
|
12 |
+
</config>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ShipHawk</name>
|
4 |
-
<version>2.
|
5 |
-
<stability>
|
6 |
-
<license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>-</summary>
|
10 |
<description>-</description>
|
11 |
<notes>-</notes>
|
12 |
-
<authors><author><name>
|
13 |
-
<date>2016-
|
14 |
-
<time>
|
15 |
-
<contents><target name="
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.0
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ShipHawk</name>
|
4 |
+
<version>2.1.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="https://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>-</summary>
|
10 |
<description>-</description>
|
11 |
<notes>-</notes>
|
12 |
+
<authors><author><name>Mr. Shiphawk</name><user>MAG002779924</user><email>mikel@shiphawk.com</email></author></authors>
|
13 |
+
<date>2016-09-14</date>
|
14 |
+
<time>21:33:02</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Shiphawk"><dir name="MyCarrier"><dir name="Model"><file name="Carrier.php" hash="fd003dfedad54c6ece994d0906215b75"/></dir><dir name="etc"><file name="config.xml" hash="6c79463b2a9d70f83020b21b8ab8f830"/><file name="system.xml" hash="5db176acade31f82578f55dc2f1babd2"/></dir></dir><dir name="Order"><dir name="Block"><dir name="System"><file name="Link.php" hash="c44c95b4b5f8b1d87038d9707a970737"/></dir></dir><dir name="Helper"><file name="Data.php" hash="1a2f8a93a310d337787a34c3d6f1ecbb"/></dir><dir name="Model"><dir name="Command"><file name="ChangeStatus.php" hash="3d916b6ed60957849c27222bcaeb4672"/><file name="CheckConfiguration.php" hash="39b710b50ac78dc67346922609852f23"/><file name="SendOrder.php" hash="f54800166bd2e32e71dcf6ff9ab6ad26"/></dir><dir name="Cron"><file name="ProcessOrderForLast14Days.php" hash="b9559a7b8c90df810c8fb412883e9fbe"/></dir><dir name="Observer"><file name="Config.php" hash="e44707a0586a18fea8a69646ff21b74a"/><file name="Order.php" hash="89674e02cb81fe2d062defa09bbb4d22"/></dir><dir name="Source"><file name="Gateway.php" hash="18df9d2ee851cbbcd2654ed69c2b311c"/><file name="Ordersync.php" hash="a15ba0ffe025a8a190516b09ce826022"/></dir><file name="StatusMapper.php" hash="45807c1a7f87acffdb8fde23405433d5"/><file name=".DS_Store" hash="48224efb891e3116e137d10939de8b97"/></dir><dir name="etc"><file name="config.xml" hash="b0fcf5f9f7849b6d3313a222f50b8158"/><file name="system.xml" hash="fb7f76fbd0d21f3d89b51fa0378b61ce"/></dir></dir><file name=".DS_Store" hash="863d45df3ecb667ece8afbd72893d4b0"/></dir></target><target name="mageetc"><dir name="modules"><file name="Shiphawk_Order.xml" hash="41c5c882c390ff710b6632f2251165f5"/><file name="Shiphawk_Shipping.xml" hash="a9b0d8dcac01ccccef7f0f9ff52a7aba"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><file name="shiphawk" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
|
18 |
</package>
|