StitchLabs_ChannelIntegration - Version 1.0.11

Version Notes

1.0.11
* Add return to stock information to credit memos
* Import credit memos
* This package version requires a new database column in the sales_flat_creditmemo_item table
* This module requires version 1.0.10

1.0.10
* Add shipment and tracking information

1.0.8
* Add fixes to report proper validation object errors

1.0.7
* Added module version information endpoint

1.0.6
* Relaxed Magento Core version check to 1.7.0.2

1.0.5
* Added pre-installation checks
* Added PHP server info verifications

1.0.4
* Fixed bug with improper function definitions

1.0.3
* Add pagination functionality to order endpoint

1.0.2
* Added missing stock_data to product info WSDL

1.0.1
* Add pagination functionality to product endpoints

1.0.0
* Initial working release

Download this release

Release Info

Developer Robert Navarro
Extension StitchLabs_ChannelIntegration
Version 1.0.11
Comparing to
See all releases


Code changes from version 1.0.10 to 1.0.11

app/code/community/StitchLabs/.gitignore ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Created by https://www.gitignore.io/api/phpstorm
2
+
3
+ ### PhpStorm ###
4
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
5
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
6
+
7
+ # User-specific stuff:
8
+ .idea/*
9
+
10
+ # Sensitive or high-churn files:
11
+ .idea/dataSources.ids
12
+ .idea/dataSources.xml
13
+ .idea/dataSources.local.xml
14
+ .idea/sqlDataSources.xml
15
+ .idea/dynamic.xml
16
+ .idea/uiDesigner.xml
17
+
18
+ # Gradle:
19
+ .idea/gradle.xml
20
+ .idea/libraries
21
+
22
+ # Mongo Explorer plugin:
23
+ .idea/mongoSettings.xml
24
+
25
+ ## File-based project format:
26
+ *.iws
27
+
28
+ ## Plugin-specific files:
29
+
30
+ # IntelliJ
31
+ /out/
32
+
33
+ # mpeltonen/sbt-idea plugin
34
+ .idea_modules/
35
+
36
+ # JIRA plugin
37
+ atlassian-ide-plugin.xml
38
+
39
+ # Crashlytics plugin (for Android Studio and IntelliJ)
40
+ com_crashlytics_export_strings.xml
41
+ crashlytics.properties
42
+ crashlytics-build.properties
43
+ fabric.properties
44
+
45
+ ### PhpStorm Patch ###
46
+ # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
47
+
48
+ # *.iml
49
+ # modules.xml
app/code/community/StitchLabs/ChannelIntegration/Model/Observer.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class StitchLabs_ChannelIntegration_Model_Observer {
4
+
5
+ /**
6
+ * This will hook into the 'sales_order_creditmemo_save_after' event which is defined in the
7
+ * config.xml of this module. Because magento is not keeping track of if a credit memo line item was returned
8
+ * to stock, we will loop over all credit memo line items and check if the line item will be returned to stock
9
+ * or not.
10
+ * When importing Magento credit memos into Stitch, the 'StitchLabs_ChannelIntegration_return_to_stock' which
11
+ * we create on installation of this module in the sales_flat_creditmemo_item table, will be used to determine
12
+ * if we have to reconcile stock for this product variant.
13
+ *
14
+ * @param $observer
15
+ */
16
+ public function logCreditMemoStockReturns($observer)
17
+ {
18
+ $creditmemo = $observer->getEvent()->getCreditmemo();
19
+ $items = $creditmemo->getAllItems();
20
+
21
+ foreach ($items as $item)
22
+ {
23
+ $return = false;
24
+
25
+ if ($item->hasBackToStock())
26
+ {
27
+ if ($item->getBackToStock() && $item->getQty())
28
+ {
29
+ $return = true;
30
+ }
31
+ }
32
+ elseif (Mage::helper('cataloginventory')->isAutoReturnEnabled())
33
+ {
34
+ $return = true;
35
+ }
36
+
37
+ if ($return)
38
+ {
39
+ $item->setData('StitchLabs_ChannelIntegration_return_to_stock', 1);
40
+ $item->save();
41
+ }
42
+ }
43
+ }
44
+ }
app/code/community/StitchLabs/ChannelIntegration/Model/Order/Api.php CHANGED
@@ -16,8 +16,8 @@
16
  * @license http://opensource.org/licenses/mit-license.php MIT License
17
  */
18
  class StitchLabs_ChannelIntegration_Model_Order_Api
19
- extends Mage_Sales_Model_Order_Api
20
- {
21
  /**
22
  * Retrieve list of orders. Filtration could be applied
23
  *
@@ -26,57 +26,68 @@ class StitchLabs_ChannelIntegration_Model_Order_Api
26
  */
27
  public function items($filters = null)
28
  {
29
- $orders = array();
30
 
31
  //TODO: add full name logic
32
- $billingAliasName = 'billing_o_a';
33
  $shippingAliasName = 'shipping_o_a';
34
 
35
  /** @var $orderCollection Mage_Sales_Model_Mysql4_Order_Collection */
36
- $orderCollection = Mage::getModel("sales/order")->getCollection();
37
- $billingFirstnameField = "$billingAliasName.firstname";
38
- $billingLastnameField = "$billingAliasName.lastname";
39
  $shippingFirstnameField = "$shippingAliasName.firstname";
40
- $shippingLastnameField = "$shippingAliasName.lastname";
41
  $orderCollection->addAttributeToSelect('*')
42
  ->addAddressFields()
43
  ->addExpressionFieldToSelect('billing_firstname', "{{billing_firstname}}",
44
- array('billing_firstname' => $billingFirstnameField))
45
  ->addExpressionFieldToSelect('billing_lastname', "{{billing_lastname}}",
46
- array('billing_lastname' => $billingLastnameField))
47
  ->addExpressionFieldToSelect('shipping_firstname', "{{shipping_firstname}}",
48
- array('shipping_firstname' => $shippingFirstnameField))
49
  ->addExpressionFieldToSelect('shipping_lastname', "{{shipping_lastname}}",
50
- array('shipping_lastname' => $shippingLastnameField))
51
  ->addExpressionFieldToSelect('billing_name', "CONCAT({{billing_firstname}}, ' ', {{billing_lastname}})",
52
- array('billing_firstname' => $billingFirstnameField, 'billing_lastname' => $billingLastnameField))
53
  ->addExpressionFieldToSelect('shipping_name', 'CONCAT({{shipping_firstname}}, " ", {{shipping_lastname}})',
54
- array('shipping_firstname' => $shippingFirstnameField, 'shipping_lastname' => $shippingLastnameField)
55
  );
56
 
57
  /** @var $apiHelper Mage_Api_Helper_Data */
58
  $apiHelper = Mage::helper('api');
59
- $filters = $apiHelper->parseFilters($filters, $this->_attributesMap['order']);
60
- try {
61
- $page = 1;
 
62
  $page_size = 50;
63
 
64
- foreach ($filters as $field => $value) {
65
- if ($field == 'page') {
 
 
66
  $page = $value;
67
- } elseif ($field == 'size') {
 
 
68
  $page_size = $value;
69
- } else {
 
 
70
  $orderCollection->addFieldToFilter($field, $value);
71
  }
72
  }
73
 
74
  $orderCollection->setPage($page, $page_size);
75
- } catch (Mage_Core_Exception $e) {
 
 
76
  $this->_fault('filters_invalid', $e->getMessage());
77
  }
78
- foreach ($orderCollection as $order) {
79
- if ($order->getGiftMessageId() > 0) {
 
 
80
  $order->setGiftMessage(
81
  Mage::getSingleton('giftmessage/message')->load($order->getGiftMessageId())->getMessage()
82
  );
@@ -85,11 +96,13 @@ class StitchLabs_ChannelIntegration_Model_Order_Api
85
  $result = $this->_getAttributes($order, 'order');
86
 
87
  $result['shipping_address'] = $this->_getAttributes($order->getShippingAddress(), 'order_address');
88
- $result['billing_address'] = $this->_getAttributes($order->getBillingAddress(), 'order_address');
89
- $result['items'] = array();
90
 
91
- foreach ($order->getAllItems() as $item) {
92
- if ($item->getGiftMessageId() > 0) {
 
 
93
  $item->setGiftMessage(
94
  Mage::getSingleton('giftmessage/message')->load($item->getGiftMessageId())->getMessage()
95
  );
@@ -98,37 +111,108 @@ class StitchLabs_ChannelIntegration_Model_Order_Api
98
  $result['items'][] = $this->_getAttributes($item, 'order_item');
99
  }
100
 
101
- $result['shipments'] = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  $shipment_collection = $order->getShipmentsCollection();
103
 
104
- foreach ($shipment_collection as $shipment) {
 
105
  $temp_shipment = $this->_getAttributes($shipment, 'shipment');
106
 
107
  $temp_shipment['shipment_id'] = $shipment->getId();
108
 
109
- $temp_shipment['items'] = array();
110
- foreach ($shipment->getAllItems() as $item) {
 
111
  $temp_shipment['items'][] = $this->_getAttributes($item, 'shipment_item');
112
  }
113
 
114
- $temp_shipment['tracks'] = array();
115
- foreach ($shipment->getAllTracks() as $track) {
 
116
  $temp_shipment['tracks'][] = $this->_getAttributes($track, 'shipment_track');
117
  }
118
 
119
- $temp_shipment['comments'] = array();
120
- foreach ($shipment->getCommentsCollection() as $comment) {
 
121
  $temp_shipment['comments'][] = $this->_getAttributes($comment, 'shipment_comment');
122
  }
123
 
124
  $result['shipments'][] = $temp_shipment;
125
  }
126
 
127
- $result['payment'] = $this->_getAttributes($order->getPayment(), 'order_payment');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
- $result['status_history'] = array();
130
 
131
- foreach ($order->getAllStatusHistory() as $history) {
 
132
  $result['status_history'][] = $this->_getAttributes($history, 'order_status_history');
133
  }
134
 
16
  * @license http://opensource.org/licenses/mit-license.php MIT License
17
  */
18
  class StitchLabs_ChannelIntegration_Model_Order_Api
19
+ extends Mage_Sales_Model_Order_Api {
20
+
21
  /**
22
  * Retrieve list of orders. Filtration could be applied
23
  *
26
  */
27
  public function items($filters = null)
28
  {
29
+ $orders = [];
30
 
31
  //TODO: add full name logic
32
+ $billingAliasName = 'billing_o_a';
33
  $shippingAliasName = 'shipping_o_a';
34
 
35
  /** @var $orderCollection Mage_Sales_Model_Mysql4_Order_Collection */
36
+ $orderCollection = Mage::getModel("sales/order")->getCollection();
37
+ $billingFirstnameField = "$billingAliasName.firstname";
38
+ $billingLastnameField = "$billingAliasName.lastname";
39
  $shippingFirstnameField = "$shippingAliasName.firstname";
40
+ $shippingLastnameField = "$shippingAliasName.lastname";
41
  $orderCollection->addAttributeToSelect('*')
42
  ->addAddressFields()
43
  ->addExpressionFieldToSelect('billing_firstname', "{{billing_firstname}}",
44
+ ['billing_firstname' => $billingFirstnameField])
45
  ->addExpressionFieldToSelect('billing_lastname', "{{billing_lastname}}",
46
+ ['billing_lastname' => $billingLastnameField])
47
  ->addExpressionFieldToSelect('shipping_firstname', "{{shipping_firstname}}",
48
+ ['shipping_firstname' => $shippingFirstnameField])
49
  ->addExpressionFieldToSelect('shipping_lastname', "{{shipping_lastname}}",
50
+ ['shipping_lastname' => $shippingLastnameField])
51
  ->addExpressionFieldToSelect('billing_name', "CONCAT({{billing_firstname}}, ' ', {{billing_lastname}})",
52
+ ['billing_firstname' => $billingFirstnameField, 'billing_lastname' => $billingLastnameField])
53
  ->addExpressionFieldToSelect('shipping_name', 'CONCAT({{shipping_firstname}}, " ", {{shipping_lastname}})',
54
+ ['shipping_firstname' => $shippingFirstnameField, 'shipping_lastname' => $shippingLastnameField]
55
  );
56
 
57
  /** @var $apiHelper Mage_Api_Helper_Data */
58
  $apiHelper = Mage::helper('api');
59
+ $filters = $apiHelper->parseFilters($filters, $this->_attributesMap['order']);
60
+ try
61
+ {
62
+ $page = 1;
63
  $page_size = 50;
64
 
65
+ foreach ($filters as $field => $value)
66
+ {
67
+ if ($field == 'page')
68
+ {
69
  $page = $value;
70
+ }
71
+ elseif ($field == 'size')
72
+ {
73
  $page_size = $value;
74
+ }
75
+ else
76
+ {
77
  $orderCollection->addFieldToFilter($field, $value);
78
  }
79
  }
80
 
81
  $orderCollection->setPage($page, $page_size);
82
+ }
83
+ catch (Mage_Core_Exception $e)
84
+ {
85
  $this->_fault('filters_invalid', $e->getMessage());
86
  }
87
+ foreach ($orderCollection as $order)
88
+ {
89
+ if ($order->getGiftMessageId() > 0)
90
+ {
91
  $order->setGiftMessage(
92
  Mage::getSingleton('giftmessage/message')->load($order->getGiftMessageId())->getMessage()
93
  );
96
  $result = $this->_getAttributes($order, 'order');
97
 
98
  $result['shipping_address'] = $this->_getAttributes($order->getShippingAddress(), 'order_address');
99
+ $result['billing_address'] = $this->_getAttributes($order->getBillingAddress(), 'order_address');
100
+ $result['items'] = [];
101
 
102
+ foreach ($order->getAllItems() as $item)
103
+ {
104
+ if ($item->getGiftMessageId() > 0)
105
+ {
106
  $item->setGiftMessage(
107
  Mage::getSingleton('giftmessage/message')->load($item->getGiftMessageId())->getMessage()
108
  );
111
  $result['items'][] = $this->_getAttributes($item, 'order_item');
112
  }
113
 
114
+ /**
115
+ * Add invoices
116
+ */
117
+ $result['invoices'] = [];
118
+ $invoice_collection = $order->getInvoiceCollection();
119
+
120
+ foreach ($invoice_collection as $invoice)
121
+ {
122
+ $temp_invoice = $this->_getAttributes($invoice, 'invoice');
123
+
124
+ $temp_invoice['invoice_id'] = $invoice->getId();
125
+
126
+ $temp_invoice['items'] = [];
127
+ foreach ($invoice->getAllItems() as $item)
128
+ {
129
+ $temp_invoice['items'][] = $this->_getAttributes($item, 'invoice_item');
130
+ }
131
+
132
+ $temp_invoice['comments'] = [];
133
+ foreach ($invoice->getCommentsCollection() as $comment)
134
+ {
135
+ $temp_invoice['comments'][] = $this->_getAttributes($comment, 'invoice_comment');
136
+ }
137
+
138
+ $result['invoices'][] = $temp_invoice;
139
+ }
140
+
141
+ /**
142
+ * Add payment
143
+ */
144
+ $result['payment'] = $this->_getAttributes($order->getPayment(), 'order_payment');
145
+
146
+ /**
147
+ * Add shipments
148
+ */
149
+ $result['shipments'] = [];
150
  $shipment_collection = $order->getShipmentsCollection();
151
 
152
+ foreach ($shipment_collection as $shipment)
153
+ {
154
  $temp_shipment = $this->_getAttributes($shipment, 'shipment');
155
 
156
  $temp_shipment['shipment_id'] = $shipment->getId();
157
 
158
+ $temp_shipment['items'] = [];
159
+ foreach ($shipment->getAllItems() as $item)
160
+ {
161
  $temp_shipment['items'][] = $this->_getAttributes($item, 'shipment_item');
162
  }
163
 
164
+ $temp_shipment['tracks'] = [];
165
+ foreach ($shipment->getAllTracks() as $track)
166
+ {
167
  $temp_shipment['tracks'][] = $this->_getAttributes($track, 'shipment_track');
168
  }
169
 
170
+ $temp_shipment['comments'] = [];
171
+ foreach ($shipment->getCommentsCollection() as $comment)
172
+ {
173
  $temp_shipment['comments'][] = $this->_getAttributes($comment, 'shipment_comment');
174
  }
175
 
176
  $result['shipments'][] = $temp_shipment;
177
  }
178
 
179
+ /**
180
+ * Add credit memos
181
+ */
182
+ $result['creditmemos'] = [];
183
+ $creditmemos_collection = $order->getCreditmemosCollection();
184
+
185
+ foreach ($creditmemos_collection as $creditmemo)
186
+ {
187
+ $temp_creditmemo = $this->_getAttributes($creditmemo, 'creditmemo');
188
+
189
+ $temp_creditmemo['creditmemo_id'] = $creditmemo->getId();
190
+
191
+ $temp_creditmemo['items'] = [];
192
+ foreach ($creditmemo->getAllItems() as $item)
193
+ {
194
+ $temp_creditmemo['items'][] = $this->_getAttributes($item, 'creditmemo_item');
195
+ }
196
+
197
+
198
+ /**
199
+ * Add order comments
200
+ */
201
+ $temp_creditmemo['comments'] = [];
202
+
203
+ foreach ($creditmemo->getCommentsCollection() as $comment)
204
+ {
205
+ $temp_creditmemo['comments'][] = $this->_getAttributes($comment, 'creditmemo_comment');
206
+ }
207
+
208
+
209
+ $result['creditmemos'][] = $temp_creditmemo;
210
+ }
211
 
212
+ $result['status_history'] = [];
213
 
214
+ foreach ($order->getAllStatusHistory() as $history)
215
+ {
216
  $result['status_history'][] = $this->_getAttributes($history, 'order_status_history');
217
  }
218
 
app/code/community/StitchLabs/ChannelIntegration/Model/Resource/Setup.php CHANGED
@@ -22,5 +22,5 @@
22
  * @author Ultimate Module Creator
23
  */
24
  class StitchLabs_ChannelIntegration_Model_Resource_Setup
25
- extends Mage_Core_Model_Resource_Setup {
26
  }
22
  * @author Ultimate Module Creator
23
  */
24
  class StitchLabs_ChannelIntegration_Model_Resource_Setup
25
+ extends Mage_Sales_Model_Resource_Setup {
26
  }
app/code/community/StitchLabs/ChannelIntegration/etc/config.xml CHANGED
@@ -19,18 +19,10 @@
19
  <config>
20
  <modules>
21
  <StitchLabs_ChannelIntegration>
22
- <version>1.0.10</version>
23
  </StitchLabs_ChannelIntegration>
24
  </modules>
25
  <global>
26
- <resources>
27
- <stitchlabs_channelintegration_setup>
28
- <setup>
29
- <module>StitchLabs_ChannelIntegration</module>
30
- <class>StitchLabs_ChannelIntegration_Model_Resource_Setup</class>
31
- </setup>
32
- </stitchlabs_channelintegration_setup>
33
- </resources>
34
  <blocks>
35
  <stitchlabs_channelintegration>
36
  <class>StitchLabs_ChannelIntegration_Block</class>
@@ -61,5 +53,25 @@
61
  </entities>
62
  </stitchlabs_channelintegration_resource>
63
  </models>
 
 
 
 
 
 
 
 
64
  </global>
 
 
 
 
 
 
 
 
 
 
 
 
65
  </config>
19
  <config>
20
  <modules>
21
  <StitchLabs_ChannelIntegration>
22
+ <version>1.0.11</version>
23
  </StitchLabs_ChannelIntegration>
24
  </modules>
25
  <global>
 
 
 
 
 
 
 
 
26
  <blocks>
27
  <stitchlabs_channelintegration>
28
  <class>StitchLabs_ChannelIntegration_Block</class>
53
  </entities>
54
  </stitchlabs_channelintegration_resource>
55
  </models>
56
+ <resources>
57
+ <stitchlabs_channelintegration_setup>
58
+ <setup>
59
+ <module>StitchLabs_ChannelIntegration</module>
60
+ <class>StitchLabs_ChannelIntegration_Model_Resource_Setup</class>
61
+ </setup>
62
+ </stitchlabs_channelintegration_setup>
63
+ </resources>
64
  </global>
65
+ <adminhtml>
66
+ <events>
67
+ <sales_order_creditmemo_save_after>
68
+ <observers>
69
+ <stitchlabs_channelintegration>
70
+ <class>stitchlabs_channelintegration/observer</class>
71
+ <method>logCreditMemoStockReturns</method>
72
+ </stitchlabs_channelintegration>
73
+ </observers>
74
+ </sales_order_creditmemo_save_after>
75
+ </events>
76
+ </adminhtml>
77
  </config>
app/code/community/StitchLabs/ChannelIntegration/etc/wsdl.xml CHANGED
@@ -235,11 +235,51 @@
235
  <element name="shipping_address" type="typens:salesOrderAddressEntity" minOccurs="0"/>
236
  <element name="billing_address" type="typens:salesOrderAddressEntity" minOccurs="0"/>
237
  <element name="items" type="typens:salesOrderItemEntityArray" minOccurs="0"/>
 
238
  <element name="payment" type="typens:salesOrderPaymentEntity" minOccurs="0"/>
239
  <element name="shipments" type="typens:salesOrderShipmentEntityArray" minOccurs="0"/>
 
240
  <element name="status_history" type="typens:salesOrderStatusHistoryEntityArray" minOccurs="0"/>
241
  </all>
242
  </complexType>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  <complexType name="childrenEntityArray">
244
  <complexContent>
245
  <restriction base="soapenc:Array">
235
  <element name="shipping_address" type="typens:salesOrderAddressEntity" minOccurs="0"/>
236
  <element name="billing_address" type="typens:salesOrderAddressEntity" minOccurs="0"/>
237
  <element name="items" type="typens:salesOrderItemEntityArray" minOccurs="0"/>
238
+ <element name="invoices" type="typens:salesOrderInvoiceEntityArray" minOccurs="0"/>
239
  <element name="payment" type="typens:salesOrderPaymentEntity" minOccurs="0"/>
240
  <element name="shipments" type="typens:salesOrderShipmentEntityArray" minOccurs="0"/>
241
+ <element name="creditmemos" type="typens:salesOrderCreditmemoEntityArray" minOccurs="0"/>
242
  <element name="status_history" type="typens:salesOrderStatusHistoryEntityArray" minOccurs="0"/>
243
  </all>
244
  </complexType>
245
+ <complexType name="salesOrderCreditmemoItemEntity">
246
+ <all>
247
+ <element name="item_id" type="xsd:string" minOccurs="0" />
248
+ <element name="parent_id" type="xsd:string" minOccurs="0" />
249
+ <element name="weee_tax_applied_row_amount" type="xsd:string" minOccurs="0" />
250
+ <element name="base_price" type="xsd:string" minOccurs="0" />
251
+ <element name="base_weee_tax_row_disposition" type="xsd:string" minOccurs="0" />
252
+ <element name="tax_amount" type="xsd:string" minOccurs="0" />
253
+ <element name="base_weee_tax_applied_amount" type="xsd:string" minOccurs="0" />
254
+ <element name="weee_tax_row_disposition" type="xsd:string" minOccurs="0" />
255
+ <element name="base_row_total" type="xsd:string" minOccurs="0" />
256
+ <element name="discount_amount" type="xsd:string" minOccurs="0" />
257
+ <element name="row_total" type="xsd:string" minOccurs="0" />
258
+ <element name="weee_tax_applied_amount" type="xsd:string" minOccurs="0" />
259
+ <element name="base_discount_amount" type="xsd:string" minOccurs="0" />
260
+ <element name="base_weee_tax_disposition" type="xsd:string" minOccurs="0" />
261
+ <element name="price_incl_tax" type="xsd:string" minOccurs="0" />
262
+ <element name="base_tax_amount" type="xsd:string" minOccurs="0" />
263
+ <element name="weee_tax_disposition" type="xsd:string" minOccurs="0" />
264
+ <element name="base_price_incl_tax" type="xsd:string" minOccurs="0" />
265
+ <element name="qty" type="xsd:string" minOccurs="0" />
266
+ <element name="base_cost" type="xsd:string" minOccurs="0" />
267
+ <element name="base_weee_tax_applied_row_amount" type="xsd:string" minOccurs="0" />
268
+ <element name="price" type="xsd:string" minOccurs="0" />
269
+ <element name="base_row_total_incl_tax" type="xsd:string" minOccurs="0" />
270
+ <element name="row_total_incl_tax" type="xsd:string" minOccurs="0" />
271
+ <element name="product_id" type="xsd:string" minOccurs="0" />
272
+ <element name="order_item_id" type="xsd:string" minOccurs="0" />
273
+ <element name="additional_data" type="xsd:string" minOccurs="0" />
274
+ <element name="description" type="xsd:string" minOccurs="0" />
275
+ <element name="weee_tax_applied" type="xsd:string" minOccurs="0" />
276
+ <element name="sku" type="xsd:string" minOccurs="0" />
277
+ <element name="name" type="xsd:string" minOccurs="0" />
278
+ <element name="hidden_tax_amount" type="xsd:string" minOccurs="0"/>
279
+ <element name="base_hidden_tax_amount" type="xsd:string" minOccurs="0"/>
280
+ <element name="StitchLabs_ChannelIntegration_return_to_stock" type="xsd:string" minOccurs="0"/>
281
+ </all>
282
+ </complexType>
283
  <complexType name="childrenEntityArray">
284
  <complexContent>
285
  <restriction base="soapenc:Array">
app/code/community/StitchLabs/ChannelIntegration/sql/stitchlabs_channelintegration_setup/install-1.0.11.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+ $connection = $installer->getConnection();
5
+
6
+ $installer->startSetup();
7
+
8
+ $installer->getConnection()
9
+ ->addColumn(
10
+ $installer->getTable('sales/creditmemo_item'),
11
+ 'StitchLabs_ChannelIntegration_return_to_stock',
12
+ 'tinyint(1) unsigned NOT NULL DEFAULT 0'
13
+ );
14
+
15
+ $installer->addAttribute(
16
+ 'creditmemo_item',
17
+ 'StitchLabs_ChannelIntegration_return_to_stock',
18
+ [
19
+ 'type' => 'int',
20
+ 'grid' => true,
21
+ 'source' => '',
22
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
23
+ 'visible' => true,
24
+ 'required' => false,
25
+ 'user_defined' => false,
26
+ 'default' => '0',
27
+ ]
28
+ );
29
+
30
+ $installer->endSetup();
app/code/community/StitchLabs/ChannelIntegration/sql/stitchlabs_channelintegration_setup/upgrade-1.0.10-1.0.11.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+ $connection = $installer->getConnection();
5
+
6
+ $installer->startSetup();
7
+
8
+ $installer->getConnection()
9
+ ->addColumn(
10
+ $installer->getTable('sales/creditmemo_item'),
11
+ 'StitchLabs_ChannelIntegration_return_to_stock',
12
+ 'tinyint(1) unsigned NOT NULL DEFAULT 0'
13
+ );
14
+
15
+ $installer->addAttribute(
16
+ 'creditmemo_item',
17
+ 'StitchLabs_ChannelIntegration_return_to_stock',
18
+ [
19
+ 'type' => 'int',
20
+ 'grid' => true,
21
+ 'source' => '',
22
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
23
+ 'visible' => true,
24
+ 'required' => false,
25
+ 'user_defined' => false,
26
+ 'default' => '0',
27
+ ]
28
+ );
29
+
30
+ $installer->endSetup();
app/code/community/StitchLabs/README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # README #
2
+
3
+ This README would normally document whatever steps are necessary to get your application up and running.
4
+
5
+ ### What is this repository for? ###
6
+
7
+ * Quick summary
8
+ * Version
9
+ * [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
10
+
11
+ ### How do I get set up? ###
12
+
13
+ * Summary of set up
14
+ * Configuration
15
+ * Dependencies
16
+ * Database configuration
17
+ * How to run tests
18
+ * Deployment instructions
19
+
20
+ ### Contribution guidelines ###
21
+
22
+ * Writing tests
23
+ * Code review
24
+ * Other guidelines
25
+
26
+ ### Who do I talk to? ###
27
+
28
+ * Repo owner or admin
29
+ * Other community or team contact
app/etc/modules/StitchLabs_ChannelIntegration.xml DELETED
@@ -1,29 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * @category StitchLabs
17
- * @package StitchLabs_ChannelIntegration
18
- * @copyright Copyright (c) 2012 StitchLabs Medien GmbH & Co. KG (http://www.phoenix-medien.de)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- -->
22
- <config>
23
- <modules>
24
- <StitchLabs_ChannelIntegration>
25
- <active>true</active>
26
- <codePool>community</codePool>
27
- </StitchLabs_ChannelIntegration>
28
- </modules>
29
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,19 +1,21 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>StitchLabs_ChannelIntegration</name>
4
- <version>1.0.10</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension provides integration with StitchLabs</summary>
10
  <description>This extension provides integration with StitchLabs</description>
11
- <notes>1.0.10&#xD;
12
- * Add shipment information to order endpoint&#xD;
 
 
 
13
  &#xD;
14
- 1.0.9&#xD;
15
- * Add fix to properly support product pagination&#xD;
16
- * Reduce Mage_Core_Modules version requirement from 1.7.0.2. to 1.7.0.1&#xD;
17
  &#xD;
18
  1.0.8&#xD;
19
  * Add fixes to report proper validation object errors&#xD;
@@ -42,10 +44,10 @@
42
  &#xD;
43
  1.0.0&#xD;
44
  * Initial working release</notes>
45
- <authors><author><name>Stitch Labs</name><user>rnavarro</user><email>dev@stitchlabs.com</email></author></authors>
46
- <date>2016-02-19</date>
47
- <time>01:57:19</time>
48
- <contents><target name="magecommunity"><dir name="StitchLabs"><dir name="ChannelIntegration"><dir name="Helper"><file name="Data.php" hash="bab04699a85cc7926b2c7c58ecaf3f2b"/></dir><dir name="Model"><dir name="Info"><dir name="Api"><file name="V2.php" hash="3e031c800f7238e461778ca23ab2dd70"/></dir></dir><dir name="Order"><dir name="Api"><file name="V2.php" hash="2b16df922d4dbb966fedf5cc003b098c"/></dir><file name="Api.php" hash="54833b3697110f09a30f0d645c7747c5"/></dir><dir name="Product"><dir name="Api"><file name="V2.php" hash="1b0b9c4f84fb9354bf628a0777e8b534"/></dir><file name="Api.php" hash="4891f1ed4d6031ea961220f815e1d3ba"/></dir><file name="Product.php" hash="2341be36cd9392c069871d8f24e405c5"/><dir name="Resource"><dir name="Order"><file name="Collection.php" hash="3c52131d5b2359f469cededfffa5a012"/></dir><file name="Order.php" hash="d1587e02851a724c5e1f757f07433f74"/><dir name="Product"><file name="Collection.php" hash="4b1c3cbeef65923bacad1660085bbd24"/></dir><file name="Product.php" hash="693cb7ff8d9fd86283d2296abc65cf8d"/><file name="Setup.php" hash="d843283f721ce09d934233a6acf02637"/></dir></dir><dir name="etc"><file name="api.xml" hash="2a4ab67214388d1994bec91f67130052"/><file name="config.xml" hash="510247411d6dcecf7d03c3b7b26aba56"/><file name="wsdl.xml" hash="23c17218d80849e0ff9c440febceaf4d"/><file name="wsi.xml" hash="7758f9063d665f2eff9842d1c47e82c8"/></dir></dir><dir name=".git"><file name="COMMIT_EDITMSG" hash="77de2ea5ac2195063c2e1dd38adf3278"/><file name="FETCH_HEAD" hash="59bb451a8b24aaf2a60ee3276fdfe1cf"/><file name="HEAD" hash="4cf2d64e44205fe628ddd534e1151b58"/><file name="ORIG_HEAD" hash="67300e9f980be3666c8b0caa2e0d7983"/><file name="config" hash="5006f126859e126656c5e13b7403947b"/><file name="description" hash="a0a7c3fff21f2aea3cfa1d0316dd816c"/><dir name="hooks"><file name="applypatch-msg.sample" hash="9cc72dc973e24f9623bd3fe708f60ef5"/><file name="commit-msg.sample" hash="579a3c1e12a1e74a98169175fb913012"/><file name="post-update.sample" hash="2b7ea5cee3c49ff53d41e00785eb974c"/><file name="pre-applypatch.sample" hash="a4a7e457b55b5ac2877f7973dbba37e9"/><file name="pre-commit.sample" hash="01b1688f97f94776baae85d77b06048b"/><file name="pre-push.sample" hash="9b64ca5761c6de555d7d1b3c948ecfeb"/><file name="pre-rebase.sample" hash="3ff6ba9cf6d8e5332978e057559b5562"/><file name="prepare-commit-msg.sample" hash="7dfe15854212a30f346da5255c1d794b"/><file name="update.sample" hash="f51b02427757e79621b5235d7efdf117"/></dir><file name="index" hash="cebfabdce5e4618d6b05275f8ed9b7d5"/><dir name="info"><file name="exclude" hash="036208b4a1ab4a235d75c181e685e5a3"/></dir><dir name="logs"><file name="HEAD" hash="08faf63eeb381cbeb31479908a829dbd"/><dir name="refs"><dir name="heads"><file name="master" hash="8c82c2502665741db22279ffb83c7b5a"/></dir><dir name="remotes"><dir name="origin"><file name="HEAD" hash="069761101bd42d946317c54370fc4fe1"/><dir name="feature"><file name="server-info" hash="d00e6a72de701300838af6af1835736a"/></dir><file name="master" hash="161d000c79ec6e410fe3a4a60101d7ab"/></dir></dir><file name="stash" hash="5de0b36e6f90ac99de9f919453703562"/></dir></dir><dir name="objects"><dir name="01"><file name="11aace95e94ad66b3f984384135d61058b35f3" hash="3fa30c08dc00c1d90e7690576bc4ffb6"/><file name="b28c813feecf82e1f21c32bfa57c17652eab21" hash="c8cdd6ec194c63237fddda0cacd84089"/></dir><dir name="07"><file name="5ae42ae48cddefb1f7e78e0e5af25837e68898" hash="ec7e1069961aec96c4bd6a1da72d84e4"/><file name="61e9e256447127398b4ee786bf71613b80e177" hash="7924632a4ce6520102393a9b5293d99c"/></dir><dir name="0a"><file name="d9ad30ce8db74b97aa72dcd38909c611392338" hash="4113f9bf951494204b7c09669d55f964"/></dir><dir name="0b"><file name="4f3674d64a78682e32cb398d7d9593e3b34c87" hash="15ffa85a880342207a588fc480ac4875"/><file name="7c4a7cff09c6ef133c206c841b8fd63c156c33" hash="6232216f833678f69e09a30be1ddb4ab"/><file name="890831fe3962f414676b04be15cb0bd4f5e454" hash="0dcbd0285aaa42f15df175a30378b0ea"/></dir><dir name="0f"><file name="535480f34de7e506f62f4c0f411d442c8c58d3" hash="31cee80d7da85a6649a89c2c9f33d913"/></dir><dir name="11"><file name="4d2f68a5f83387b35d5e74885143137dc6120a" hash="395bf7006a31e58304ec28f9f5dcc806"/><file name="e2aff7dfae81b71185d3d724c137eb1cda0fa4" hash="c0a864985bea2982b0950466edbd2c28"/></dir><dir name="1c"><file name="dfc6585d7f737ddc6ffba98626017669e9935a" hash="586bbe1caa7cb7e22e0da54732a560c7"/></dir><dir name="20"><file name="b395a4e01464ffd7bdc78ff2b8b6c169353ed2" hash="6d6bffec27d14c02618375addb5f631f"/></dir><dir name="25"><file name="4e2e6c47599a1b1a9975c2cc3db66d44145f8a" hash="6d0bd2c078a27ee22756e81b7d3b96b5"/></dir><dir name="27"><file name="6e7b0f177c71457ccfd2a07a7f5ec44b235206" hash="a4e590b44ffff71a02e85662cc114fa7"/><file name="98de734a56e1d7b5854c36b6a9ef5bbd689925" hash="926990cbc2ac800a98aca60a8b14765d"/></dir><dir name="29"><file name="03d2167e2c256efd6456cb515d319d61197015" hash="b28bda0ee243ce5baf7b2399f21906a4"/><file name="f419d3fbf18a140b75e91b9b84a04deafe0617" hash="4bfbe3ee19d7144cbac22b58cf4e49bd"/></dir><dir name="2a"><file name="bc7aedf2fd8e7868d8d1249f19b81acda97b3b" hash="c2e97cc35ee93fb985c3c0763117a173"/></dir><dir name="2e"><file name="de2e75138c11672e2d52aecf406b6162287860" hash="d378513f3150bccd87f19fef3ae1b760"/></dir><dir name="31"><file name="dc5bc85f00a7e2a136904543dab80db3f3ccb4" hash="99b9e0e57dcbdde9ab8f2d3760eb0635"/></dir><dir name="34"><file name="04c18dea49e67471742b4cbe5253933f5ed3a5" hash="3f739eb3f7c7871a401807242a1403c3"/></dir><dir name="38"><file name="6d280780de05d4ff98d2c17d0d5e79295b1b4c" hash="7f2388b6157e4a128fc87b6ffe5ad632"/><file name="e439806b536f12a43d6e31cdaec26b521206d7" hash="496aef20147534f5987fa36145feb8fe"/></dir><dir name="39"><file name="1b337958447dc5e16b8b75969cd2b243f6ce2d" hash="defc51950f46f9c24b94baf5f101f31c"/></dir><dir name="3a"><file name="73842bca7e50b7cee6d9bb07cfbc30aeedbc45" hash="c5466396a51a2c1732f38692ad2291a4"/><file name="d465c897b35f36268e89f091c150641ccd362f" hash="e2c261293092e2a19e54997179735274"/></dir><dir name="3d"><file name="a6a97bca2fc30774bac0c37ba6eaaddf896b1b" hash="b4666977af366071a2fc20da59b40433"/><file name="ab0260be64ff9542714355514ff397e0117626" hash="e4646dd41fae930ea5a769094822b2c1"/></dir><dir name="40"><file name="b26ab3d55d83584c2333c0912b56acf550cc62" hash="c196428c65c488469a87b5f2eb2bf333"/></dir><dir name="41"><file name="0aa6db3c0de4c0faa332579879ace68e4631b5" hash="ce6f2e31a2a9792c3419ac28d09cdd10"/></dir><dir name="42"><file name="93f714a0806bcbcba405ed2188a14b034871b5" hash="dac17a8cc7490bd0ee93bb4df1563068"/></dir><dir name="46"><file name="4e4d72fb77e90baf7a014b5dfd01c67e5017a3" hash="d74c299f25194e83577f7efa3a8cde78"/></dir><dir name="4b"><file name="82aa94f39a91d46699ccbf3a805a71697eaa1f" hash="5306775a438e43ef1624315b9df96dbb"/></dir><dir name="4e"><file name="a556d4e1652793ef2662c886dc8cf8aaab468e" hash="5296a18bff9c6d98a05f76b8ed2b2149"/></dir><dir name="4f"><file name="4f227ab5d601f62f276fcd689bf05705898b06" hash="278eaa429913016b2a403e79a902c9df"/><file name="b6306ae7630638b88ec819abe3dd3087604070" hash="d7840f65f92297718ee38490b7075bc5"/></dir><dir name="54"><file name="1a653b09e1ac487db3a7ff6a38e1d29341b3a3" hash="af3e71dbd67d49fba732db9d19a8f31a"/></dir><dir name="56"><file name="11bd2e81662aa571b9d9625bbc0f8c07120f95" hash="71efd457a63c603a952f7e9d599d8e04"/></dir><dir name="57"><file name="202aace0805184cc59255f5a0f1fa9b2f43eb9" hash="1bba8eda07319240294792f55c3bcbed"/></dir><dir name="59"><file name="9bee4a62d82a3e671705c9375103315894ef1a" hash="3801a3fce67cc779335e8c16f1db8aaf"/></dir><dir name="5a"><file name="f8ae89ed41890216381366060bd06f24270c15" hash="cbc0224d08928c87420f181815e2deaf"/></dir><dir name="5d"><file name="11369a8fcdb883361821b2b49405d097cbc707" hash="92d0c2c17de791c38c7faa0eac9f46bd"/></dir><dir name="5e"><file name="8edf822cbaf72f5a0dd5fdb07b6c4f86ccd218" hash="af9c299e16a935f037902b182d526850"/></dir><dir name="62"><file name="2309e85553a976dc62aeae2a535a9e0c86aa4e" hash="c8a28e9c058c50a920c275d5875dbca9"/></dir><dir name="63"><file name="d337d5c036c371a89ac8af4fdec5798b9a98f9" hash="64d6fd2417d0546ec2a8fe838d988f77"/></dir><dir name="65"><file name="83a48fc6eb2b3254383944150aa6e75adb2004" hash="8b961112110d7112bc22ef089be4146e"/></dir><dir name="66"><file name="b188a4517a98f1a9c6f44951ff8018af541417" hash="2eda485752a2c5caab0395c25a65004c"/></dir><dir name="68"><file name="183e8c93d980138dc6d0632423c558941557f2" hash="6dc2503787c63bffa22aaf9418b0cd2a"/></dir><dir name="6c"><file name="d3a4096c8592a9d9a3068c38bec0d2caf3fb6d" hash="f8ece66523e8e0da27d7de167f468ab4"/></dir><dir name="6d"><file name="09af59c73d89e7254d492314cc6c990b826c8d" hash="4b2c80ded22e88b9db0cded94b222635"/></dir><dir name="6f"><file name="6e0cf202b27d27a0dc70984d1978d42f01215a" hash="68493f180ccfc2fbbd8d6a45b3c4a9a0"/></dir><dir name="72"><file name="2ec8cb51df12e6e806196266586c162d4a3da0" hash="ce85f7c975a2b2ab04aa5b3b53a93657"/></dir><dir name="73"><file name="4863301963a3080d04e4bc39cf182b37b8c6e7" hash="f9a54ea83d10cf49a9f9dff0b4caa5a5"/></dir><dir name="77"><file name="61ed6f4f2466fb6facc487fd2a7876275c21ff" hash="3f82b0d269ee4bb22e3b9db949497032"/><file name="d672bf4c6a183d2d8fe33dab3fa1f9cb3a4d0b" hash="f416bfac297ab9a908b5a0b5d30d9ca2"/></dir><dir name="79"><file name="e377d2f7f550f580006e9c266efbf0eb5d161d" hash="9f959a7e50356cc43f7127119b3e8dff"/></dir><dir name="7f"><file name="8ba3acc90f60477c59ddc025e7e7f34d004998" hash="57096946c54d160c1bd7413712e9bd19"/></dir><dir name="80"><file name="56039cd940af13a23f73497dd1c9809e6bc1a2" hash="31a402e7d5ffd3c44c6e5b770ec153bd"/></dir><dir name="83"><file name="b74f5929aef322401c288065730fcb5109e21b" hash="88b4ca6a20b3377c0606cbd408718ff9"/></dir><dir name="8e"><file name="09aa0504ffd08e847c821104c93a9478f67cce" hash="a5a1fbe63d73d58954b61711f7d481f2"/></dir><dir name="8f"><file name="74494bca2541e7ecbf856b10688a3cfe491704" hash="a0e8ebc8c3ac8fd04b85871055cf66cf"/></dir><dir name="92"><file name="0ce940edb82321801363036c9031f6a8d794c9" hash="6c8e91574ea64ad82b48aa1a57dd7fb5"/></dir><dir name="94"><file name="2583c001e064f5b00a8694618c24d0234a049a" hash="dae4128dbef3ecd65aff545da342442a"/></dir><dir name="96"><file name="f02a7c9220618423ebe47a393d6edcf77aecee" hash="39b61f9b95cad6001ee5016267f4318e"/></dir><dir name="98"><file name="91a20fab310de0ebe0ede12a572576c9f2d1f0" hash="d64d6ee0f32e8a30882a52075f81e150"/></dir><dir name="9c"><file name="864a59bb6d6a6d9bc6ca0d5eb3bd185826202a" hash="c92ab2ba40a66e40820290ae836a0351"/></dir><dir name="a0"><file name="91f7566c295a9832acc90adb26f5f76291deb1" hash="d4d61955a40a39eb4e380acbf1205ebb"/></dir><dir name="a9"><file name="c170fc567c8e9d029ea658584608a76b14337c" hash="77322eabf0b1ddd674914ddcbe1d51fa"/></dir><dir name="ad"><file name="5806e6ec6ad8cec16208ac9ff68ac9d22c9677" hash="c606f301230096f014aef78691845b3e"/><file name="5ab28f88aab464883c1d2609b13e95a54831a4" hash="b5706e09f1e0a79429b77ec1fae4e588"/></dir><dir name="b0"><file name="ead8f900b6d67736b7d46428928bd5ffd9f61d" hash="4632a42093ef6f85bf9182d74e99c4a2"/></dir><dir name="b1"><file name="fad826ce84899f5abd31a90df4aac094276bab" hash="28fab8dd2a4aac7fbc4eb9466e42ff9f"/></dir><dir name="b3"><file name="1523caf33934a646106ed5e17ff829ccae1621" hash="17865ab9d3c4da9a426d8ec4f004854d"/><file name="6ab0f8d060252fdee2f28db9d16a246c3dce10" hash="d9659d154a234c9b0655b173ff4fd32c"/><file name="fdd18759832a269be2c705dc5b7b909cf4a397" hash="a1b43beb26a6d0877961c96612d4450e"/></dir><dir name="b4"><file name="33beb26c687e2e6fe553797d1eae9a862a2930" hash="963f679b3492b600d47ebd7f10a061f3"/><file name="36ffcefd16dbf236b3f1ca96c7b2a3ed0f82bb" hash="f98f000fb2c321fcf1b005e1bc871b07"/></dir><dir name="b6"><file name="6c5cef0a12394ea0b24227d2c1dd2a48aca7af" hash="aa65a76152d5e04008aee56b4210a3ca"/><file name="88b36e50745823a9092b7263d7d6ab12a85482" hash="2411f55ae7f9285cc641b651c54a77f0"/></dir><dir name="b8"><file name="c3a53b647d748a04bc54969c6e33bf2c55ddbd" hash="2838717c73068883e2b01ca1dfe0e576"/></dir><dir name="bc"><file name="192a26c2ce9f29ebbad0c676ea5e38ddda1a0c" hash="e6d9404e14efc0434148e90fb0c895ad"/></dir><dir name="c0"><file name="bcf439e2c8e936d41e13f7ef08b91748bc3e24" hash="81d3192bf8cc3284fb18fae3d4057690"/></dir><dir name="c5"><file name="6ba614059927a5f3672c559b93be565e2501fa" hash="b94996a4fb7317769b5b05dfd1cc9d8f"/><file name="f39fef01d5ff281130ae82c543be9e2d2a9151" hash="1f4c44871c79efeae2143c000d1bc071"/></dir><dir name="c6"><file name="46e706d6c7e471252b01a409e02e342e964521" hash="75684bc4b110a64bec553641745d6469"/></dir><dir name="c7"><file name="2faa3b912594d2d3c95b11559c388e28c20db5" hash="8b89f5826c8dd3216bc3d9ef5836c7a2"/></dir><dir name="c9"><file name="46346b11e00d86dcd1d8a171e678f7616adb3c" hash="9cfd6a24c4f2a14be111226b94601d7f"/><file name="569e3726b55c699e8cfe62e94b50451cdf204c" hash="1a6d806a9723d348ccbb3788071a5f9e"/></dir><dir name="ca"><file name="309c58c74c63b6601aeeb48fefcc46ed245728" hash="2ec5397f459f59b04c2b977a0bba3fc7"/></dir><dir name="cc"><file name="95f87ad1d41347f722ccdc2b7d608d4bd533d9" hash="1b25cf76051c0c5ff052c7507d520698"/></dir><dir name="d6"><file name="77e4830f3689914abffa7d77cc1e660a2de115" hash="7abf7dfc2c62fce952f99cd16e89a2ea"/></dir><dir name="d9"><file name="5631f3c85e6fd20af9694f588a9acc08ac3ff2" hash="c1324597e9c0160b63b35044c8df033c"/><file name="c5cb2b88d128390247921b5d3c285a61ec1041" hash="9fb6a75b96c66499e391275794162cee"/></dir><dir name="db"><file name="bc5a3094242d2434b79d89438abdaf61185353" hash="ee816b7c9e6144cf7ae1df1d8d400149"/></dir><dir name="dc"><file name="8f0aebf416ad60bd7fb80aa627128296119b27" hash="919ab3b43b552d6175443c98c21fd6d6"/></dir><dir name="de"><file name="70e3aee7e8e88431693852b2cf5864001346f9" hash="2dab0b315a00a733ad74e18388bee78a"/></dir><dir name="df"><file name="be7748ddae2cc264ce7a3a2989248677980652" hash="410883dc4b1eebfc41f6d357c112827e"/></dir><dir name="e2"><file name="66b1665f2572d77a0742b101f91c4500852dcc" hash="b7e566f2dec0e4cdbbff6f13bd490aed"/></dir><dir name="e4"><file name="1abe665ec0dd50b3f479d19bf6e2bc1bd3773c" hash="a391a7cf1c542fd730fb52556f2dd5c5"/></dir><dir name="ed"><file name="16c68b8e29366e83cf8d1a5520ae97e94bc292" hash="8d3ee5fb83f629e6eb3f2785f4a46fe5"/><file name="4e00b5533af776539c6888896b0df40ef654d6" hash="084de60d40a059643d32a76f9fa697e1"/></dir><dir name="f2"><file name="794fdd29a3f472941420998fd2275dc0296018" hash="86a3b2b94da2380a0276e28a7f145a93"/></dir><dir name="fa"><file name="a3d71c71c5a5ad70a15044868deab51860e403" hash="104f0872d8b2bbd4a165675697dd3d92"/></dir><dir name="fd"><file name="e2de185cd5f10a3c4864f499684df2d64b0677" hash="b0b477eacaa246d024647753ff503294"/></dir><dir name="pack"><file name="pack-dc0330ebce870e8b7088bdeacf67e21f1b6728ec.idx" hash="5c7fcda676dd64ffcba1bf19695c979b"/><file name="pack-dc0330ebce870e8b7088bdeacf67e21f1b6728ec.pack" hash="f71d08cae68a0a9347899c4ae4b5510e"/></dir></dir><file name="packed-refs" hash="208b5c76fca5096b333659d44c678b27"/><dir name="refs"><dir name="heads"><file name="master" hash="2f833ddb311483a721f1c2540ca97f02"/></dir><dir name="remotes"><dir name="origin"><file name="HEAD" hash="73a00957034783b7b5c8294c54cd3e12"/><dir name="feature"><file name="server-info" hash="e7b1230b0f6d71a5057a3744d71e723b"/></dir><file name="master" hash="2f833ddb311483a721f1c2540ca97f02"/></dir></dir><file name="stash" hash="56009313ec00209cb0571009fcbabcf6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="StitchLabs_ChannelIntegration.xml" hash="3b9a13293b9d8dc3bb795450c4fe271a"/></dir></target></contents>
49
  <compatible/>
50
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7.0.1</min><max/></package><extension><name>soap</name><min/><max/></extension></required></dependencies>
51
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>StitchLabs_ChannelIntegration</name>
4
+ <version>1.0.11</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension provides integration with StitchLabs</summary>
10
  <description>This extension provides integration with StitchLabs</description>
11
+ <notes>1.0.11&#xD;
12
+ * Add return to stock information to credit memos&#xD;
13
+ * Import credit memos&#xD;
14
+ * This package version requires a new database column in the sales_flat_creditmemo_item table&#xD;
15
+ * This module requires version 1.0.10&#xD;
16
  &#xD;
17
+ 1.0.10&#xD;
18
+ * Add shipment and tracking information&#xD;
 
19
  &#xD;
20
  1.0.8&#xD;
21
  * Add fixes to report proper validation object errors&#xD;
44
  &#xD;
45
  1.0.0&#xD;
46
  * Initial working release</notes>
47
+ <authors><author><name>Robert Navarro</name><user>rnavarro</user><email>dev@stitchlabs.com</email></author><author><name>Ron Gonzalez Lobo</name><user>ronlobo</user><email>dev@stitchlabs.com</email></author></authors>
48
+ <date>2016-06-02</date>
49
+ <time>15:35:59</time>
50
+ <contents><target name="magecommunity"><dir name="StitchLabs"><dir name="ChannelIntegration"><dir name="Helper"><file name="Data.php" hash="bab04699a85cc7926b2c7c58ecaf3f2b"/></dir><dir name="Model"><dir name="Info"><dir name="Api"><file name="V2.php" hash="3e031c800f7238e461778ca23ab2dd70"/></dir></dir><file name="Observer.php" hash="ab0934f70c6be6694f9af812baa45979"/><dir name="Order"><dir name="Api"><file name="V2.php" hash="2b16df922d4dbb966fedf5cc003b098c"/></dir><file name="Api.php" hash="55a09b06e3de51debbcd4d1ceaab673a"/></dir><dir name="Product"><dir name="Api"><file name="V2.php" hash="1b0b9c4f84fb9354bf628a0777e8b534"/></dir><file name="Api.php" hash="4891f1ed4d6031ea961220f815e1d3ba"/></dir><file name="Product.php" hash="2341be36cd9392c069871d8f24e405c5"/><dir name="Resource"><dir name="Order"><file name="Collection.php" hash="3c52131d5b2359f469cededfffa5a012"/></dir><file name="Order.php" hash="d1587e02851a724c5e1f757f07433f74"/><dir name="Product"><file name="Collection.php" hash="4b1c3cbeef65923bacad1660085bbd24"/></dir><file name="Product.php" hash="693cb7ff8d9fd86283d2296abc65cf8d"/><file name="Setup.php" hash="8049e0602324a243d63759688a110685"/></dir></dir><dir name="etc"><file name="api.xml" hash="2a4ab67214388d1994bec91f67130052"/><file name="config.xml" hash="c36886f88a38d5d0864cfc0115e7d2c7"/><file name="wsdl.xml" hash="9b8399b8e4f83bbb91b6312525f99a53"/><file name="wsi.xml" hash="7758f9063d665f2eff9842d1c47e82c8"/></dir><dir name="sql"><dir name="stitchlabs_channelintegration_setup"><file name="install-1.0.11.php" hash="00cd751f4c7437c5226b92b949865626"/><file name="upgrade-1.0.10-1.0.11.php" hash="00cd751f4c7437c5226b92b949865626"/></dir></dir></dir><file name="README.md" hash="228c10023261888ccd82e01265e31dec"/><dir name=".git"><file name="COMMIT_EDITMSG" hash="5c83b3023c0e5bd3c77a5df8f8c796eb"/><file name="HEAD" hash="4cf2d64e44205fe628ddd534e1151b58"/><file name="config" hash="52f51247f34957f273c731a49f43b448"/><file name="description" hash="a0a7c3fff21f2aea3cfa1d0316dd816c"/><dir name="hooks"><file name="applypatch-msg.sample" hash="ce562e08d8098926a3862fc6e7905199"/><file name="commit-msg.sample" hash="579a3c1e12a1e74a98169175fb913012"/><file name="post-update.sample" hash="2b7ea5cee3c49ff53d41e00785eb974c"/><file name="pre-applypatch.sample" hash="054f9ffb8bfe04a599751cc757226dda"/><file name="pre-commit.sample" hash="01b1688f97f94776baae85d77b06048b"/><file name="pre-push.sample" hash="3c5989301dd4b949dfa1f43738a22819"/><file name="pre-rebase.sample" hash="81005745454846bb79cc3c7c0c57658d"/><file name="prepare-commit-msg.sample" hash="7dfe15854212a30f346da5255c1d794b"/><file name="update.sample" hash="f51b02427757e79621b5235d7efdf117"/></dir><file name="index" hash="b3ca330a39e9e177ad94fff7369a6424"/><dir name="info"><file name="exclude" hash="036208b4a1ab4a235d75c181e685e5a3"/></dir><dir name="logs"><file name="HEAD" hash="8397d8c98a3e4ba196fc2fe9e079c8d0"/><dir name="refs"><dir name="heads"><file name="master" hash="8397d8c98a3e4ba196fc2fe9e079c8d0"/></dir><dir name="remotes"><dir name="origin"><file name="HEAD" hash="8a26766a3159545f28e24f3ee1bb70ec"/></dir></dir></dir></dir><dir name="objects"><dir name="0e"><file name="5b85ea27078cebec62f0caa707ed38683dbabe" hash="39204f24a86325f968d07975e2559f49"/></dir><dir name="13"><file name="c097af8fce9c118cff1ddfeb8eabb1f0ca437d" hash="45b6cd3fe67d0b5abfe874702bfae9ea"/></dir><dir name="17"><file name="22c127033e586094605c52eb19cbc93dfaa6fc" hash="6f67de5e373b86032f8a6c66ea4869eb"/></dir><dir name="2a"><file name="67a34f7e8799a4f036f98458f1fcbe6c7f9a58" hash="c448e9762c31065c0de38829ceeca6e9"/></dir><dir name="69"><file name="c081d99c288f541163f89aa0882fa3e6ef4878" hash="c2b72be4006a1aacf2fcdff29fed0bf6"/></dir><dir name="pack"><file name="pack-c048b32a966aa42186ca97fd31d2d91eaed639b3.idx" hash="095f906cf3160e71c65f2f4c93a9efe5"/><file name="pack-c048b32a966aa42186ca97fd31d2d91eaed639b3.pack" hash="e607f0cc8a503f858f94013f6001b007"/></dir></dir><file name="packed-refs" hash="b9a0e279cb001076754ce004931daa5c"/><dir name="refs"><dir name="heads"><file name="master" hash="4e580de7f4d43411d68302d99c3f94b4"/></dir><dir name="remotes"><dir name="origin"><file name="HEAD" hash="73a00957034783b7b5c8294c54cd3e12"/></dir></dir></dir></dir><file name=".gitignore" hash="b01e1888e4c32b71ca02a7e2e5dcc29e"/></dir></target><target name="mageetc"><dir name="modules"><file name="StitchLabs_ChannelIntegration.xml" hash=""/></dir></target></contents>
51
  <compatible/>
52
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7.0.1</min><max/></package><package><name>StitchLabs_ChannelIntegration</name><channel>community</channel><min>1.0.10</min><max/></package><extension><name>soap</name><min/><max/></extension></required></dependencies>
53
  </package>