BeezUP_Module_feed_and_tracker - Version 4.7.1

Version Notes

New features :
- Orders Auto Shipment

Download this release

Release Info

Developer BeezUP
Extension BeezUP_Module_feed_and_tracker
Version 4.7.1
Comparing to
See all releases


Code changes from version 4.7.0 to 4.7.1

app/code/community/BeezUp/Block/Adminhtml/System/Config/Autoship.php ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ require_once Mage::getModuleDir('', 'BeezUp') . DS . 'lib' . DS ."BeezupOMStatus.php";
5
+
6
+ class Beezup_Block_Adminhtml_System_Config_Autoship extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
7
+ {
8
+
9
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
10
+ {
11
+
12
+
13
+ $beezup = new BeezupOmStatus();
14
+ $marketplaces = $beezup->getMarketplacCarriersUp();
15
+ $helper = Mage::helper('beezup');
16
+ $autoship = $helper->getConfig('beezup/marketplace/autoship_order_map');
17
+ $autoship = unserialize($autoship);
18
+ $shipping_methods = $this->getAllShippingMethods();
19
+
20
+ $html = "<div class='grid'>";
21
+ $html .= "
22
+ <script>
23
+ function addMarketCarrierMap(map_key) {
24
+ var master = document.getElementById('master-' + map_key);
25
+ var append = document.getElementById('append-' + map_key);
26
+ var html = master.innerHTML;
27
+ append.innerHTML = append.innerHTML + '<tr>' + html + '</tr>';
28
+ }
29
+
30
+ function removeMarketTr(element) {
31
+ element.parentNode.parentNode.removeChild(element.parentNode);
32
+ }
33
+
34
+ </script>
35
+ ";
36
+ foreach($marketplaces as $key => $marketplace) {
37
+ $tmpval = false;
38
+
39
+ $html .= "<table class='data' style='margin-top:0px;margin-bottom:10px;'>";
40
+ $html .= "<tbody>
41
+ <tr class='headings'>
42
+ <th><span class='nobr'>".$key." Carriers</span></th>
43
+ <th><span class='nobr'>Magento Carriers</span><button style='float: right;
44
+ margin-top: -20px;' class='scalable add 'onclick='addMarketCarrierMap(\"".$key."\")' type='button'>+</button></th>
45
+ </tr>
46
+ </tbody>
47
+ <tbody id='append-".$key."'>";
48
+ $html .= "<tr id='master-".$key."' style='display:none;'>";
49
+ // $html .= "<td>".$key."</td>";
50
+ $html .= "<td><select name='groups[marketplace][fields][autoship_order_map][value][".$key."][beezup][]'>";
51
+ //$marketplace = array_unique($marketplace);
52
+ foreach($marketplace as $values) {
53
+
54
+ $html .= "<option value='".$key."|".$values['name']."|".$values['code']."'>".$values['name']."</option>";
55
+ }
56
+ $html .= "</select></td>";
57
+
58
+ $html .= "<td><select name='groups[marketplace][fields][autoship_order_map][value][".$key."][mage][]'>";
59
+ foreach($shipping_methods as $method) {
60
+ $html .= "<option value='".$method['value']."'>".$method['label']."</option>";
61
+ }
62
+ $html .= "</select><button style='float: right;
63
+ margin-top: -20px;position: relative;
64
+ left: 28px;
65
+ background: red;
66
+ top: 2px;' class='scalable add 'onclick='removeMarketTr(this.parentNode)' type='button'>-</button></td>";
67
+ $html .= "</tr>";
68
+
69
+
70
+
71
+ foreach($autoship[$key] as $ship) {
72
+
73
+ $html .= "<tr>";
74
+ $html .= "<td><select name='groups[marketplace][fields][autoship_order_map][value][".$key."][beezup][]'>";
75
+ foreach($marketplace as $values) {
76
+ $selected = "";
77
+
78
+ if($ship['beezup_carrierCode'] == $values['code']) {
79
+ $selected = "selected";
80
+ }
81
+ $html .= "<option ".$selected." value='".$key."|".$values['name']."|".$values['code']."'>".$values['name']."</option>";
82
+ }
83
+ $html .= "</select></td>";
84
+
85
+
86
+ $html .= "<td><select name='groups[marketplace][fields][autoship_order_map][value][".$key."][mage][]'>";
87
+ foreach($shipping_methods as $method) {
88
+ $selected = "";
89
+ if($method['value'] == $ship['mage_carrierValue']) {
90
+ $selected = "selected";
91
+ }
92
+ $html .= "<option ".$selected." value='".$method['value']."'>".$method['label']."</option>";
93
+ }
94
+ $html .= "</select><button style='float: right;
95
+ margin-top: -20px;position: relative;
96
+ left: 28px;
97
+ background: red;
98
+ top: 2px;' class='scalable add 'onclick='removeMarketTr(this.parentNode)' type='button'>-</button></td>";
99
+ $html .= "</tr>";
100
+
101
+
102
+ $html .= "<tr>";
103
+
104
+
105
+
106
+ }
107
+
108
+
109
+
110
+ $html .= "</table>";
111
+ }
112
+
113
+ $html .= '</div>';
114
+ return $html;
115
+ }
116
+
117
+
118
+ private function getAllShippingMethods()
119
+ {
120
+ $methods = Mage::getSingleton('shipping/config')->getAllCarriers();
121
+
122
+ $options = array();
123
+
124
+ foreach($methods as $_ccode => $_carrier)
125
+ {
126
+ $_methodOptions = array();
127
+
128
+
129
+ if(!$_title = Mage::getStoreConfig("carriers/$_ccode/title"))
130
+ $_title = $_ccode;
131
+
132
+ $options[] = array('value' => $_title, 'label' => $_title);
133
+
134
+ }
135
+
136
+ return $options;
137
+ }
138
+
139
+
140
+ }
app/code/community/BeezUp/Model/Observer.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
-
3
  class BeezUp_Model_Observer
4
  {
5
 
@@ -19,7 +19,7 @@ class BeezUp_Model_Observer
19
  }
20
 
21
  public function addOrder($observer)
22
- {
23
  if (!Mage::getStoreConfigFlag('beezup/tracking/active') || !Mage::getStoreConfig('beezup/tracking/storeid')) return '';
24
 
25
  $order = Mage::getModel('sales/order')->loadByIncrementId(Mage::getSingleton('checkout/session')->getLastRealOrderId());
@@ -29,4 +29,157 @@ class BeezUp_Model_Observer
29
  }
30
  }
31
 
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+ require_once Mage::getModuleDir('', 'BeezUp') . DS . 'lib' . DS ."BeezupOMStatus.php";
3
  class BeezUp_Model_Observer
4
  {
5
 
19
  }
20
 
21
  public function addOrder($observer)
22
+ {
23
  if (!Mage::getStoreConfigFlag('beezup/tracking/active') || !Mage::getStoreConfig('beezup/tracking/storeid')) return '';
24
 
25
  $order = Mage::getModel('sales/order')->loadByIncrementId(Mage::getSingleton('checkout/session')->getLastRealOrderId());
29
  }
30
  }
31
 
32
+
33
+ public function autoShip($observer) {
34
+
35
+
36
+ $helper = Mage::helper('beezup');
37
+ $blnAutoship = $helper->getConfig("beezup/marketplace/autoship_order");
38
+ if($blnAutoship != 1) { return; }
39
+ $default_carrier = $helper->getConfig("beezup/marketplace/autoship_carrier");
40
+ $shipment = $observer->getEvent()->getShipment();
41
+ $order = $shipment->getOrder();
42
+ //$order->getIncrementId();
43
+ $stateShip = $helper->getConfig('beezup/marketplace/status_shipped'); //poner estado que consideres shipped
44
+ // Only trigger when an order enters processing state.
45
+ $shipment_collection = Mage::getResourceModel('sales/order_shipment_collection')
46
+ ->setOrderFilter($order)
47
+ ->load();
48
+ $shipping_data['tracking'] = "";
49
+ $shipping_data['carrier'] = "";
50
+ foreach($shipment_collection as $shipment){
51
+ foreach($shipment->getAllTracks() as $tracking_number){
52
+ $shipping_data['tracking'] = $tracking_number->getNumber();
53
+ $shipping_data['carrier'] = $tracking_number->getTitle();
54
+ break;
55
+ }
56
+ break;
57
+ }
58
+ if(empty($shipping_data['carrier'])) {
59
+ $shipping_data['carrier'] = $default_carrier;
60
+ }
61
+ if(!empty( $shipping_data['tracking']) && !empty($shipping_data['carrier'])) {
62
+ $resource = Mage::getSingleton('core/resource');
63
+ $readConnection = $resource->getConnection('core_read');
64
+ $table = $resource->getTableName('sales/order_grid');
65
+ $query = 'SELECT * FROM ' . $table . ' WHERE beezup_order = 1 and entity_id = \''
66
+ . $order->getId() . '\' LIMIT 1';
67
+ $results = $readConnection->fetchAll($query);
68
+ //var_dump($results);
69
+ //
70
+
71
+ if($results[0]['beezup_order'] == 1) {
72
+ //it is a beezup order
73
+ $marketplace_business_code = $results[0]['beezup_marketplace_business_code'];
74
+ $marketplace_technical_code = $results[0]['beezup_marketplace'];
75
+ $shipping_data['marketplace_business_code'] = $marketplace_business_code;
76
+ $shipping_data['marketplace_technical_code'] = $marketplace_technical_code;
77
+
78
+ //if(isset($autoship_map[$marketplace_business_code])) {
79
+ $this->__updateBeezUPOrderStatus($order, $shipping_data);
80
+ //}
81
+
82
+ }
83
+ }
84
+
85
+
86
+
87
+ }
88
+
89
+
90
+ private function _MarketplaceTechnicalCodeCarriers($shipping_data ) {
91
+ $helper = Mage::helper('beezup');
92
+ $autoship_map = $helper->getConfig("beezup/marketplace/autoship_order_map");
93
+ $autoship_map = unserialize($autoship_map);
94
+ $code = $shipping_data['marketplace_technical_code'];
95
+ $business_code = $shipping_data['marketplace_business_code'];
96
+ $id_carrier = $shipping_data['carrier'];
97
+ $retorno = "";
98
+ if($code =="PriceMinister") {
99
+ //PriceMinisterCarrierName
100
+ $retorno = $this->_getOMStatusCarrier($autoship_map['PriceMinister'], $id_carrier);
101
+ } elseif($code=="Fnac") {
102
+ //FnacCarrierName
103
+ $retorno = $this->_getOMStatusCarrier( $autoship_map['Fnac'], $id_carrier);;
104
+ } elseif($code == "Mirakl") {
105
+ if($business_code == "DARTY") {
106
+ //DartyCarrierCode
107
+ $retorno = $this->_getOMStatusCarrier( $autoship_map['DARTY'], $id_carrier);;
108
+ } elseif($business_code == "BOULANGER") {
109
+ //BoulangerCarrierCode
110
+ $retorno = $this->_getOMStatusCarrier( $autoship_map['BOULANGER'], $id_carrier);;
111
+ } elseif($business_code == "LEQUIPE") {
112
+ //LEquipeCarrierCode
113
+ $retorno = $this->_getOMStatusCarrier($autoship_map['LEQUIPE'], $id_carrier);;
114
+ } elseif($business_code == "COMPTOIRSANTE") {
115
+ //ComptoirSanteCarrierCode
116
+ $retorno = $this->_getOMStatusCarrier($autoship_map['COMPTOIRSANTE'], $id_carrier);;
117
+ } elseif($business_code == "RUEDUCOMMERCE") {
118
+ //RuedDuCommerceCarrierCode
119
+ $retorno = $this->_getOMStatusCarrier($autoship_map['RUEDUCOMMERCE'], $id_carrier);;
120
+ } elseif($business_code == "OUTIZ") {
121
+ $retorno = $this->_getOMStatusCarrier($autoship_map['OUTIZ'], $id_carrier);
122
+ } else {
123
+ $retorno = $this->_getOMStatusCarrier($autoship_map[$business_code], $id_carrier);
124
+ }
125
+ }
126
+ return $retorno;
127
+ }
128
+
129
+ private function _getOMStatusCarrier($autoship_map, $carrier) {
130
+ foreach($autoship_map as $map) {
131
+ if($map['mage_carrierValue'] == $carrier) {
132
+ return $map['beezup_carrierName'];
133
+ }
134
+ }
135
+ return false;
136
+ }
137
+
138
+ private function __updateBeezUPOrderStatus($order, $shipping_data) {
139
+ $today = date("Y-m-d H:i:s");
140
+ $post_data = array();
141
+ $omStatus = new BeezupOmStatus();
142
+ $orderOptions = $omStatus->getInfo($order->getId());
143
+ $post_data['order_id'] = $order->getId();
144
+
145
+ foreach($orderOptions as $key => $action) {
146
+ if(isset($action['action'])) {
147
+ if($action['action'] == "ShipOrder") {
148
+ $post_data['action_id'] = $action['action'];
149
+ $parameters = $action['parameters'];
150
+
151
+ foreach($parameters as $parameter) {
152
+ $post_data[$parameter->name] = "";
153
+ if($parameter->name == "Order_Shipping_FulfillmentDate") {
154
+ $post_data["Order_Shipping_FulfillmentDate"] = $today;
155
+ }
156
+ elseif($parameter->name == "Order_Shipping_ShipperTrackingNumber") {
157
+ $post_data['Order_Shipping_ShipperTrackingNumber'] = $shipping_data['tracking'];
158
+ }
159
+ elseif($parameter->name == "Order_Shipping_CarrierName" || $parameter->name == "Order_Shipping_CarrierCode") {
160
+
161
+ $carrier_name = $this->_MarketplaceTechnicalCodeCarriers($shipping_data);
162
+ if($carrier_name && $carrier_name != "") {
163
+ $post_data[$parameter->name] = $carrier_name;
164
+ } else {
165
+ $post_data[$parameter->name] = $shipping_data['carrier'];
166
+ }
167
+
168
+ }
169
+ elseif($parameter->name == "Order_Shipping_EstimatedDeliveryDate") {
170
+ $post_data["Order_Shipping_EstimatedDeliveryDate"] = $today;
171
+ }
172
+
173
+ }
174
+ $post_data['adminUser'] = "autoship";
175
+
176
+ $ret = $omStatus->changeOrder($post_data);
177
+
178
+ break;
179
+ }
180
+ }
181
+ }
182
+
183
+ }
184
+
185
+ }
app/code/community/BeezUp/Model/System/Config/Backend/Autoship.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class Beezup_Model_System_Config_Backend_Autoship extends Mage_Core_Model_Config_Data
5
+ {
6
+ protected function _afterLoad()
7
+ {
8
+
9
+ if (!is_array($this->getValue())) {
10
+ $value = $this->getValue();
11
+ $this->setValue(empty($value) ? false : unserialize($value));
12
+ }
13
+ }
14
+
15
+ protected function _beforeSave()
16
+ {
17
+
18
+ // Mage::getSingleton('core/session')->addError("Error");
19
+ if (is_array($this->getValue())) {
20
+ $retorno = array();
21
+ $datos = $this->getValue();
22
+
23
+ foreach($datos as $key => $dato) {
24
+ foreach($dato['beezup'] as $b_key => $b) {
25
+ if($b_key == 0) { continue; }
26
+ $b = explode("|", $b);
27
+ $retorno[$key][$b_key]['beezup_marketplace'] = $b[0];
28
+ $retorno[$key][$b_key]['beezup_carrierCode'] = $b[2];
29
+ $retorno[$key][$b_key]['beezup_carrierName'] = $b[1];
30
+ }
31
+
32
+ foreach($dato['mage'] as $m_key => $m) {
33
+ if($m_key == 0) { continue;}
34
+ $retorno[$key][$m_key]['mage_carrierValue'] = $m;
35
+ }
36
+
37
+ }
38
+
39
+
40
+ $this->setValue(serialize($retorno));
41
+ }
42
+ }
43
+
44
+
45
+
46
+
47
+ }
app/code/community/BeezUp/Model/System/Config/Source/Autoshipcarriers.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BeezUp_Model_System_Config_Source_Autoshipcarriers
4
+ {
5
+
6
+ public function toOptionArray()
7
+ {
8
+
9
+ $methods = Mage::getSingleton('shipping/config')->getAllCarriers();
10
+
11
+ $options = array();
12
+
13
+ foreach($methods as $_ccode => $_carrier)
14
+ {
15
+ $_methodOptions = array();
16
+
17
+
18
+ if(!$_title = Mage::getStoreConfig("carriers/$_ccode/title"))
19
+ $_title = $_ccode;
20
+
21
+ $options[] = array('value' => $_title, 'label' => $_title);
22
+
23
+ }
24
+
25
+ return $options;
26
+
27
+ }
28
+
29
+ }
app/code/community/BeezUp/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <BeezUp>
5
- <version>4.7.0</version>
6
  </BeezUp>
7
  </modules>
8
  <global>
@@ -61,6 +61,18 @@
61
  <class>BeezUp_Helper</class>
62
  </beezup>
63
  </helpers>
 
 
 
 
 
 
 
 
 
 
 
 
64
  </global>
65
 
66
 
@@ -95,6 +107,7 @@
95
  </beezup_sales_tracking>
96
  </observers>
97
  </checkout_onepage_controller_success_action>
 
98
  </events>
99
  <translate>
100
  <modules>
2
  <config>
3
  <modules>
4
  <BeezUp>
5
+ <version>4.7.1</version>
6
  </BeezUp>
7
  </modules>
8
  <global>
61
  <class>BeezUp_Helper</class>
62
  </beezup>
63
  </helpers>
64
+
65
+ <events>
66
+ <sales_order_shipment_save_after>
67
+ <observers>
68
+ <beezup_autoship_order>
69
+ <type>singleton</type>
70
+ <class>beezup/observer</class>
71
+ <method>autoShip</method>
72
+ </beezup_autoship_order>
73
+ </observers>
74
+ </sales_order_shipment_save_after>
75
+ </events>
76
  </global>
77
 
78
 
107
  </beezup_sales_tracking>
108
  </observers>
109
  </checkout_onepage_controller_success_action>
110
+
111
  </events>
112
  <translate>
113
  <modules>
app/code/community/BeezUp/etc/system.xml CHANGED
@@ -13,7 +13,7 @@
13
  <tracking translate="label">
14
  <label>Tracking</label>
15
  <frontend_type>text</frontend_type>
16
- <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.7.0) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
17
  <sort_order>1</sort_order>
18
  <show_in_default>1</show_in_default>
19
  <show_in_website>1</show_in_website>
@@ -77,7 +77,7 @@
77
  <marketplace tanslate="label">
78
  <label>Marketplace</label>
79
  <frontend_type>text</frontend_type>
80
- <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.7.0) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
81
  <sort_order>2</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
@@ -381,20 +381,76 @@
381
  </debug_mode>
382
 
383
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  <log_block translate="comment">
385
  <label>Last execution Logs:</label>
386
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
387
- <sort_order>36</sort_order>
388
  <show_in_default>1</show_in_default>
389
  <show_in_website>1</show_in_website>
390
  <show_in_store>1</show_in_store>
391
  </log_block>
392
 
 
 
 
 
 
393
 
394
  <log translate="comment">
395
  <label></label>
396
  <frontend_model>beezup/adminhtml_system_config_log</frontend_model>
397
- <sort_order>37</sort_order>
398
  <show_in_default>1</show_in_default>
399
  <show_in_website>1</show_in_website>
400
  <show_in_store>1</show_in_store>
@@ -409,7 +465,7 @@
409
  <flux translate="label">
410
  <label>Catalog Flow</label>
411
  <frontend_type>text</frontend_type>
412
- <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.7.0) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
413
  <sort_order>2</sort_order>
414
  <show_in_default>1</show_in_default>
415
  <show_in_website>1</show_in_website>
13
  <tracking translate="label">
14
  <label>Tracking</label>
15
  <frontend_type>text</frontend_type>
16
+ <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.7.1) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
17
  <sort_order>1</sort_order>
18
  <show_in_default>1</show_in_default>
19
  <show_in_website>1</show_in_website>
77
  <marketplace tanslate="label">
78
  <label>Marketplace</label>
79
  <frontend_type>text</frontend_type>
80
+ <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.7.1) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
81
  <sort_order>2</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
381
  </debug_mode>
382
 
383
 
384
+
385
+
386
+
387
+
388
+
389
+ <autoship_block translate="comment">
390
+ <label>AutoShip Order:</label>
391
+ <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
392
+ <sort_order>36</sort_order>
393
+ <show_in_default>1</show_in_default>
394
+ <show_in_website>1</show_in_website>
395
+ <show_in_store>1</show_in_store>
396
+ </autoship_block>
397
+
398
+
399
+ <autoship_order translate="comment">
400
+ <label>Enable AutoShip:</label>
401
+ <frontend_type>select</frontend_type>
402
+ <source_model>adminhtml/system_config_source_yesno</source_model>
403
+ <sort_order>37</sort_order>
404
+ <show_in_default>1</show_in_default>
405
+ <show_in_website>1</show_in_website>
406
+ <show_in_store>1</show_in_store>
407
+ </autoship_order>
408
+
409
+
410
+
411
+ <autoship_carrier translate="comment">
412
+ <label>Default Carrier:</label>
413
+ <frontend_type>select</frontend_type>
414
+ <source_model>beezup/system_config_source_autoshipcarriers</source_model>
415
+ <sort_order>38</sort_order>
416
+ <show_in_default>1</show_in_default>
417
+ <show_in_website>1</show_in_website>
418
+ <show_in_store>1</show_in_store>
419
+ </autoship_carrier>
420
+
421
+
422
+ <autoship_order_map translate="comment">
423
+ <label>AutoShip Map:</label>
424
+ <frontend_model>beezup/adminhtml_system_config_autoship</frontend_model>
425
+ <backend_model>beezup/system_config_backend_autoship</backend_model>
426
+ <sort_order>39</sort_order>
427
+ <show_in_default>1</show_in_default>
428
+ <show_in_website>1</show_in_website>
429
+ <show_in_store>1</show_in_store>
430
+ </autoship_order_map>
431
+
432
+
433
+
434
+
435
  <log_block translate="comment">
436
  <label>Last execution Logs:</label>
437
  <frontend_model>beezup/adminhtml_system_config_childgroup</frontend_model>
438
+ <sort_order>40</sort_order>
439
  <show_in_default>1</show_in_default>
440
  <show_in_website>1</show_in_website>
441
  <show_in_store>1</show_in_store>
442
  </log_block>
443
 
444
+
445
+
446
+
447
+
448
+
449
 
450
  <log translate="comment">
451
  <label></label>
452
  <frontend_model>beezup/adminhtml_system_config_log</frontend_model>
453
+ <sort_order>40</sort_order>
454
  <show_in_default>1</show_in_default>
455
  <show_in_website>1</show_in_website>
456
  <show_in_store>1</show_in_store>
465
  <flux translate="label">
466
  <label>Catalog Flow</label>
467
  <frontend_type>text</frontend_type>
468
+ <comment><![CDATA[<div style="font-size:11px;padding:3px;margin-bottom:20px;background:#FFF9E9;border:1px solid #EEE2BE">Support BeezUP : <a href="mailto:help@beezup.com">help@beezup.com</a> (Magento BeezUP v4.7.1) - <a href="http://go.beezup.com" target="_blank">My BeezUP Account</a></div>]]></comment>
469
  <sort_order>2</sort_order>
470
  <show_in_default>1</show_in_default>
471
  <show_in_website>1</show_in_website>
app/code/community/BeezUp/lib/BeezupOMServiceClientProxy.php CHANGED
@@ -200,6 +200,27 @@
200
  return $oResponse;
201
  }
202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  /**
204
  * Sets merchant order id
205
  * @param BeezupOMSetOrderIdRequest $oRequest
@@ -272,7 +293,7 @@
272
  public function getOrderList(BeezupOMOrderListRequest $oRequest){
273
  $aRequest = $oRequest->toArray();
274
  $aRequest['beginPeriodUtcDate'] = $oRequest->getBeginPeriodUtcDate()->sub(new DateInterval("PT2H"))->format('Y-m-d\TH:i:s\Z');
275
-
276
  $oRequestData = $this->createRequestData()
277
  ->setUrl($this->getUrl(array(), $aRequest))
278
  ->setHeaders(array('Content-type: application/json'))
@@ -668,4 +689,4 @@
668
  return null;
669
  } // debug
670
 
671
- }
200
  return $oResponse;
201
  }
202
 
203
+ /**
204
+ * Returns list of all stores associated with account
205
+ * @return BeezupOMMarketplacesResponse
206
+ */
207
+ public function marketplaces(){
208
+ $oRequestData = $this->createRequestData()
209
+ ->setHeaders(array('Content-type: application/json'))
210
+ ->setUrl($this->getUrl(array('marketplaces')));
211
+ $oResponse = $this->doRequest($oRequestData, new BeezupOMMarketplacesResponse());
212
+ return $oResponse;
213
+ }
214
+
215
+ public function getMarketplace($market){
216
+
217
+ $oRequestData = $this->createRequestData()
218
+ ->setHeaders(array('Content-type: application/json'))
219
+ ->setUrl($this->getUrl(array("lov",$market)));
220
+ $oResponse = $this->doRequest($oRequestData, new BeezupOMLOVResponse());
221
+ return $oResponse;
222
+ }
223
+
224
  /**
225
  * Sets merchant order id
226
  * @param BeezupOMSetOrderIdRequest $oRequest
293
  public function getOrderList(BeezupOMOrderListRequest $oRequest){
294
  $aRequest = $oRequest->toArray();
295
  $aRequest['beginPeriodUtcDate'] = $oRequest->getBeginPeriodUtcDate()->sub(new DateInterval("PT2H"))->format('Y-m-d\TH:i:s\Z');
296
+
297
  $oRequestData = $this->createRequestData()
298
  ->setUrl($this->getUrl(array(), $aRequest))
299
  ->setHeaders(array('Content-type: application/json'))
689
  return null;
690
  } // debug
691
 
692
+ }
app/code/community/BeezUp/lib/BeezupOMStatus.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php
2
  require_once dirname ( __FILE__ ) . "/KLogger.php";
3
  require_once dirname ( __FILE__ ) . "/bootstrap.php";
4
  require_once dirname ( __FILE__ ) . "/BeezupRepository.php";
@@ -14,8 +14,8 @@ class BeezupOmStatus {
14
  private $account_id;
15
  private $marketplace_code;
16
  private $beezup_order_id;
17
-
18
-
19
  public function getLoader() {
20
  $dir = Mage::getModuleDir("etc", "BeezUp");
21
  $dir = str_replace("etc", "img", $dir);
@@ -23,7 +23,7 @@ header('Content-Type: image/jpeg');
23
  readfile($dir."/ajax-loader.gif");
24
 
25
  }
26
-
27
 
28
 
29
  public function formatActions($order_actions) {
@@ -51,7 +51,7 @@ $return[] = array("action"=> $fields->rel, "parameters" => $retorno);
51
  }
52
 
53
  return $return;
54
-
55
  }
56
 
57
  //function to get beezup info list
@@ -59,45 +59,45 @@ $return[] = array("action"=> $fields->rel, "parameters" => $retorno);
59
  $this->orderid = $order_id;
60
  try {
61
  $order = $this->getBeezupOrderFromMage();
62
-
63
  if ($order && $order->getResult()) {
64
  $order_result = $order->getResult();
65
  $beezup_infos = $order? $order->getInfo()->getInformations() : array();
66
-
67
  $order_actions = $this->getOrderActions($order_result );
68
  $order_actions = $this->formatActions($order_actions);
69
  $order_actions['is_pending'] = $order_result->getIsPendingSynchronization();
70
  return $order_actions;
71
-
72
-
73
  }
74
  } catch (Exception $ex ) {
75
-
76
  return $ex->getMessage();
77
  }
78
-
79
-
80
  }
81
-
82
  //function to change order status of marketplace
83
  public function updateStatus($order_id) {
84
  $this->orderid = $order_id;
85
  try {
86
  $order = $this->getBeezupOrderFromMage();
87
-
88
  } catch (Exception $ex ) {
89
  die($ex->getMessage());
90
  }
91
-
92
-
93
  }
94
-
95
  public function updateOrder($order_id) {
96
  $this->orderid = $order_id;
97
-
98
  }
99
-
100
-
101
  public function getBeezupOrderFromMage() {
102
  $order = $this->getMageOrder();
103
 
@@ -109,18 +109,18 @@ $return[] = array("action"=> $fields->rel, "parameters" => $retorno);
109
  if ($oBeezupOMOrderResponse && $oBeezupOMOrderResponse->getResult()){
110
  return $oBeezupOMOrderResponse;
111
  }
112
-
113
  }
114
  return false;
115
  }
116
-
117
-
118
  public function getMageOrder() {
119
  $resource = Mage::getSingleton('core/resource');
120
  $readConnection = $resource->getConnection('core_read');
121
  $table = $resource->getTableName('sales/order_grid');
122
  $query = 'SELECT * FROM ' . $table . ' WHERE entity_id = \''
123
- . $this->orderid . '\' ';
124
  $order = $readConnection->fetchAll($query);
125
  if(!empty($order)) {
126
  $order = $order[0];
@@ -131,8 +131,8 @@ $return[] = array("action"=> $fields->rel, "parameters" => $retorno);
131
  }
132
  return false;
133
  }
134
-
135
-
136
  public function getBeezupOrderId(){
137
  $oIdentifier = new BeezupOMOrderIdentifier();
138
  $oIdentifier
@@ -142,7 +142,7 @@ $return[] = array("action"=> $fields->rel, "parameters" => $retorno);
142
  return $oIdentifier;
143
  }
144
 
145
-
146
  /**
147
  * @return BeezupOMOrderService
148
  */
@@ -158,19 +158,19 @@ $return[] = array("action"=> $fields->rel, "parameters" => $retorno);
158
  * @return BeezupOMOrderService
159
  */
160
  protected function createOrderService(){
161
-
162
  return new BeezupOMOrderService($this->createRepository() );
163
  }
164
-
165
  protected function createRepository() {
166
  if ($this->repository == null) {
167
  $this->repository = new BeezupRepository();
168
- }
169
  return $this->repository;
170
-
171
  }
172
-
173
-
174
  /**
175
  * Returns disponible order actions
176
  * @param unknown_type $oBeezupOrder
@@ -184,9 +184,9 @@ $return[] = array("action"=> $fields->rel, "parameters" => $retorno);
184
  }
185
 
186
  // $aLovValues = $this->getOrderService()->getLovValues('OrderChangeBusinessOperationType', Context::getContext()->language->iso_code);
187
-
188
  foreach ($oBeezupOrder->getTransitionLinks() as $oLink){
189
-
190
  $aResult[] = array(
191
  'link' => $oLink,
192
  'href' => $oLink->getHref(),
@@ -203,14 +203,149 @@ $return[] = array("action"=> $fields->rel, "parameters" => $retorno);
203
  echo "<pre>";
204
  print_r(json_decode($aResult[0]['lovs']));
205
  echo "</pre>";
206
-
207
  echo "<pre>";
208
  print_r(json_decode($aResult[0]['fields']));
209
  echo "</pre>";
210
  */
211
  }
212
-
213
  return $aResult;
214
  }
215
-
216
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
  require_once dirname ( __FILE__ ) . "/KLogger.php";
3
  require_once dirname ( __FILE__ ) . "/bootstrap.php";
4
  require_once dirname ( __FILE__ ) . "/BeezupRepository.php";
14
  private $account_id;
15
  private $marketplace_code;
16
  private $beezup_order_id;
17
+
18
+
19
  public function getLoader() {
20
  $dir = Mage::getModuleDir("etc", "BeezUp");
21
  $dir = str_replace("etc", "img", $dir);
23
  readfile($dir."/ajax-loader.gif");
24
 
25
  }
26
+
27
 
28
 
29
  public function formatActions($order_actions) {
51
  }
52
 
53
  return $return;
54
+
55
  }
56
 
57
  //function to get beezup info list
59
  $this->orderid = $order_id;
60
  try {
61
  $order = $this->getBeezupOrderFromMage();
62
+
63
  if ($order && $order->getResult()) {
64
  $order_result = $order->getResult();
65
  $beezup_infos = $order? $order->getInfo()->getInformations() : array();
66
+
67
  $order_actions = $this->getOrderActions($order_result );
68
  $order_actions = $this->formatActions($order_actions);
69
  $order_actions['is_pending'] = $order_result->getIsPendingSynchronization();
70
  return $order_actions;
71
+
72
+
73
  }
74
  } catch (Exception $ex ) {
75
+
76
  return $ex->getMessage();
77
  }
78
+
79
+
80
  }
81
+
82
  //function to change order status of marketplace
83
  public function updateStatus($order_id) {
84
  $this->orderid = $order_id;
85
  try {
86
  $order = $this->getBeezupOrderFromMage();
87
+
88
  } catch (Exception $ex ) {
89
  die($ex->getMessage());
90
  }
91
+
92
+
93
  }
94
+
95
  public function updateOrder($order_id) {
96
  $this->orderid = $order_id;
97
+
98
  }
99
+
100
+
101
  public function getBeezupOrderFromMage() {
102
  $order = $this->getMageOrder();
103
 
109
  if ($oBeezupOMOrderResponse && $oBeezupOMOrderResponse->getResult()){
110
  return $oBeezupOMOrderResponse;
111
  }
112
+
113
  }
114
  return false;
115
  }
116
+
117
+
118
  public function getMageOrder() {
119
  $resource = Mage::getSingleton('core/resource');
120
  $readConnection = $resource->getConnection('core_read');
121
  $table = $resource->getTableName('sales/order_grid');
122
  $query = 'SELECT * FROM ' . $table . ' WHERE entity_id = \''
123
+ . $this->orderid . '\' ';
124
  $order = $readConnection->fetchAll($query);
125
  if(!empty($order)) {
126
  $order = $order[0];
131
  }
132
  return false;
133
  }
134
+
135
+
136
  public function getBeezupOrderId(){
137
  $oIdentifier = new BeezupOMOrderIdentifier();
138
  $oIdentifier
142
  return $oIdentifier;
143
  }
144
 
145
+
146
  /**
147
  * @return BeezupOMOrderService
148
  */
158
  * @return BeezupOMOrderService
159
  */
160
  protected function createOrderService(){
161
+
162
  return new BeezupOMOrderService($this->createRepository() );
163
  }
164
+
165
  protected function createRepository() {
166
  if ($this->repository == null) {
167
  $this->repository = new BeezupRepository();
168
+ }
169
  return $this->repository;
170
+
171
  }
172
+
173
+
174
  /**
175
  * Returns disponible order actions
176
  * @param unknown_type $oBeezupOrder
184
  }
185
 
186
  // $aLovValues = $this->getOrderService()->getLovValues('OrderChangeBusinessOperationType', Context::getContext()->language->iso_code);
187
+
188
  foreach ($oBeezupOrder->getTransitionLinks() as $oLink){
189
+
190
  $aResult[] = array(
191
  'link' => $oLink,
192
  'href' => $oLink->getHref(),
203
  echo "<pre>";
204
  print_r(json_decode($aResult[0]['lovs']));
205
  echo "</pre>";
206
+
207
  echo "<pre>";
208
  print_r(json_decode($aResult[0]['fields']));
209
  echo "</pre>";
210
  */
211
  }
212
+
213
  return $aResult;
214
  }
215
+
216
+
217
+
218
+
219
+ public function getMarketplacCarriersUp() {
220
+ $marketplaceResponse = $this->getOrderService()->getClientProxy()->marketplaces();
221
+ $result = $marketplaceResponse->getResult();
222
+ $marketplaces = $result->getMarketplaces();
223
+
224
+ $retorno = array();
225
+ $market_arr = array();
226
+ foreach($marketplaces as $market) {
227
+ $code = $market->getMarketplaceTechnicalCode();
228
+ $business_code = $market->getMarketplaceBusinessCode();
229
+ $tmpCode = $code."CarrierName";
230
+ if($code == "Fnac" || $code == "PriceMinister" || $code == "Mirakl") {
231
+
232
+ } else {
233
+ continue;
234
+ }
235
+ if($code == "Mirakl") {
236
+ $tmpCode = ucfirst(strtolower($business_code))."CarrierCode";
237
+ }
238
+ if(in_array($code, $market_arr)) {
239
+ continue;
240
+ }
241
+ $market_arr[] = $code;
242
+ $carrierResponse = $this->getOrderService()->getClientProxy()->getMarketplace($tmpCode);
243
+ $carResponse = $carrierResponse->getResult();
244
+ $tmpvars = array();
245
+ foreach($carResponse->getValues() as $car) {
246
+ $carCode = $car->getCodeIdentifier();
247
+ $carName = $car->getTranslationText();
248
+ if(!in_array($carCode, $tmpvars)) {
249
+ $tmpvars[] = $carCode;
250
+ $retorno[$code][] = array(
251
+ 'mc_idx' => md5(strtoupper($code . $carCode)),
252
+ 'marketplace_technical_code' =>$code,
253
+ 'marketplace_business_code' => $business_code,
254
+ 'code' => $carCode,
255
+ 'name' => $carName
256
+
257
+ );
258
+ }
259
+
260
+ }
261
+ }
262
+
263
+ return $retorno;
264
+
265
+ }
266
+
267
+
268
+
269
+ public function changeOrder($aData) {
270
+
271
+ $errmsg = "";
272
+ $this->orderid = $aData['order_id'];
273
+ $aResult = array('errors' => array(), 'warnings' => array(), 'infos' => array(),'successes' => array());
274
+
275
+ if (!isset($aData['order_id']) || !is_numeric($aData['order_id'])){
276
+ $errmsg .= "ERROR: ".Mage::helper('beezup')->__('Invalid order id')."<br>";
277
+ echo $errmsg;
278
+ }
279
+
280
+ $oBeezupOrderResponse= $this->getBeezupOrderFromMage();
281
+ $oBeezupOrder = $oBeezupOrderResponse->getResult();
282
+
283
+ if (!$oBeezupOrder){
284
+ $errmsg .="ERROR: ". Mage::helper('beezup')->__('Unable load BeezUP order')."<br>";
285
+
286
+ echo $errmsg;
287
+ }
288
+
289
+ if (!isset($aData['action_id'])){
290
+ $errmsg .= "ERROR: ".Mage::helper('beezup')->__('No action id')."<br>";
291
+
292
+ echo $errmsg;
293
+ }
294
+
295
+ $oLink = $oBeezupOrder->getTransitionLinkByRel($aData['action_id']);
296
+
297
+ if (!$oLink){
298
+
299
+ $errmsg .= "ERROR: ".Mage::helper('beezup')->__('Invalid action')."<br>";
300
+ }
301
+ $aParams = array(
302
+ 'TestMode' => 0,
303
+ 'userName' => $aData['adminUser']
304
+ );
305
+
306
+
307
+ if ($oLink){
308
+
309
+
310
+ list($bResult, $oResult) = $this->getOrderService()->changeOrder($oLink, $aParams, $aData);
311
+
312
+ if ($bResult){
313
+ $errmsg .= "SUCCESS: ". Mage::helper('beezup')->__('Order update well executed and is currently resyncing')."<br>";
314
+ $aResult['aResult'] = true;
315
+ $oCachedOrder = $this->getBeezupOrderFromMage();
316
+
317
+ /**
318
+ * @var BeezupOMOrderResult
319
+ */
320
+ $oBeezupOrderResult = $oCachedOrder->getResult();
321
+
322
+ $oBeezupOrderResult->setIsPendingSynchronization(true);
323
+
324
+ } else {
325
+ // how to know what happened?
326
+
327
+
328
+ if ($oResult && $oResult->getInfo()){
329
+
330
+
331
+ foreach ($oResult->getInfo()->getErrors() as $oError){
332
+ // ie we have 404 because of bad query params, we don't need to display those 404
333
+ if ($oError->getMessage() === 'HTTP Error' && !empty($aResult['errors'])){
334
+ continue;
335
+ }
336
+ $errmsg .= "ERROR: ".$oError->getCode() .' : ' . $oError->getMessage()."<br>";
337
+ }
338
+ } else {
339
+ $errmsg .= "ERROR: ". Mage::helper('beezup')->__('Unable to update')."<br>";
340
+ }
341
+ }
342
+ }
343
+
344
+
345
+
346
+ //echo $errmsg;
347
+
348
+
349
+ }
350
+
351
+ }
app/code/community/BeezUp/lib/Marketplaces/BeezupOMMarketplace.php ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BeezupOMMarketplace {
4
+
5
+ protected $sMarketplaceTechnicalCode = null;
6
+ protected $sAccountId = null;
7
+ protected $sMarketPlaceIsoCountryCodeAlpha2 = null;
8
+ protected $sMarketPlaceMarketPlaceId = null;
9
+ protected $sBeezUPMarketPlaceName = null;
10
+ protected $sMarketPlaceMerchandId = null;
11
+ protected $nBeezUPChannelId = null;
12
+ protected $sBeezUPStoreId = null;
13
+ protected $sBeezUPStoreName = null;
14
+ protected $sMarketPlaceBusinessCode = null;
15
+
16
+ public static function fromArray(array $aData = array()){
17
+ $oValue = new BeezupOMMarketplace();
18
+ foreach ($aData as $sKey=>$mValue){
19
+ $sCamelCaseKey = preg_replace_callback('#_(\S)#', function ($matches) {return strtoupper($matches[1]);}, $sKey);
20
+ $sSetterMethod = 'set' . ucfirst($sCamelCaseKey);
21
+ if (!method_exists($oValue,$sSetterMethod)){
22
+ continue;
23
+ }
24
+ $cCallback = array($oValue,$sSetterMethod);
25
+ if (is_scalar($mValue)){
26
+ call_user_func($cCallback, $mValue);
27
+ } // if
28
+ } // foreach
29
+ return $oValue;
30
+ }
31
+
32
+ public function toArray(){
33
+ return array(
34
+ 'marketPlaceTechnicalCode' => $this->getMarketPlaceTechnicalCode(),
35
+ 'accountId' => $this->getAccountId(),
36
+ 'marketPlaceIsoCountryCodeAlpha2' => $this->getMarketPlaceIsoCountryCodeAlpha2(),
37
+ 'marketPlaceMarketPlaceId' => $this->getMarketPlaceMarketPlaceId(),
38
+ 'beezUPMarketPlaceName' => $this->getBeezUPMarketPlaceName(),
39
+ 'marketPlaceMerchandId' => $this->getMarketPlaceMerchandId(),
40
+ 'beezUPChannelId' => $this->getBeezUPChannelId(),
41
+ 'beezUPStoreId' => $this->getBeezUPStoreId(),
42
+ 'beezUPStoreName' => $this->getBeezUPStoreName(),
43
+ 'marketPlaceBusinessCode' => $this->getMarketPlaceBusinessCode()
44
+ );
45
+ }
46
+
47
+ public function getUUID(){
48
+ return md5(implode('|', $this->toArray()));
49
+ }
50
+
51
+ public function getMarketplaceTechnicalCode()
52
+ {
53
+ return $this->sMarketplaceTechnicalCode;
54
+ }
55
+
56
+ public function setMarketplaceTechnicalCode($sMarketplaceTechnicalCode)
57
+ {
58
+ $this->sMarketplaceTechnicalCode = $sMarketplaceTechnicalCode;
59
+ return $this;
60
+ }
61
+
62
+ public function getAccountId()
63
+ {
64
+ return $this->sAccountId;
65
+ }
66
+
67
+ public function setAccountId($sAccountId)
68
+ {
69
+ $this->sAccountId = $sAccountId;
70
+ return $this;
71
+ }
72
+
73
+ public function getMarketPlaceIsoCountryCodeAlpha2()
74
+ {
75
+ return $this->sMarketPlaceIsoCountryCodeAlpha2;
76
+ }
77
+
78
+ public function setMarketPlaceIsoCountryCodeAlpha2($sMarketPlaceIsoCountryCodeAlpha2)
79
+ {
80
+ $this->sMarketPlaceIsoCountryCodeAlpha2 = $sMarketPlaceIsoCountryCodeAlpha2;
81
+ return $this;
82
+ }
83
+
84
+ public function getMarketPlaceMarketPlaceId()
85
+ {
86
+ return $this->sMarketPlaceMarketPlaceId;
87
+ }
88
+
89
+ public function setMarketPlaceMarketPlaceId($sMarketPlaceMarketPlaceId)
90
+ {
91
+ $this->sMarketPlaceMarketPlaceId = $sMarketPlaceMarketPlaceId;
92
+ return $this;
93
+ }
94
+
95
+ public function getBeezUPMarketPlaceName()
96
+ {
97
+ return $this->sBeezUPMarketPlaceName;
98
+ }
99
+
100
+ public function setBeezUPMarketPlaceName($sBeezUPMarketPlaceName)
101
+ {
102
+ $this->sBeezUPMarketPlaceName = $sBeezUPMarketPlaceName;
103
+ return $this;
104
+ }
105
+
106
+ public function getMarketPlaceMerchandId()
107
+ {
108
+ return $this->sMarketPlaceMerchandId;
109
+ }
110
+
111
+ public function setMarketPlaceMerchandId($sMarketPlaceMerchandId)
112
+ {
113
+ $this->sMarketPlaceMerchandId = $sMarketPlaceMerchandId;
114
+ return $this;
115
+ }
116
+
117
+ public function getBeezUPChannelId()
118
+ {
119
+ return $this->nBeezUPChannelId;
120
+ }
121
+
122
+ public function setBeezUPChannelId($nBeezUPChannelId)
123
+ {
124
+ $this->nBeezUPChannelId = (int)$nBeezUPChannelId;
125
+ return $this;
126
+ }
127
+
128
+ public function getBeezUPStoreId()
129
+ {
130
+ return $this->sBeezUPStoreId;
131
+ }
132
+
133
+ public function setBeezUPStoreId($sBeezUPStoreId)
134
+ {
135
+ $this->sBeezUPStoreId = $sBeezUPStoreId;
136
+ return $this;
137
+ }
138
+
139
+ public function getBeezUPStoreName()
140
+ {
141
+ return $this->sBeezUPStoreName;
142
+ }
143
+
144
+ public function setBeezUPStoreName($sBeezUPStoreName)
145
+ {
146
+ $this->sBeezUPStoreName = $sBeezUPStoreName;
147
+ return $this;
148
+ }
149
+
150
+ public function getMarketPlaceBusinessCode()
151
+ {
152
+ return $this->sMarketPlaceBusinessCode;
153
+ }
154
+
155
+ public function setMarketPlaceBusinessCode($sMarketPlaceBusinessCode)
156
+ {
157
+ $this->sMarketPlaceBusinessCode = $sMarketPlaceBusinessCode;
158
+ return $this;
159
+ }
160
+
161
+ }
app/code/community/BeezUp/lib/Marketplaces/BeezupOMMarketplacesRequest.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+
3
+ class BeezupOMMarketplacesRequest extends BeezupOMRequest {}
app/code/community/BeezUp/lib/Marketplaces/BeezupOMMarketplacesResponse.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BeezupOMMarketplacesResponse extends BeezupOMResponse {
4
+
5
+ public function createResult(array $aData = array()){
6
+ return BeezupOMMarketplacesResult::fromArray($aData);
7
+ }
8
+ public function createRequest(array $aData = array()){
9
+ return BeezupOMMarketplacesRequest::fromArray($aData);
10
+ }
11
+
12
+ }
app/code/community/BeezUp/lib/Marketplaces/BeezupOMMarketplacesResult.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BeezupOMMarketplacesResult extends BeezupOMResult {
4
+
5
+ protected $aMarketplaces = array();
6
+
7
+
8
+ /**
9
+ * @return the $aValues
10
+ */
11
+ public function getMarketplaces()
12
+ {
13
+ return $this->aMarketplaces;
14
+ }
15
+
16
+ /**
17
+ * @param multitype: $aValues
18
+ */
19
+ public function setMarketplaces($aMarketplaces)
20
+ {
21
+ $this->aMarketplaces = $aMarketplaces;
22
+ return $this;
23
+ }
24
+
25
+ public function addMarketplace(BeezupOMMarketplace $oMarketplace)
26
+ {
27
+ $this->aMarketplaces[] = $oMarketplace;
28
+ return $this;
29
+ }
30
+
31
+ public static function fromArray(array $aData = array()){
32
+ $oResult = new BeezupOMMarketplacesResult();
33
+ if (isset($aData['marketPlaceAccountStores']) && is_array($aData['marketPlaceAccountStores'])){
34
+ foreach ($aData['marketPlaceAccountStores'] as $aMarketplace){
35
+ $oResult->addMarketplace(BeezupOMMarketplace::fromArray($aMarketplace));
36
+ }
37
+ }
38
+ return $oResult;
39
+ }
40
+
41
+
42
+ }
app/code/community/BeezUp/lib/bootstrap.php CHANGED
@@ -55,6 +55,12 @@
55
  require_once 'Stores/BeezupOMStoresResult.php';
56
  require_once 'Stores/BeezupOMStore.php';
57
 
 
 
 
 
 
 
58
  require_once 'OrderChange/BeezupOMOrderChangeRequest.php';
59
  require_once 'OrderChange/BeezupOMOrderChangeResult.php';
60
  require_once 'OrderChange/BeezupOMOrderChangeResponse.php';
@@ -68,5 +74,3 @@
68
  // require_once 'BeezupOMOrderServiceInterface.php';
69
  require_once 'BeezupOMServiceClientProxy.php';
70
  require_once 'BeezupOMOrderService.php';
71
-
72
-
55
  require_once 'Stores/BeezupOMStoresResult.php';
56
  require_once 'Stores/BeezupOMStore.php';
57
 
58
+ require_once 'Marketplaces/BeezupOMMarketplacesRequest.php';
59
+ require_once 'Marketplaces/BeezupOMMarketplacesResponse.php';
60
+ require_once 'Marketplaces/BeezupOMMarketplacesResult.php';
61
+ require_once 'Marketplaces/BeezupOMMarketplace.php';
62
+
63
+
64
  require_once 'OrderChange/BeezupOMOrderChangeRequest.php';
65
  require_once 'OrderChange/BeezupOMOrderChangeResult.php';
66
  require_once 'OrderChange/BeezupOMOrderChangeResponse.php';
74
  // require_once 'BeezupOMOrderServiceInterface.php';
75
  require_once 'BeezupOMServiceClientProxy.php';
76
  require_once 'BeezupOMOrderService.php';
 
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BeezUP_Module_feed_and_tracker</name>
4
- <version>4.7.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
7
  <channel>community</channel>
@@ -42,11 +42,11 @@ After Set-up, the following files are added :&lt;/p&gt;&#xD;
42
  &#xD;
43
  &lt;p&gt;By BeezUP &amp; Magentix&lt;/p&gt;</description>
44
  <notes>New features :&#xD;
45
- - Fixed bug with disabled carrier</notes>
46
  <authors><author><name>BeezUP</name><user>BeezUP</user><email>charles@beezup.com</email></author></authors>
47
- <date>2016-09-30</date>
48
- <time>13:19:14</time>
49
- <contents><target name="magecommunity"><dir name="BeezUp"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="e18c65bc83cab8795b4ffd0d46e04c8a"/><dir name="Invoice"><file name="Totals.php" hash="ac065cd586fd2534de7e12762ab9b335"/></dir><file name="Totals.php" hash="5972281aa467d63da56a297a8df3da55"/><dir name="View"><dir name="Tab"><file name="Custom.php" hash="a60f500d604038645b826fa74e9b6619"/></dir></dir></dir><file name="Order.php" hash="c038c302f2c86f79431b49c7282c3f5c"/></dir><dir name="System"><dir name="Config"><file name="Attributes.php" hash="a504265fe4dc2df69b311d8219c88fbf"/><file name="Button.php" hash="476b33034b0c7d36e1bbd85f38b841db"/><file name="Childgroup.php" hash="388d3dee8f9d66a56c43c2790a44b45a"/><file name="Credentials.php" hash="b86f361800bebfd6fcf3564d9fe87c95"/><file name="Cron.php" hash="e1d47b095623593beb7f166d2ad7fecc"/><file name="Filter.php" hash="ad7ba55e18c080e25a08309dc428402a"/><file name="Log.php" hash="86221765980c0aee2381d5efd740949d"/><file name="Manualcron.php" hash="cbac01f15d256a43f0388f58449bffd0"/><file name="Orderlink.php" hash="9b9242ea9ccc4cfa746036b72aed2cc1"/><file name="Stores.php" hash="4297f4c94f136bb9778c9ddcd0cb336c"/><file name="Syncstatus.php" hash="49164eb19331aadabc0581472cd3c567"/><file name="Time.php" hash="ac5c2e4a40e9c6ff68cea1097dfa1e7b"/></dir></dir></dir><file name="Omstatus.php" hash="061d861d973e232a18acea0387a4a290"/><file name="Order.php" hash="ce1d3347e947fe4a0159e53ddb611fd3"/><file name="Tracking.php" hash="e6dcd6b89e782b2eb6cb83abfb1b7f56"/><file name="Xml.php" hash="dbaed2a7dfb2ea57f932865a09ae9760"/></dir><dir name="Helper"><file name="Data.php" hash="867a2562b255beaf3faa047d4130304f"/></dir><dir name="Model"><file name="Flatrate.php" hash="27d078203781d9b923605f685bfe5c25"/><file name="Observer.php" hash="3bcb925df1965ef23ef1fb08ab64de08"/><file name="Products.php" hash="e2ffaec55b84d4c1923547fc2aad47b6"/><dir name="Quote"><file name="Item.php" hash="13cef88e165932990fa032b57e8905a0"/></dir><dir name="Sales"><dir name="Order"><dir name="Pdf"><file name="Invoice.php" hash="9eaf28084db176b41c6007da3d529d18"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="174aee475c6a6a8b0b4f2e8e076c6a25"/><file name="Credentials.php" hash="09ef9fab57f64eb6415d71ba8aec2412"/><file name="Time.php" hash="a70e4d748a9b300ec7b718168fa4d5f8"/><file name="Token.php" hash="60247c8b4d5889433ae1f92e998cc889"/></dir><dir name="Source"><file name="Attributes.php" hash="8f57313a41349c7a8132b8d8e2de275e"/><file name="Availableproducts.php" hash="d9d4b3705f5fbd98efbae0289a1b6d6d"/><file name="Cache.php" hash="0ca6ccc2fed56e2c602d76880d062053"/><file name="Carriers.php" hash="2aa4edae4a91dfd0bbb752aa2f4c0073"/><file name="Categories.php" hash="c4e9f0a54f1d9c688543f26f02f99142"/><file name="Countries.php" hash="b6f1a9a75d5368d6365f06b42524e002"/><file name="Customercreate.php" hash="ca5d2b2d1ad4e18f9a1135af21b10bc2"/><file name="Debug.php" hash="6538ebc0cd0d61c124e5adc806e71aff"/><file name="Description.php" hash="1746e688692fc99524f02fb18e707dcf"/><file name="Images.php" hash="78fb5e2054bbfaa2e76263b1aa9197cc"/><file name="Montant.php" hash="3a46b8d564f1c2f0ed3b62354ac8964f"/><file name="Payment.php" hash="4bebe8e6ab0f980c1ada872b46e86503"/><file name="Position.php" hash="f1d6f89f5db5bfeedc506c539e76e3a8"/><file name="Price.php" hash="71707a69106cdd4990767351ab78fc04"/><file name="Shipping.php" hash="93401afc4fe0fb60824b778a26a24cdd"/><file name="Status.php" hash="d32004ad97adac6de361703a403a6a97"/><file name="Userid.php" hash="3d028bc3bfcaf7541b57676c014c94db"/><file name="Visibility.php" hash="91c69e8f967c13162eb38306c0391080"/></dir></dir></dir></dir><dir name="controllers"><file name="CacheController.php" hash="512cc26abd39d556104d5e69c0ac8a0d"/><file name="CatalogController.php" hash="0b65f6951e26283ea8c60bffa397186d"/><file name="CronController.php" hash="026ddcd6df9a51a41037687ca8d53a0b"/><file name="LogController.php" hash="5eff0d0a2c5621456e580e214d05c745"/><file name="OmstatusController.php" hash="95ae171ef21f861a7eaf74931b62a9db"/><file name="OrderController.php" hash="a2b8df2fb01fb4df8e7f04bcd7689bb3"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e50ed10cb5025ff3a6dd7c90a6f7e0a4"/><file name="config.xml" hash="212840f8dc09cef04329fd2f460c496a"/><file name="system.xml" hash="7d801b858a000f1d0b4a1031a9d11b66"/></dir><dir name="img"><file name="ajax-loader.gif" hash="2a6692973429d7a74513bfa8bcb5be20"/></dir><dir name="lib"><file name="BeezupMageOrders.php" hash="537cfce31df19f4decda5e876ec74b5d"/><file name="BeezupOMDataHandler.php" hash="cf738987179f3125fc0f4626fd70f1a0"/><file name="BeezupOMOrderService.php" hash="47c09c14dce66f914023ff09374cd674"/><file name="BeezupOMOrderServiceInterface.php" hash="9b18485ae224c32f46ae5a2ec5966e5b"/><file name="BeezupOMRepositoryInterface.php" hash="c2a8267c01c3e5def25ed41f715fa4b4"/><file name="BeezupOMRequestData.php" hash="162196502ecc6078ac6b7dec6f068c80"/><file name="BeezupOMResponseData.php" hash="955ce5316129e837190f2ccf9962d74f"/><file name="BeezupOMServiceClientProxy.php" hash="82821826016c467657d56b568a42bd35"/><file name="BeezupOMStatus.php" hash="5ebcc05f1b763887e420c8f4f459bfdb"/><file name="BeezupRepository.php" hash="4a4eaabcd0a5d7427154e93757c3733d"/><dir name="Common"><file name="BeezupOMCredential.php" hash="7f45272d16860058af07005dda39672e"/><file name="BeezupOMErrorSummary.php" hash="418db7b85beb030b2d28aee6c8b35bf1"/><file name="BeezupOMExpectedOrderChangeMetaInfo.php" hash="be802f69a3474d6cc6a5899711c7018c"/><file name="BeezupOMInfoSummaries.php" hash="cdece780cf38e3f09ce2d5550b93a567"/><file name="BeezupOMInfoSummary.php" hash="3b0d49f22882e239c87060aa58beb643"/><file name="BeezupOMLink.php" hash="9fa99dce0b51e235e101259b2f0304f8"/><file name="BeezupOMOrderIdentifier.php" hash="334f410bf0794cb2ce02b4b1e6d3e0f4"/><file name="BeezupOMProcessingStatus.php" hash="b70c4c23a75360b5bee4d9ddec9e7915"/><file name="BeezupOMRequest.php" hash="2497b1ed30c12d179a5629479aee418d"/><file name="BeezupOMResponse.php" hash="690688115873ac9a3172bf67a0d62b50"/><file name="BeezupOMResult.php" hash="5cb890ce4ad4205114dd94cd1f28222d"/><file name="BeezupOMSuccessSummary.php" hash="791c6c186ed15ec1b872905b820cd03c"/><file name="BeezupOMSummary.php" hash="6cc3712480eff9f19b80b0ab887155f0"/><file name="BeezupOMWarningSummary.php" hash="03cfd6a98901b6b460b974b8e938a659"/></dir><dir name="Harvest"><file name="BeezupOMHarvestAbstractReporting.php" hash="3d499a69ea7b646eaeef5b80f0a919f3"/><file name="BeezupOMHarvestClientReporting.php" hash="1e40eca349352912e408718f3b218777"/><file name="BeezupOMHarvestOrderReporting.php" hash="778ba93a7673f35b2072003e3510ba6b"/></dir><file name="KLogger.php" hash="fe1d31bbfdf4d59a858ffd43453536c2"/><dir name="LOV"><file name="BeezupOMLOVRequest.php" hash="165c873b3fea4201a3b35596d24ffe36"/><file name="BeezupOMLOVResponse.php" hash="586749fb17b16d5ff9f07909e516b3c7"/><file name="BeezupOMLOVResult.php" hash="c0e3cc917a1d625ac6094917481a7b52"/><file name="BeezupOMLOVValue.php" hash="0dd13ae88e99c2537df8804f3af248b9"/></dir><dir name="Order"><file name="BeezupOMOrderItem.php" hash="a770b90ae4fcb6535563be6ff59f7528"/><file name="BeezupOMOrderRequest.php" hash="9afa0f18fc0aef344c3f71d054db23a0"/><file name="BeezupOMOrderResponse.php" hash="e8793a8754ec75a92ca6266357462307"/><file name="BeezupOMOrderResult.php" hash="b82fd5d86b578f2eb1d162a1169f3a9b"/></dir><dir name="OrderChange"><file name="BeezupOMOrderChangeMetaInfo.php" hash="abdbdfd6c3bf291fd38f9b3ddc419405"/><file name="BeezupOMOrderChangeRequest.php" hash="f43b9c0a052fe5346a1b309c6d96ae9c"/><file name="BeezupOMOrderChangeResponse.php" hash="bbb4e49e5ddb90991e763daa439a5642"/><file name="BeezupOMOrderChangeResult.php" hash="e7314addf6c2e51196577055d583f350"/></dir><dir name="OrderHistory"><file name="BeezupOMOrderChangeReporting.php" hash="fc7a7d7ee8bc53f8c5b7ed19793a911a"/><file name="BeezupOMOrderHarvestReporting.php" hash="e4cb500ef347d8e8543e0bf278d3d77c"/><file name="BeezupOMOrderHistoryRequest.php" hash="2e39c26d8d9dd4d5a92a2cde06c41353"/><file name="BeezupOMOrderHistoryResponse.php" hash="dc6a0c6dc89bf1f376d1ecfebd052a4b"/><file name="BeezupOMOrderHistoryResult.php" hash="d85d9b4ecf6c0456b5c8453cc3b9cfdd"/></dir><dir name="OrderList"><file name="BeezupOMOrderHeader.php" hash="af366bc39855f1315678f01b53859c1c"/><file name="BeezupOMOrderListRequest.php" hash="817c20c7c82fd5f05e0efb19ee19ec4b"/><file name="BeezupOMOrderListResponse.php" hash="b1b0ed33ba495f6e2c2f3a39ade2a5cd"/><file name="BeezupOMOrderListResult.php" hash="8befe82305a6c6fe3cacf113b3722585"/><file name="BeezupOMPaginationResult.php" hash="1e1ef534ddef8ac43d98839b4ed7f941"/></dir><dir name="SetOrderId"><file name="BeezupOMSetOrderIdRequest.php" hash="40b4a05023396115f582c2e907834e3b"/><file name="BeezupOMSetOrderIdResponse.php" hash="c4cb1f9013ae32dfdff8ca80e4725282"/><file name="BeezupOMSetOrderIdResult.php" hash="8b35abb55c52f6acdfd55bf20b370bf0"/><file name="BeezupOMSetOrderIdValues.php" hash="978b41465512c15bfe160463ca23d24f"/></dir><dir name="Stores"><file name="BeezupOMStore.php" hash="0882efcae2eff339d6cdcceee83135a7"/><file name="BeezupOMStoresRequest.php" hash="a6b1391e306f2ed21fd5e2fcdbcbbec5"/><file name="BeezupOMStoresResponse.php" hash="21535a8957506ef7da343a0526b57b02"/><file name="BeezupOMStoresResult.php" hash="d4ceed947e9e8086638497e75bbd20e8"/></dir><file name="bootstrap.php" hash="9e0e69bc9e9a932c7c80f8480c025bd2"/></dir><dir name="sql"><dir name="beezup_setup"><file name="mysql4-install-4.0.0.php" hash="75dacb26e3f96975a873c906eb37fbb0"/><file name="mysql4-upgrade-4.5.0-4.6.0.php" hash="34d1bc3a9b7658923a389fd6653ed4c9"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BeezUp.xml" hash="93df32f86c55b57363b9abc62cf68474"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="BeezUp.csv" hash="3ae5819ffc7157b01772a15a9b16d2a2"/></dir><dir name="en_US"><file name="BeezUp.csv" hash="05b26592c14245824173936807731db4"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="beezup_salestab.xml" hash="784925d72538a1eeb0ca695417147a7a"/></dir><dir name="template"><dir name="beezup"><file name="custom.phtml" hash="ea83d17a2e8814c3a9ae9e056c7926a8"/></dir></dir></dir></dir></dir></target></contents>
50
  <compatible/>
51
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
52
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BeezUP_Module_feed_and_tracker</name>
4
+ <version>4.7.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
7
  <channel>community</channel>
42
  &#xD;
43
  &lt;p&gt;By BeezUP &amp; Magentix&lt;/p&gt;</description>
44
  <notes>New features :&#xD;
45
+ - Orders Auto Shipment</notes>
46
  <authors><author><name>BeezUP</name><user>BeezUP</user><email>charles@beezup.com</email></author></authors>
47
+ <date>2016-10-27</date>
48
+ <time>17:07:53</time>
49
+ <contents><target name="magecommunity"><dir name="BeezUp"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="e18c65bc83cab8795b4ffd0d46e04c8a"/><dir name="Invoice"><file name="Totals.php" hash="ac065cd586fd2534de7e12762ab9b335"/></dir><file name="Totals.php" hash="5972281aa467d63da56a297a8df3da55"/><dir name="View"><dir name="Tab"><file name="Custom.php" hash="a60f500d604038645b826fa74e9b6619"/></dir></dir></dir><file name="Order.php" hash="c038c302f2c86f79431b49c7282c3f5c"/></dir><dir name="System"><dir name="Config"><file name="Attributes.php" hash="a504265fe4dc2df69b311d8219c88fbf"/><file name="Autoship.php" hash="29a12f9ec87f4e4a8a6d0719aab4a4f6"/><file name="Button.php" hash="476b33034b0c7d36e1bbd85f38b841db"/><file name="Childgroup.php" hash="388d3dee8f9d66a56c43c2790a44b45a"/><file name="Credentials.php" hash="b86f361800bebfd6fcf3564d9fe87c95"/><file name="Cron.php" hash="e1d47b095623593beb7f166d2ad7fecc"/><file name="Filter.php" hash="ad7ba55e18c080e25a08309dc428402a"/><file name="Log.php" hash="86221765980c0aee2381d5efd740949d"/><file name="Manualcron.php" hash="cbac01f15d256a43f0388f58449bffd0"/><file name="Orderlink.php" hash="9b9242ea9ccc4cfa746036b72aed2cc1"/><file name="Stores.php" hash="4297f4c94f136bb9778c9ddcd0cb336c"/><file name="Syncstatus.php" hash="49164eb19331aadabc0581472cd3c567"/><file name="Time.php" hash="ac5c2e4a40e9c6ff68cea1097dfa1e7b"/></dir></dir></dir><file name="Omstatus.php" hash="061d861d973e232a18acea0387a4a290"/><file name="Order.php" hash="ce1d3347e947fe4a0159e53ddb611fd3"/><file name="Tracking.php" hash="e6dcd6b89e782b2eb6cb83abfb1b7f56"/><file name="Xml.php" hash="dbaed2a7dfb2ea57f932865a09ae9760"/></dir><dir name="Helper"><file name="Data.php" hash="867a2562b255beaf3faa047d4130304f"/></dir><dir name="Model"><file name="Flatrate.php" hash="27d078203781d9b923605f685bfe5c25"/><file name="Observer.php" hash="e067e82f0a86088ad5dc062074caea51"/><file name="Products.php" hash="e2ffaec55b84d4c1923547fc2aad47b6"/><dir name="Quote"><file name="Item.php" hash="13cef88e165932990fa032b57e8905a0"/></dir><dir name="Sales"><dir name="Order"><dir name="Pdf"><file name="Invoice.php" hash="9eaf28084db176b41c6007da3d529d18"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="174aee475c6a6a8b0b4f2e8e076c6a25"/><file name="Autoship.php" hash="7e14eb34edffeb1f42fa372874922c84"/><file name="Credentials.php" hash="09ef9fab57f64eb6415d71ba8aec2412"/><file name="Time.php" hash="a70e4d748a9b300ec7b718168fa4d5f8"/><file name="Token.php" hash="60247c8b4d5889433ae1f92e998cc889"/></dir><dir name="Source"><file name="Attributes.php" hash="8f57313a41349c7a8132b8d8e2de275e"/><file name="Autoshipcarriers.php" hash="8d630c9bff8db63b4fb30f11768ce443"/><file name="Availableproducts.php" hash="d9d4b3705f5fbd98efbae0289a1b6d6d"/><file name="Cache.php" hash="0ca6ccc2fed56e2c602d76880d062053"/><file name="Carriers.php" hash="2aa4edae4a91dfd0bbb752aa2f4c0073"/><file name="Categories.php" hash="c4e9f0a54f1d9c688543f26f02f99142"/><file name="Countries.php" hash="b6f1a9a75d5368d6365f06b42524e002"/><file name="Customercreate.php" hash="ca5d2b2d1ad4e18f9a1135af21b10bc2"/><file name="Debug.php" hash="6538ebc0cd0d61c124e5adc806e71aff"/><file name="Description.php" hash="1746e688692fc99524f02fb18e707dcf"/><file name="Images.php" hash="78fb5e2054bbfaa2e76263b1aa9197cc"/><file name="Montant.php" hash="3a46b8d564f1c2f0ed3b62354ac8964f"/><file name="Payment.php" hash="4bebe8e6ab0f980c1ada872b46e86503"/><file name="Position.php" hash="f1d6f89f5db5bfeedc506c539e76e3a8"/><file name="Price.php" hash="71707a69106cdd4990767351ab78fc04"/><file name="Shipping.php" hash="93401afc4fe0fb60824b778a26a24cdd"/><file name="Status.php" hash="d32004ad97adac6de361703a403a6a97"/><file name="Userid.php" hash="3d028bc3bfcaf7541b57676c014c94db"/><file name="Visibility.php" hash="91c69e8f967c13162eb38306c0391080"/></dir></dir></dir></dir><dir name="controllers"><file name="CacheController.php" hash="512cc26abd39d556104d5e69c0ac8a0d"/><file name="CatalogController.php" hash="0b65f6951e26283ea8c60bffa397186d"/><file name="CronController.php" hash="026ddcd6df9a51a41037687ca8d53a0b"/><file name="LogController.php" hash="5eff0d0a2c5621456e580e214d05c745"/><file name="OmstatusController.php" hash="95ae171ef21f861a7eaf74931b62a9db"/><file name="OrderController.php" hash="a2b8df2fb01fb4df8e7f04bcd7689bb3"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e50ed10cb5025ff3a6dd7c90a6f7e0a4"/><file name="config.xml" hash="64495a2fdbdc693b58247199e837f3a4"/><file name="system.xml" hash="3cbe15a192a3856849017da3518028d1"/></dir><dir name="img"><file name="ajax-loader.gif" hash="2a6692973429d7a74513bfa8bcb5be20"/></dir><dir name="lib"><file name="BeezupMageOrders.php" hash="537cfce31df19f4decda5e876ec74b5d"/><file name="BeezupOMDataHandler.php" hash="cf738987179f3125fc0f4626fd70f1a0"/><file name="BeezupOMOrderService.php" hash="47c09c14dce66f914023ff09374cd674"/><file name="BeezupOMOrderServiceInterface.php" hash="9b18485ae224c32f46ae5a2ec5966e5b"/><file name="BeezupOMRepositoryInterface.php" hash="c2a8267c01c3e5def25ed41f715fa4b4"/><file name="BeezupOMRequestData.php" hash="162196502ecc6078ac6b7dec6f068c80"/><file name="BeezupOMResponseData.php" hash="955ce5316129e837190f2ccf9962d74f"/><file name="BeezupOMServiceClientProxy.php" hash="5e3a1759aabfb0349f270ce4cfd80725"/><file name="BeezupOMStatus.php" hash="91622de51c7d8b9f53f1b9ccdafbb24c"/><file name="BeezupRepository.php" hash="4a4eaabcd0a5d7427154e93757c3733d"/><dir name="Common"><file name="BeezupOMCredential.php" hash="7f45272d16860058af07005dda39672e"/><file name="BeezupOMErrorSummary.php" hash="418db7b85beb030b2d28aee6c8b35bf1"/><file name="BeezupOMExpectedOrderChangeMetaInfo.php" hash="be802f69a3474d6cc6a5899711c7018c"/><file name="BeezupOMInfoSummaries.php" hash="cdece780cf38e3f09ce2d5550b93a567"/><file name="BeezupOMInfoSummary.php" hash="3b0d49f22882e239c87060aa58beb643"/><file name="BeezupOMLink.php" hash="9fa99dce0b51e235e101259b2f0304f8"/><file name="BeezupOMOrderIdentifier.php" hash="334f410bf0794cb2ce02b4b1e6d3e0f4"/><file name="BeezupOMProcessingStatus.php" hash="b70c4c23a75360b5bee4d9ddec9e7915"/><file name="BeezupOMRequest.php" hash="2497b1ed30c12d179a5629479aee418d"/><file name="BeezupOMResponse.php" hash="690688115873ac9a3172bf67a0d62b50"/><file name="BeezupOMResult.php" hash="5cb890ce4ad4205114dd94cd1f28222d"/><file name="BeezupOMSuccessSummary.php" hash="791c6c186ed15ec1b872905b820cd03c"/><file name="BeezupOMSummary.php" hash="6cc3712480eff9f19b80b0ab887155f0"/><file name="BeezupOMWarningSummary.php" hash="03cfd6a98901b6b460b974b8e938a659"/></dir><dir name="Harvest"><file name="BeezupOMHarvestAbstractReporting.php" hash="3d499a69ea7b646eaeef5b80f0a919f3"/><file name="BeezupOMHarvestClientReporting.php" hash="1e40eca349352912e408718f3b218777"/><file name="BeezupOMHarvestOrderReporting.php" hash="778ba93a7673f35b2072003e3510ba6b"/></dir><file name="KLogger.php" hash="fe1d31bbfdf4d59a858ffd43453536c2"/><dir name="LOV"><file name="BeezupOMLOVRequest.php" hash="165c873b3fea4201a3b35596d24ffe36"/><file name="BeezupOMLOVResponse.php" hash="586749fb17b16d5ff9f07909e516b3c7"/><file name="BeezupOMLOVResult.php" hash="c0e3cc917a1d625ac6094917481a7b52"/><file name="BeezupOMLOVValue.php" hash="0dd13ae88e99c2537df8804f3af248b9"/></dir><dir name="Marketplaces"><file name="BeezupOMMarketplace.php" hash="b85f1c977258ebc70c206a4ff461cb9a"/><file name="BeezupOMMarketplacesRequest.php" hash="5d1b27434872ed04210b9af795f5e464"/><file name="BeezupOMMarketplacesResponse.php" hash="0837f9ba0a610492362d73cd54ed4123"/><file name="BeezupOMMarketplacesResult.php" hash="369a2bf6e4c4134636ddeb849c6a8945"/></dir><dir name="Order"><file name="BeezupOMOrderItem.php" hash="a770b90ae4fcb6535563be6ff59f7528"/><file name="BeezupOMOrderRequest.php" hash="9afa0f18fc0aef344c3f71d054db23a0"/><file name="BeezupOMOrderResponse.php" hash="e8793a8754ec75a92ca6266357462307"/><file name="BeezupOMOrderResult.php" hash="b82fd5d86b578f2eb1d162a1169f3a9b"/></dir><dir name="OrderChange"><file name="BeezupOMOrderChangeMetaInfo.php" hash="abdbdfd6c3bf291fd38f9b3ddc419405"/><file name="BeezupOMOrderChangeRequest.php" hash="f43b9c0a052fe5346a1b309c6d96ae9c"/><file name="BeezupOMOrderChangeResponse.php" hash="bbb4e49e5ddb90991e763daa439a5642"/><file name="BeezupOMOrderChangeResult.php" hash="e7314addf6c2e51196577055d583f350"/></dir><dir name="OrderHistory"><file name="BeezupOMOrderChangeReporting.php" hash="fc7a7d7ee8bc53f8c5b7ed19793a911a"/><file name="BeezupOMOrderHarvestReporting.php" hash="e4cb500ef347d8e8543e0bf278d3d77c"/><file name="BeezupOMOrderHistoryRequest.php" hash="2e39c26d8d9dd4d5a92a2cde06c41353"/><file name="BeezupOMOrderHistoryResponse.php" hash="dc6a0c6dc89bf1f376d1ecfebd052a4b"/><file name="BeezupOMOrderHistoryResult.php" hash="d85d9b4ecf6c0456b5c8453cc3b9cfdd"/></dir><dir name="OrderList"><file name="BeezupOMOrderHeader.php" hash="af366bc39855f1315678f01b53859c1c"/><file name="BeezupOMOrderListRequest.php" hash="817c20c7c82fd5f05e0efb19ee19ec4b"/><file name="BeezupOMOrderListResponse.php" hash="b1b0ed33ba495f6e2c2f3a39ade2a5cd"/><file name="BeezupOMOrderListResult.php" hash="8befe82305a6c6fe3cacf113b3722585"/><file name="BeezupOMPaginationResult.php" hash="1e1ef534ddef8ac43d98839b4ed7f941"/></dir><dir name="SetOrderId"><file name="BeezupOMSetOrderIdRequest.php" hash="40b4a05023396115f582c2e907834e3b"/><file name="BeezupOMSetOrderIdResponse.php" hash="c4cb1f9013ae32dfdff8ca80e4725282"/><file name="BeezupOMSetOrderIdResult.php" hash="8b35abb55c52f6acdfd55bf20b370bf0"/><file name="BeezupOMSetOrderIdValues.php" hash="978b41465512c15bfe160463ca23d24f"/></dir><dir name="Stores"><file name="BeezupOMStore.php" hash="0882efcae2eff339d6cdcceee83135a7"/><file name="BeezupOMStoresRequest.php" hash="a6b1391e306f2ed21fd5e2fcdbcbbec5"/><file name="BeezupOMStoresResponse.php" hash="21535a8957506ef7da343a0526b57b02"/><file name="BeezupOMStoresResult.php" hash="d4ceed947e9e8086638497e75bbd20e8"/></dir><file name="bootstrap.php" hash="9dba513402094fc02ec291e08583b419"/></dir><dir name="sql"><dir name="beezup_setup"><file name="mysql4-install-4.0.0.php" hash="75dacb26e3f96975a873c906eb37fbb0"/><file name="mysql4-upgrade-4.5.0-4.6.0.php" hash="34d1bc3a9b7658923a389fd6653ed4c9"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BeezUp.xml" hash="93df32f86c55b57363b9abc62cf68474"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="BeezUp.csv" hash="3ae5819ffc7157b01772a15a9b16d2a2"/></dir><dir name="en_US"><file name="BeezUp.csv" hash="05b26592c14245824173936807731db4"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="beezup_salestab.xml" hash="784925d72538a1eeb0ca695417147a7a"/></dir><dir name="template"><dir name="beezup"><file name="custom.phtml" hash="ea83d17a2e8814c3a9ae9e056c7926a8"/></dir></dir></dir></dir></dir></target></contents>
50
  <compatible/>
51
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
52
  </package>