shopgate_module - Version 2.9.26

Version Notes

Shopgate Modul

Download this release

Release Info

Developer Stephan Recknagel
Extension shopgate_module
Version 2.9.26
Comparing to
See all releases


Code changes from version 2.9.25 to 2.9.26

app/code/community/Shopgate/Framework/Helper/Config.php CHANGED
@@ -83,6 +83,7 @@ class Shopgate_Framework_Helper_Config extends Mage_Core_Helper_Abstract
83
  $this->_magentoVersion1922 = ($this->getEdition() == 'Enterprise') ? '1.14.2.2' : '1.9.2.2';
84
  $this->_magentoVersion1701 = ($this->getEdition() == 'Enterprise') ? '1.12.0.2' : '1.7.0.1';
85
  $this->_magentoVersion1700 = ($this->getEdition() == 'Enterprise') ? '1.12.0.0' : '1.7.0.0';
 
86
  $this->_magentoVersion15 = ($this->getEdition() == 'Enterprise') ? '1.9.1.0' : '1.5';
87
  $this->_magentoVersion1410 = ($this->getEdition() == 'Enterprise') ? '1.9.0.0' : '1.4.1.0';
88
  }
@@ -135,6 +136,16 @@ class Shopgate_Framework_Helper_Config extends Mage_Core_Helper_Abstract
135
  return $this->getIsMagentoVersionLower($this->_magentoVersion1701);
136
  }
137
 
 
 
 
 
 
 
 
 
 
 
138
  /**
139
  * Compare version if it is lower than 1.5
140
  *
@@ -323,6 +334,8 @@ class Shopgate_Framework_Helper_Config extends Mage_Core_Helper_Abstract
323
  }
324
 
325
  /**
 
 
326
  * @param $storeCode
327
  * @return int
328
  */
@@ -340,6 +353,8 @@ class Shopgate_Framework_Helper_Config extends Mage_Core_Helper_Abstract
340
  }
341
 
342
  /**
 
 
343
  * @param null $storeId
344
  * @return mixed - oauth if it exists
345
  */
83
  $this->_magentoVersion1922 = ($this->getEdition() == 'Enterprise') ? '1.14.2.2' : '1.9.2.2';
84
  $this->_magentoVersion1701 = ($this->getEdition() == 'Enterprise') ? '1.12.0.2' : '1.7.0.1';
85
  $this->_magentoVersion1700 = ($this->getEdition() == 'Enterprise') ? '1.12.0.0' : '1.7.0.0';
86
+ $this->_magentoVersion16 = ($this->getEdition() == 'Enterprise') ? '1.11.0.0' : '1.6.0.0';
87
  $this->_magentoVersion15 = ($this->getEdition() == 'Enterprise') ? '1.9.1.0' : '1.5';
88
  $this->_magentoVersion1410 = ($this->getEdition() == 'Enterprise') ? '1.9.0.0' : '1.4.1.0';
89
  }
136
  return $this->getIsMagentoVersionLower($this->_magentoVersion1701);
137
  }
138
 
139
+ /**
140
+ * Compare version if it is lower than 1.6
141
+ *
142
+ * @return mixed
143
+ */
144
+ public function getIsMagentoVersionLower16()
145
+ {
146
+ return $this->getIsMagentoVersionLower($this->_magentoVersion16);
147
+ }
148
+
149
  /**
150
  * Compare version if it is lower than 1.5
151
  *
334
  }
335
 
336
  /**
337
+ * Retrieves store id based on store code
338
+ *
339
  * @param $storeCode
340
  * @return int
341
  */
353
  }
354
 
355
  /**
356
+ * Retrieves the oauth token of the store
357
+ *
358
  * @param null $storeId
359
  * @return mixed - oauth if it exists
360
  */
app/code/community/Shopgate/Framework/Helper/Data.php CHANGED
@@ -976,10 +976,9 @@ class Shopgate_Framework_Helper_Data extends Mage_Core_Helper_Abstract
976
  return round(
977
  (100 * $taxAmount) / ($amount - $taxAmount), $precision
978
  );
979
- } else {
980
- return $amount;
981
  }
982
 
 
983
  }
984
 
985
  /**
976
  return round(
977
  (100 * $taxAmount) / ($amount - $taxAmount), $precision
978
  );
 
 
979
  }
980
 
981
+ return 0.00;
982
  }
983
 
984
  /**
app/code/community/Shopgate/Framework/Helper/Export.php CHANGED
@@ -147,26 +147,74 @@ class Shopgate_Framework_Helper_Export extends Mage_Core_Helper_Abstract
147
  }
148
 
149
  /**
150
- * Returns whether product has custom option of type file or not.
151
  * (only if option is required)
152
  *
153
  * @param Mage_Catalog_Model_Product $product
154
  *
155
  * @return bool
156
  */
157
- public function productHasRequiredFileOption($product)
158
  {
159
  $options = $product->getOptions();
160
  foreach ($options as $option) {
161
  /** @var $option Mage_Catalog_Model_Product_Option */
162
- if ($option->getType() === Mage_Catalog_Model_Product_Option::OPTION_TYPE_FILE && $option->getIsRequire()) {
163
- return true;
164
  }
165
  }
166
 
167
  return false;
168
  }
169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  /**
171
  * @param Mage_Catalog_Model_Product $product
172
  * @param int $parentCategory
@@ -438,14 +486,16 @@ class Shopgate_Framework_Helper_Export extends Mage_Core_Helper_Abstract
438
 
439
  $counter = 0;
440
  foreach ($attributeCodes as $attributeCode) {
441
-
442
- $attributeCode = trim($attributeCode);
443
-
444
  if (!empty($attributeCode)) {
445
  /** @var Mage_Catalog_Model_Resource_Eav_Attribute $attribute */
446
- $attribute = $product->getResource()->getAttribute($attributeCode);
447
- $values = explode(',', $attribute->getFrontend()->getValue($product));
448
- $description1 = implode('<br />', $values);
 
 
 
 
 
449
  if (in_array("2", $convertDescription)) {
450
  $description1 = nl2br($description1);
451
  }
147
  }
148
 
149
  /**
150
+ * Returns whether product has custom option of unsupported type or not.
151
  * (only if option is required)
152
  *
153
  * @param Mage_Catalog_Model_Product $product
154
  *
155
  * @return bool
156
  */
157
+ public function productHasRequiredUnsupportedOptions($product)
158
  {
159
  $options = $product->getOptions();
160
  foreach ($options as $option) {
161
  /** @var $option Mage_Catalog_Model_Product_Option */
162
+ if ($option->getIsRequire() && $this->mapInputType($option->getType()) === false) {
163
+ return true;
164
  }
165
  }
166
 
167
  return false;
168
  }
169
 
170
+ /**
171
+ * @param $mageType
172
+ *
173
+ * @return string|bool
174
+ */
175
+ public function mapInputType($mageType)
176
+ {
177
+ switch ($mageType) {
178
+ case "field":
179
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_TEXT;
180
+ break;
181
+ case "area":
182
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_AREA;
183
+ break;
184
+ case "select":
185
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
186
+ break;
187
+ case "drop_down":
188
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
189
+ break;
190
+ case "radio":
191
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
192
+ break;
193
+ case "checkbox":
194
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
195
+ break;
196
+ case "multiple":
197
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
198
+ break;
199
+ case "multi":
200
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
201
+ break;
202
+ case "date":
203
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_DATE;
204
+ break;
205
+ case "date_time":
206
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_DATETIME;
207
+ break;
208
+ case "time":
209
+ $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_TIME;
210
+ break;
211
+ default:
212
+ $inputType = false;
213
+ }
214
+
215
+ return $inputType;
216
+ }
217
+
218
  /**
219
  * @param Mage_Catalog_Model_Product $product
220
  * @param int $parentCategory
486
 
487
  $counter = 0;
488
  foreach ($attributeCodes as $attributeCode) {
 
 
 
489
  if (!empty($attributeCode)) {
490
  /** @var Mage_Catalog_Model_Resource_Eav_Attribute $attribute */
491
+ $attribute = $product->getResource()->getAttribute($attributeCode);
492
+ $description1 = $product->getData($attributeCode);
493
+ if ($attribute->getFrontend()->getConfigField('input') == 'multiselect') {
494
+ $description1 = $attribute->getFrontend()->getOption($description1);
495
+ if (is_array($description1)) {
496
+ $description1 = implode('<br />', $description1);
497
+ }
498
+ }
499
  if (in_array("2", $convertDescription)) {
500
  $description1 = nl2br($description1);
501
  }
app/code/community/Shopgate/Framework/Model/Export/Product/Xml.php CHANGED
@@ -1038,7 +1038,10 @@ class Shopgate_Framework_Model_Export_Product_Xml
1038
  $result = array();
1039
  foreach ($this->item->getOptions() as $option) {
1040
  /** @var Mage_Catalog_Model_Product_Option $option */
1041
- $inputType = $this->_mapInputType($option->getType());
 
 
 
1042
 
1043
  $inputItem = new Shopgate_Model_Catalog_Input();
1044
  $inputItem->setUid($option->getId());
@@ -1167,57 +1170,6 @@ class Shopgate_Framework_Model_Export_Product_Xml
1167
  return $this->_getOptionValuePrice($value);
1168
  }
1169
 
1170
- /**
1171
- * @param $mageType
1172
- *
1173
- * @return string
1174
- */
1175
- protected function _mapInputType($mageType)
1176
- {
1177
- switch ($mageType) {
1178
- case "field":
1179
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_TEXT;
1180
- break;
1181
- case "area":
1182
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_AREA;
1183
- break;
1184
- case "file":
1185
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_FILE;
1186
- break;
1187
- case "select":
1188
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
1189
- break;
1190
- case "drop_down":
1191
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
1192
- break;
1193
- case "radio":
1194
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
1195
- break;
1196
- case "checkbox":
1197
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
1198
- break;
1199
- case "multiple":
1200
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
1201
- break;
1202
- case "multi":
1203
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_SELECT;
1204
- break;
1205
- case "date":
1206
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_DATE;
1207
- break;
1208
- case "date_time":
1209
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_DATETIME;
1210
- break;
1211
- case "time":
1212
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_TIME;
1213
- break;
1214
- default:
1215
- $inputType = Shopgate_Model_Catalog_Input::DEFAULT_INPUT_TYPE_TEXT;
1216
- }
1217
-
1218
- return $inputType;
1219
- }
1220
-
1221
  /**
1222
  *
1223
  */
@@ -1377,7 +1329,12 @@ class Shopgate_Framework_Model_Export_Product_Xml
1377
 
1378
  foreach ($bundleOptions as $bundleOption) {
1379
 
1380
- $optionValues = array();
 
 
 
 
 
1381
 
1382
  /* @var $bundleOption Mage_Bundle_Model_Option */
1383
  if (!is_array($bundleOption->getSelections())) {
@@ -1463,7 +1420,7 @@ class Shopgate_Framework_Model_Export_Product_Xml
1463
  }
1464
  $inputItem = new Shopgate_Model_Catalog_Input();
1465
  $inputItem->setUid($bundleOption->getId());
1466
- $inputItem->setType($this->_mapInputType($bundleOption->getType()));
1467
  $title = ($bundleOption->getTitle()) ? $bundleOption->getTitle() : $bundleOption->getDefaultTitle();
1468
  $inputItem->setLabel($title);
1469
  $inputItem->setValidation($this->_buildInputValidation($inputItem->getType(), null));
1038
  $result = array();
1039
  foreach ($this->item->getOptions() as $option) {
1040
  /** @var Mage_Catalog_Model_Product_Option $option */
1041
+ $inputType = $this->_getExportHelper()->mapInputType($option->getType());
1042
+ if ($inputType === false) {
1043
+ continue;
1044
+ }
1045
 
1046
  $inputItem = new Shopgate_Model_Catalog_Input();
1047
  $inputItem->setUid($option->getId());
1170
  return $this->_getOptionValuePrice($value);
1171
  }
1172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1173
  /**
1174
  *
1175
  */
1329
 
1330
  foreach ($bundleOptions as $bundleOption) {
1331
 
1332
+ $inputType = $this->_getExportHelper()->mapInputType($bundleOption->getType());
1333
+ if ($inputType === false) {
1334
+ continue;
1335
+ }
1336
+
1337
+ $optionValues = array();
1338
 
1339
  /* @var $bundleOption Mage_Bundle_Model_Option */
1340
  if (!is_array($bundleOption->getSelections())) {
1420
  }
1421
  $inputItem = new Shopgate_Model_Catalog_Input();
1422
  $inputItem->setUid($bundleOption->getId());
1423
+ $inputItem->setType($inputType);
1424
  $title = ($bundleOption->getTitle()) ? $bundleOption->getTitle() : $bundleOption->getDefaultTitle();
1425
  $inputItem->setLabel($title);
1426
  $inputItem->setValidation($this->_buildInputValidation($inputItem->getType(), null));
app/code/community/Shopgate/Framework/Model/Observer.php CHANGED
@@ -860,4 +860,25 @@ class Shopgate_Framework_Model_Observer
860
 
861
  return $this;
862
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  }
860
 
861
  return $this;
862
  }
863
+
864
+ /**
865
+ * Deletes this website's default store set
866
+ *
867
+ * @param Varien_Event_Observer $event
868
+ *
869
+ * @return $this
870
+ */
871
+ public function removeDefaultStore(Varien_Event_Observer $event)
872
+ {
873
+ $websiteId = $event->getStore()->getWebsiteId();
874
+ if ($websiteId) {
875
+ Mage::getModel('core/config')->deleteConfig(
876
+ Shopgate_Framework_Model_Config::XML_PATH_SHOPGATE_SHOP_DEFAULT_STORE,
877
+ 'websites',
878
+ $websiteId
879
+ );
880
+ }
881
+
882
+ return $this;
883
+ }
884
  }
app/code/community/Shopgate/Framework/Model/Payment/Simple/Mws.php CHANGED
@@ -22,214 +22,21 @@
22
  */
23
 
24
  /**
25
- * Payment handler for Creativestyle_AmazonPayments
26
- *
27
- * Class Shopgate_Framework_Model_Payment_Simple_Mws
28
- *
29
- * @author Konstantin Kiritsenko <konstantin@kiritsenko.com>
30
  */
31
- class Shopgate_Framework_Model_Payment_Simple_Mws
32
- extends Shopgate_Framework_Model_Payment_Abstract
33
- implements Shopgate_Framework_Model_Payment_Interface
34
  {
35
- const PAYMENT_IDENTIFIER = ShopgateOrder::AMAZON_PAYMENT;
36
- const MODULE_CONFIG = 'Creativestyle_AmazonPayments';
37
- const PAYMENT_MODEL = 'amazonpayments/payment_advanced';
38
- const XML_CONFIG_ENABLED = 'amazonpayments/general/active';
39
-
40
  /**
41
- * create new order for amazon payment
42
  *
43
- * @param $quote Mage_Sales_Model_Quote
44
- * @return Mage_Sales_Model_Order
45
- * @throws Exception
46
  */
47
- public function createNewOrder($quote)
48
  {
49
- $convert = Mage::getModel('sales/convert_quote');
50
- $transaction = Mage::getModel('core/resource_transaction');
51
-
52
- if ($quote->getCustomerId()) {
53
- $transaction->addObject($quote->getCustomer());
54
- }
55
-
56
- $transaction->addObject($quote);
57
- if ($quote->isVirtual()) {
58
- $order = $convert->addressToOrder($quote->getBillingAddress());
59
- } else {
60
- $order = $convert->addressToOrder($quote->getShippingAddress());
61
  }
62
- $order->setBillingAddress($convert->addressToOrderAddress($quote->getBillingAddress()));
63
- if ($quote->getBillingAddress()->getCustomerAddress()) {
64
- $order->getBillingAddress()->setCustomerAddress($quote->getBillingAddress()->getCustomerAddress());
65
- }
66
- if (!$quote->isVirtual()) {
67
- $order->setShippingAddress($convert->addressToOrderAddress($quote->getShippingAddress()));
68
- if ($quote->getShippingAddress()->getCustomerAddress()) {
69
- $order->getShippingAddress()->setCustomerAddress($quote->getShippingAddress()->getCustomerAddress());
70
- }
71
- }
72
- $order->setPayment($convert->paymentToOrderPayment($quote->getPayment()));
73
- $order->getPayment()->setTransactionId($quote->getPayment()->getTransactionId());
74
- $order->getPayment()->setAdditionalInformation(
75
- 'amazon_order_reference_id',
76
- $quote->getPayment()
77
- ->getTransactionId()
78
- );
79
-
80
- foreach ($quote->getAllItems() as $item) {
81
- /** @var Mage_Sales_Model_Order_Item $item */
82
- $orderItem = $convert->itemToOrderItem($item);
83
- if ($item->getParentItem()) {
84
- $orderItem->setParentItem($order->getItemByQuoteItemId($item->getParentItem()->getId()));
85
- }
86
- $order->addItem($orderItem);
87
- }
88
- $order->setQuote($quote);
89
- $order->setExtOrderId($quote->getPayment()->getTransactionId());
90
- $order->setCanSendNewEmailFlag(false);
91
-
92
- $transaction->addObject($order);
93
- $transaction->addCommitCallback(array($order, 'save'));
94
-
95
- Mage::dispatchEvent('checkout_type_onepage_save_order', array('order' => $order, 'quote' => $quote));
96
- Mage::dispatchEvent('sales_model_service_quote_submit_before', array('order' => $order, 'quote' => $quote));
97
-
98
- try {
99
- $transaction->save();
100
- Mage::dispatchEvent(
101
- 'sales_model_service_quote_submit_success',
102
- array(
103
- 'order' => $order,
104
- 'quote' => $quote
105
- )
106
- );
107
- } catch (Exception $e) {
108
- //reset order ID's on exception, because order not saved
109
- $order->setId(null);
110
- /** @var $item Mage_Sales_Model_Order_Item */
111
- foreach ($order->getItemsCollection() as $item) {
112
- $item->setOrderId(null);
113
- $item->setItemId(null);
114
- }
115
-
116
- Mage::dispatchEvent(
117
- 'sales_model_service_quote_submit_failure',
118
- array(
119
- 'order' => $order,
120
- 'quote' => $quote
121
- )
122
- );
123
- throw $e;
124
- }
125
- Mage::dispatchEvent('checkout_submit_all_after', array('order' => $order, 'quote' => $quote));
126
- Mage::dispatchEvent('sales_model_service_quote_submit_after', array('order' => $order, 'quote' => $quote));
127
-
128
- return $order;
129
- }
130
-
131
- /**
132
- * @param $order Mage_Sales_Model_Order
133
- * todo: refund & support for mage v1.4.1.1
134
- * @return Mage_Sales_Model_Order
135
- */
136
- public function manipulateOrderWithPaymentData($order)
137
- {
138
- $paymentInfos = $this->getShopgateOrder()->getPaymentInfos();
139
- try {
140
- $orderTrans = Mage::getModel('sales/order_payment_transaction');
141
- $orderTrans->setOrderPaymentObject($order->getPayment());
142
- $orderTrans->setIsClosed(false);
143
- $orderTrans->setTxnId($paymentInfos['mws_order_id']);
144
 
145
- if (Mage::helper('shopgate/config')->getIsMagentoVersionLower15()) {
146
- $orderTrans->setTxnType(Mage_Sales_Model_Order_Payment_Transaction::TYPE_PAYMENT);
147
- } else {
148
- $orderTrans->setTxnType(Mage_Sales_Model_Order_Payment_Transaction::TYPE_ORDER);
149
- }
150
-
151
- $orderTrans->save();
152
- $order->getPayment()->importTransactionInfo($orderTrans);
153
- $order->getPayment()->setLastTransId($paymentInfos['mws_order_id']);
154
-
155
- if (!empty($paymentInfos['mws_auth_id'])) {
156
- $authTrans = Mage::getModel('sales/order_payment_transaction');
157
- $authTrans->setOrderPaymentObject($order->getPayment());
158
- $authTrans->setParentTxnId($orderTrans->getTxnId(), $paymentInfos['mws_auth_id']);
159
- $authTrans->setIsClosed(false);
160
- $authTrans->setTxnType(Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH);
161
- $authTrans->save();
162
- $order->getPayment()->importTransactionInfo($authTrans);
163
- $order->getPayment()->setAmountAuthorized($order->getTotalDue());
164
- $order->getPayment()->setLastTransId($paymentInfos['mws_auth_id']);
165
-
166
- if (!empty($paymentInfos['mws_capture_id'])) {
167
- $transaction = Mage::getModel('sales/order_payment_transaction');
168
- $transaction->setOrderPaymentObject($order->getPayment());
169
- $transaction->setParentTxnId($authTrans->getTxnId(), $paymentInfos['mws_capture_id']);
170
- $transaction->setIsClosed(false);
171
- $transaction->setTxnType(Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE);
172
- $transaction->save();
173
- $order->getPayment()->importTransactionInfo($transaction);
174
- $order->getPayment()->capture(null);
175
- /** @var Mage_Sales_Model_Resource_Order_Invoice_Collection $invoiceCollection */
176
- $invoiceCollection = $order->getInvoiceCollection();
177
- $invoiceCollection->getFirstItem()->setTransactionId($paymentInfos['mws_capture_id']);
178
- $order->getPayment()->setAmountAuthorized($order->getTotalDue());
179
- $order->getPayment()->setBaseAmountAuthorized($order->getBaseTotalDue());
180
- $order->getPayment()->setLastTransId($paymentInfos['mws_capture_id']);
181
- }
182
- }
183
- } catch (Exception $x) {
184
- Mage::logException($x);
185
- }
186
-
187
- return $order;
188
- }
189
-
190
- /**
191
- * @param $quote Mage_Sales_Model_Quote
192
- * @param $info array
193
- * @return Mage_Sales_Model_Quote
194
- */
195
- public function prepareQuote($quote, $info)
196
- {
197
- $payment = $this->getPaymentModel();
198
- if ($quote->isVirtual()) {
199
- $quote->getBillingAddress()->setPaymentMethod($payment->getCode() ? $payment->getCode() : null);
200
- } else {
201
- $quote->getShippingAddress()->setPaymentMethod($payment->getCode() ? $payment->getCode() : null);
202
- }
203
-
204
- $data = array(
205
- 'method' => $payment->getCode(),
206
- 'checks' => Creativestyle_AmazonPayments_Model_Payment_Abstract::CHECK_USE_FOR_COUNTRY
207
- | Creativestyle_AmazonPayments_Model_Payment_Abstract::CHECK_USE_FOR_CURRENCY
208
- | Creativestyle_AmazonPayments_Model_Payment_Abstract::CHECK_ORDER_TOTAL_MIN_MAX
209
- );
210
-
211
- $quote->getPayment()->importData($data);
212
- $quote->getPayment()->setTransactionId($info['mws_order_id']);
213
- return $quote;
214
- }
215
-
216
- /**
217
- * Set order state if non is set,
218
- * else ignore as Amazon plugin handles all that
219
- *
220
- * @param $magentoOrder
221
- * @return Mage_Sales_Model_Order
222
- */
223
- public function setOrderStatus($magentoOrder)
224
- {
225
- //backup for potential plugin lower version malfunctions
226
- if (!$magentoOrder->getState()) {
227
- $magentoOrder->setState(
228
- Mage_Sales_Model_Order::STATE_PROCESSING,
229
- Mage_Sales_Model_Order::STATE_PROCESSING
230
- );
231
- }
232
- $magentoOrder->setShopgateStatusSet(true);
233
- return $magentoOrder;
234
  }
235
  }
22
  */
23
 
24
  /**
25
+ * Payment redirect for Creativestyle_AmazonPayments
 
 
 
 
26
  */
27
+ class Shopgate_Framework_Model_Payment_Simple_Mws extends Shopgate_Framework_Model_Payment_Simple
 
 
28
  {
 
 
 
 
 
29
  /**
30
+ * Redirect for Amazon based on Magento version
31
  *
32
+ * @return false|Shopgate_Framework_Model_Payment_Abstract
 
 
33
  */
34
+ public function getModelByPaymentMethod()
35
  {
36
+ if ($this->_getConfigHelper()->getIsMagentoVersionLower16()) {
37
+ $this->setPaymentMethod('MWS15');
 
 
 
 
 
 
 
 
 
 
38
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
+ return parent::getModelByPaymentMethod();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  }
42
  }
app/code/community/Shopgate/Framework/Model/Payment/Simple/Mws/Abstract.php ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Shopgate GmbH
4
+ *
5
+ * URHEBERRECHTSHINWEIS
6
+ *
7
+ * Dieses Plugin ist urheberrechtlich geschützt. Es darf ausschließlich von Kunden der Shopgate GmbH
8
+ * zum Zwecke der eigenen Kommunikation zwischen dem IT-System des Kunden mit dem IT-System der
9
+ * Shopgate GmbH über www.shopgate.com verwendet werden. Eine darüber hinausgehende Vervielfältigung, Verbreitung,
10
+ * öffentliche Zugänglichmachung, Bearbeitung oder Weitergabe an Dritte ist nur mit unserer vorherigen
11
+ * schriftlichen Zustimmung zulässig. Die Regelungen der §§ 69 d Abs. 2, 3 und 69 e UrhG bleiben hiervon unberührt.
12
+ *
13
+ * COPYRIGHT NOTICE
14
+ *
15
+ * This plugin is the subject of copyright protection. It is only for the use of Shopgate GmbH customers,
16
+ * for the purpose of facilitating communication between the IT system of the customer and the IT system
17
+ * of Shopgate GmbH via www.shopgate.com. Any reproduction, dissemination, public propagation, processing or
18
+ * transfer to third parties is only permitted where we previously consented thereto in writing. The provisions
19
+ * of paragraph 69 d, sub-paragraphs 2, 3 and paragraph 69, sub-paragraph e of the German Copyright Act shall remain unaffected.
20
+ *
21
+ * @author Shopgate GmbH <interfaces@shopgate.com>
22
+ */
23
+
24
+ /**
25
+ * Payment handler for Creativestyle_AmazonPayments
26
+ */
27
+ class Shopgate_Framework_Model_Payment_Simple_Mws_Abstract
28
+ extends Shopgate_Framework_Model_Payment_Abstract
29
+ implements Shopgate_Framework_Model_Payment_Interface
30
+ {
31
+ const PAYMENT_IDENTIFIER = ShopgateOrder::AMAZON_PAYMENT;
32
+ const MODULE_CONFIG = 'Creativestyle_AmazonPayments';
33
+ const PAYMENT_MODEL = 'amazonpayments/payment_advanced';
34
+ const XML_CONFIG_ENABLED = 'amazonpayments/general/active';
35
+
36
+ /**
37
+ * create new order for amazon payment
38
+ *
39
+ * @param $quote Mage_Sales_Model_Quote
40
+ *
41
+ * @return Mage_Sales_Model_Order
42
+ * @throws Exception
43
+ */
44
+ public function createNewOrder($quote)
45
+ {
46
+ $convert = Mage::getModel('sales/convert_quote');
47
+ $transaction = Mage::getModel('core/resource_transaction');
48
+
49
+ if ($quote->getCustomerId()) {
50
+ $transaction->addObject($quote->getCustomer());
51
+ }
52
+
53
+ $transaction->addObject($quote);
54
+ if ($quote->isVirtual()) {
55
+ $order = $convert->addressToOrder($quote->getBillingAddress());
56
+ } else {
57
+ $order = $convert->addressToOrder($quote->getShippingAddress());
58
+ }
59
+ $order->setBillingAddress($convert->addressToOrderAddress($quote->getBillingAddress()));
60
+ if ($quote->getBillingAddress()->getCustomerAddress()) {
61
+ $order->getBillingAddress()->setCustomerAddress($quote->getBillingAddress()->getCustomerAddress());
62
+ }
63
+ if (!$quote->isVirtual()) {
64
+ $order->setShippingAddress($convert->addressToOrderAddress($quote->getShippingAddress()));
65
+ if ($quote->getShippingAddress()->getCustomerAddress()) {
66
+ $order->getShippingAddress()->setCustomerAddress($quote->getShippingAddress()->getCustomerAddress());
67
+ }
68
+ }
69
+ $order->setPayment($convert->paymentToOrderPayment($quote->getPayment()));
70
+ $order->getPayment()->setTransactionId($quote->getPayment()->getTransactionId());
71
+ $order->getPayment()->setAdditionalInformation(
72
+ 'amazon_order_reference_id',
73
+ $quote->getPayment()
74
+ ->getTransactionId()
75
+ );
76
+
77
+ foreach ($quote->getAllItems() as $item) {
78
+ /** @var Mage_Sales_Model_Order_Item $item */
79
+ $orderItem = $convert->itemToOrderItem($item);
80
+ if ($item->getParentItem()) {
81
+ $orderItem->setParentItem($order->getItemByQuoteItemId($item->getParentItem()->getId()));
82
+ }
83
+ $order->addItem($orderItem);
84
+ }
85
+ $order->setQuote($quote);
86
+ $order->setExtOrderId($quote->getPayment()->getTransactionId());
87
+ $order->setCanSendNewEmailFlag(false);
88
+
89
+ $transaction->addObject($order);
90
+ $transaction->addCommitCallback(array($order, 'save'));
91
+
92
+ Mage::dispatchEvent('checkout_type_onepage_save_order', array('order' => $order, 'quote' => $quote));
93
+ Mage::dispatchEvent('sales_model_service_quote_submit_before', array('order' => $order, 'quote' => $quote));
94
+
95
+ try {
96
+ $transaction->save();
97
+ Mage::dispatchEvent(
98
+ 'sales_model_service_quote_submit_success',
99
+ array(
100
+ 'order' => $order,
101
+ 'quote' => $quote
102
+ )
103
+ );
104
+ } catch (Exception $e) {
105
+ //reset order ID's on exception, because order not saved
106
+ $order->setId(null);
107
+ /** @var $item Mage_Sales_Model_Order_Item */
108
+ foreach ($order->getItemsCollection() as $item) {
109
+ $item->setOrderId(null);
110
+ $item->setItemId(null);
111
+ }
112
+
113
+ Mage::dispatchEvent(
114
+ 'sales_model_service_quote_submit_failure',
115
+ array(
116
+ 'order' => $order,
117
+ 'quote' => $quote
118
+ )
119
+ );
120
+ throw $e;
121
+ }
122
+ Mage::dispatchEvent('checkout_submit_all_after', array('order' => $order, 'quote' => $quote));
123
+ Mage::dispatchEvent('sales_model_service_quote_submit_after', array('order' => $order, 'quote' => $quote));
124
+
125
+ return $this->setOrder($order);
126
+ }
127
+
128
+ /**
129
+ * @param $order Mage_Sales_Model_Order
130
+ *
131
+ * @return Mage_Sales_Model_Order
132
+ */
133
+ public function manipulateOrderWithPaymentData($order)
134
+ {
135
+ $paymentInfos = $this->getShopgateOrder()->getPaymentInfos();
136
+ try {
137
+ $orderTrans = Mage::getModel('sales/order_payment_transaction');
138
+ $orderTrans->setOrderPaymentObject($order->getPayment());
139
+ $orderTrans->setIsClosed(false);
140
+ $orderTrans->setTxnId($paymentInfos['mws_order_id']);
141
+ $orderTrans->setTxnType($this->_getTransactionType());
142
+ $orderTrans->save();
143
+ $this->_importTransactionInfo($orderTrans);
144
+ $order->getPayment()->setLastTransId($paymentInfos['mws_order_id']);
145
+
146
+ if (!empty($paymentInfos['mws_auth_id'])) {
147
+ $authTrans = Mage::getModel('sales/order_payment_transaction');
148
+ $authTrans->setOrderPaymentObject($order->getPayment());
149
+ $authTrans->setParentTxnId($orderTrans->getTxnId(), $paymentInfos['mws_auth_id']);
150
+ $authTrans->setIsClosed(false);
151
+ $authTrans->setTxnType(Mage_Sales_Model_Order_Payment_Transaction::TYPE_AUTH);
152
+ $authTrans->save();
153
+ $this->_importTransactionInfo($authTrans);
154
+ $order->getPayment()->setAmountAuthorized($order->getTotalDue());
155
+ $order->getPayment()->setLastTransId($paymentInfos['mws_auth_id']);
156
+
157
+ if (!empty($paymentInfos['mws_capture_id'])) {
158
+ $transaction = Mage::getModel('sales/order_payment_transaction');
159
+ $transaction->setOrderPaymentObject($order->getPayment());
160
+ $transaction->setParentTxnId($authTrans->getTxnId(), $paymentInfos['mws_capture_id']);
161
+ $transaction->setIsClosed(false);
162
+ $transaction->setTxnType(Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE);
163
+ $transaction->save();
164
+ $this->_importTransactionInfo($transaction);
165
+ $order->getPayment()->capture(null);
166
+ /** @var Mage_Sales_Model_Resource_Order_Invoice_Collection $invoiceCollection */
167
+ $invoiceCollection = $order->getInvoiceCollection();
168
+ $invoiceCollection->getFirstItem()->setTransactionId($paymentInfos['mws_capture_id']);
169
+ $order->getPayment()->setAmountAuthorized($order->getTotalDue());
170
+ $order->getPayment()->setBaseAmountAuthorized($order->getBaseTotalDue());
171
+ $order->getPayment()->setLastTransId($paymentInfos['mws_capture_id']);
172
+ }
173
+ }
174
+ } catch (Exception $x) {
175
+ Mage::logException($x);
176
+ }
177
+
178
+ return $order;
179
+ }
180
+
181
+ /**
182
+ * @param $quote Mage_Sales_Model_Quote
183
+ * @param $info array
184
+ *
185
+ * @return Mage_Sales_Model_Quote
186
+ */
187
+ public function prepareQuote($quote, $info)
188
+ {
189
+ $payment = $this->getPaymentModel();
190
+ if ($quote->isVirtual()) {
191
+ $quote->getBillingAddress()->setPaymentMethod($payment->getCode() ? $payment->getCode() : null);
192
+ } else {
193
+ $quote->getShippingAddress()->setPaymentMethod($payment->getCode() ? $payment->getCode() : null);
194
+ }
195
+
196
+ $data = array(
197
+ 'method' => $payment->getCode(),
198
+ 'checks' => Creativestyle_AmazonPayments_Model_Payment_Abstract::CHECK_USE_FOR_COUNTRY
199
+ | Creativestyle_AmazonPayments_Model_Payment_Abstract::CHECK_USE_FOR_CURRENCY
200
+ | Creativestyle_AmazonPayments_Model_Payment_Abstract::CHECK_ORDER_TOTAL_MIN_MAX
201
+ );
202
+
203
+ $quote->getPayment()->importData($data);
204
+ $quote->getPayment()->setTransactionId($info['mws_order_id']);
205
+
206
+ return $quote;
207
+ }
208
+
209
+ /**
210
+ * Set order state if non is set,
211
+ * else ignore as Amazon plugin handles all that
212
+ *
213
+ * @param $magentoOrder
214
+ *
215
+ * @return Mage_Sales_Model_Order
216
+ */
217
+ public function setOrderStatus($magentoOrder)
218
+ {
219
+ //backup for potential plugin lower version malfunctions
220
+ if (!$magentoOrder->getState()) {
221
+ $magentoOrder->setState(
222
+ Mage_Sales_Model_Order::STATE_PROCESSING,
223
+ Mage_Sales_Model_Order::STATE_PROCESSING
224
+ );
225
+ }
226
+ $magentoOrder->setShopgateStatusSet(true);
227
+
228
+ return $magentoOrder;
229
+ }
230
+
231
+ /**
232
+ * Gets a payment type that is supported in
233
+ * higher versions of magento only
234
+ * @see fallback in Mws1400.php
235
+ *
236
+ * @return mixed
237
+ */
238
+ protected function _getTransactionType()
239
+ {
240
+ return Mage_Sales_Model_Order_Payment_Transaction::TYPE_ORDER;
241
+ }
242
+
243
+ /**
244
+ * Imports transaction into the order
245
+ *
246
+ * @param Mage_Sales_Model_Order_Payment_Transaction $transaction
247
+ *
248
+ * @return $this
249
+ */
250
+ protected function _importTransactionInfo($transaction)
251
+ {
252
+ return $this->getOrder()->getPayment()->importTransactionInfo($transaction);
253
+ }
254
+ }
app/code/community/Shopgate/Framework/Model/Payment/Simple/Mws/Mws.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Shopgate GmbH
5
+ *
6
+ * URHEBERRECHTSHINWEIS
7
+ *
8
+ * Dieses Plugin ist urheberrechtlich geschützt. Es darf ausschließlich von Kunden der Shopgate GmbH
9
+ * zum Zwecke der eigenen Kommunikation zwischen dem IT-System des Kunden mit dem IT-System der
10
+ * Shopgate GmbH über www.shopgate.com verwendet werden. Eine darüber hinausgehende Vervielfältigung, Verbreitung,
11
+ * öffentliche Zugänglichmachung, Bearbeitung oder Weitergabe an Dritte ist nur mit unserer vorherigen
12
+ * schriftlichen Zustimmung zulässig. Die Regelungen der §§ 69 d Abs. 2, 3 und 69 e UrhG bleiben hiervon unberührt.
13
+ *
14
+ * COPYRIGHT NOTICE
15
+ *
16
+ * This plugin is the subject of copyright protection. It is only for the use of Shopgate GmbH customers,
17
+ * for the purpose of facilitating communication between the IT system of the customer and the IT system
18
+ * of Shopgate GmbH via www.shopgate.com. Any reproduction, dissemination, public propagation, processing or
19
+ * transfer to third parties is only permitted where we previously consented thereto in writing. The provisions
20
+ * of paragraph 69 d, sub-paragraphs 2, 3 and paragraph 69, sub-paragraph e of the German Copyright Act shall remain unaffected.
21
+ *
22
+ * @author Shopgate GmbH <interfaces@shopgate.com>
23
+ */
24
+
25
+ /**
26
+ * Main MWS handler class
27
+ */
28
+ class Shopgate_Framework_Model_Payment_Simple_Mws_Mws
29
+ extends Shopgate_Framework_Model_Payment_Simple_Mws_Abstract
30
+ implements Shopgate_Framework_Model_Payment_Interface {}
app/code/community/Shopgate/Framework/Model/Payment/Simple/Mws/Mws15.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Shopgate GmbH
4
+ *
5
+ * URHEBERRECHTSHINWEIS
6
+ *
7
+ * Dieses Plugin ist urheberrechtlich geschützt. Es darf ausschließlich von Kunden der Shopgate GmbH
8
+ * zum Zwecke der eigenen Kommunikation zwischen dem IT-System des Kunden mit dem IT-System der
9
+ * Shopgate GmbH über www.shopgate.com verwendet werden. Eine darüber hinausgehende Vervielfältigung, Verbreitung,
10
+ * öffentliche Zugänglichmachung, Bearbeitung oder Weitergabe an Dritte ist nur mit unserer vorherigen
11
+ * schriftlichen Zustimmung zulässig. Die Regelungen der §§ 69 d Abs. 2, 3 und 69 e UrhG bleiben hiervon unberührt.
12
+ *
13
+ * COPYRIGHT NOTICE
14
+ *
15
+ * This plugin is the subject of copyright protection. It is only for the use of Shopgate GmbH customers,
16
+ * for the purpose of facilitating communication between the IT system of the customer and the IT system
17
+ * of Shopgate GmbH via www.shopgate.com. Any reproduction, dissemination, public propagation, processing or
18
+ * transfer to third parties is only permitted where we previously consented thereto in writing. The provisions
19
+ * of paragraph 69 d, sub-paragraphs 2, 3 and paragraph 69, sub-paragraph e of the German Copyright Act shall remain unaffected.
20
+ *
21
+ * @author Shopgate GmbH <interfaces@shopgate.com>
22
+ */
23
+
24
+ /**
25
+ * This class supports magento < 1.6.0 import for Amazon Payments
26
+ */
27
+ class Shopgate_Framework_Model_Payment_Simple_Mws_Mws15
28
+ extends Shopgate_Framework_Model_Payment_Simple_Mws_Abstract
29
+ implements Shopgate_Framework_Model_Payment_Interface
30
+ {
31
+ /**
32
+ * Supported payment type
33
+ *
34
+ * @return string
35
+ */
36
+ protected function _getTransactionType()
37
+ {
38
+ return Mage_Sales_Model_Order_Payment_Transaction::TYPE_PAYMENT;
39
+ }
40
+
41
+ /**
42
+ * Rewrite to be empty, mage 1400 does not have this function
43
+ * Mage 1501 throws an exception as AmazonPayment plugin does not
44
+ * support it
45
+ *
46
+ * @param Mage_Sales_Model_Order_Payment_Transaction $transaction
47
+ *
48
+ * @return $this
49
+ */
50
+ protected function _importTransactionInfo($transaction)
51
+ {
52
+ return $this;
53
+ }
54
+ }
app/code/community/Shopgate/Framework/Model/Payment/Simple/Shopgate.php CHANGED
@@ -23,7 +23,7 @@
23
 
24
  /**
25
  * Handles SHOPGATE payment method orders
26
- *
27
  * @author Konstantin Kiritsenko <konstantin@kiritsenko.com>
28
  */
29
  class Shopgate_Framework_Model_Payment_Simple_Shopgate
@@ -35,6 +35,29 @@ class Shopgate_Framework_Model_Payment_Simple_Shopgate
35
  const PAYMENT_MODEL = 'shopgate/payment_shopgate';
36
  const XML_CONFIG_STATUS_PAID = 'payment/shopgate/order_status';
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  /**
39
  * No need to check activation, just import!
40
  *
23
 
24
  /**
25
  * Handles SHOPGATE payment method orders
26
+ *
27
  * @author Konstantin Kiritsenko <konstantin@kiritsenko.com>
28
  */
29
  class Shopgate_Framework_Model_Payment_Simple_Shopgate
35
  const PAYMENT_MODEL = 'shopgate/payment_shopgate';
36
  const XML_CONFIG_STATUS_PAID = 'payment/shopgate/order_status';
37
 
38
+ /**
39
+ * If shipping is blocked, use Shopgate Payment config status.
40
+ * If not blocked, set to Processing.
41
+ *
42
+ * @param Mage_Sales_Model_Order $magentoOrder
43
+ *
44
+ * @return Mage_Sales_Model_Order
45
+ */
46
+ public function setOrderStatus($magentoOrder)
47
+ {
48
+ if ($this->getShopgateOrder()->getIsShippingBlocked()) {
49
+ return parent::setOrderStatus($magentoOrder);
50
+ }
51
+
52
+ $message = $this->_getHelper()->__('[SHOPGATE] Using default order status');
53
+ $state = Mage_Sales_Model_Order::STATE_PROCESSING;
54
+
55
+ $magentoOrder->setState($state, true, $message);
56
+ $magentoOrder->setShopgateStatusSet(true);
57
+
58
+ return $magentoOrder;
59
+ }
60
+
61
  /**
62
  * No need to check activation, just import!
63
  *
app/code/community/Shopgate/Framework/Model/Shopgate/Plugin.php CHANGED
@@ -1380,6 +1380,8 @@ class Shopgate_Framework_Model_Shopgate_Plugin extends ShopgatePlugin
1380
  }
1381
 
1382
  /**
 
 
1383
  * @param Mage_Sales_Model_Order $magentoOrder
1384
  * @param ShopgateOrder $shopgateOrder
1385
  *
@@ -1391,56 +1393,23 @@ class Shopgate_Framework_Model_Shopgate_Plugin extends ShopgatePlugin
1391
  if ($magentoOrder->getShopgateStatusSet()) {
1392
  //do nothing, but we will need to pull this whole thing inside factory
1393
  } elseif ($shopgateOrder->getPaymentMethod() == ShopgateOrder::PREPAY && !$shopgateOrder->getIsPaid()) {
1394
- $classExists = mageFindClassFile("Mage_Payment_Model_Method_Banktransfer");
1395
-
1396
- if ($classExists !== false && Mage::getStoreConfigFlag("payment/banktransfer/active")) {
1397
- return $magentoOrder;
1398
- } else {
1399
- if ((Mage::getConfig()->getModuleConfig("Phoenix_BankPayment")->is('active', 'true')
1400
- || Mage::getConfig()->getModuleConfig('Mage_BankPayment')->is('active', 'true'))
1401
- && Mage::getStoreConfig('payment/bankpayment/order_status')
1402
- ) {
1403
- $status = Mage::getStoreConfig('payment/bankpayment/order_status');
1404
- $state = $this->_getHelper()->getStateForStatus($status);
1405
- $magentoOrder->setState($state, $status);
1406
  } else {
1407
- if (!Mage::getStoreConfig(
1408
- Shopgate_Framework_Model_Config::XML_PATH_SHOPGATE_ORDER_MARK_UNBLOCKED_AS_PAID
1409
- )
1410
- ) {
1411
- if ($magentoOrder->getState() != Mage_Sales_Model_Order::STATE_HOLDED) {
1412
- $magentoOrder->setHoldBeforeState($magentoOrder->getState());
1413
- $magentoOrder->setHoldBeforeStatus($magentoOrder->getStatus());
1414
- }
1415
- $magentoOrder->setState(
1416
- Mage_Sales_Model_Order::STATE_HOLDED,
1417
- Mage_Sales_Model_Order::STATE_HOLDED
1418
- );
1419
- } else {
1420
- $oldStatus = $shopgateOrder->getIsPaid();
1421
- $shopgateOrder->setIsPaid(true);
1422
-
1423
- $magentoOrder->addStatusHistoryComment(
1424
- $this->_getHelper()->__(
1425
- "[SHOPGATE] Set order as paid because shipping is not blocked and config is set to 'mark unblocked orders as paid'!"
1426
- ),
1427
- false
1428
- )->setIsCustomerNotified(false);
1429
-
1430
- $magentoOrder = $this->_setOrderPayment($magentoOrder, $shopgateOrder);
1431
- $shopgateOrder->setIsPaid($oldStatus);
1432
- }
1433
  }
1434
  }
1435
  } else {
1436
  $stateObject = new Varien_Object();
1437
  $methodInstance = $magentoOrder->getPayment()->getMethodInstance();
1438
- if ($shopgateOrder->getPaymentMethod() != ShopgateOrder::AMAZON_PAYMENT
1439
- && strpos($shopgateOrder->getPaymentMethod(), 'PAYONE') === false
1440
- ) {
1441
- // avoid calling order on amazon payment again
1442
- $methodInstance->initialize($methodInstance->getConfigData('payment_action'), $stateObject);
1443
- }
1444
 
1445
  if (!$stateObject->getState()) {
1446
  $status = $methodInstance->getConfigData("order_status");
@@ -1457,27 +1426,44 @@ class Shopgate_Framework_Model_Shopgate_Plugin extends ShopgatePlugin
1457
  }
1458
 
1459
  $magentoOrder->setState($stateObject->getState(), $stateObject->getStatus());
 
 
1460
 
1461
- if (Mage::getStoreConfig(Shopgate_Framework_Model_Config::XML_PATH_SHOPGATE_ORDER_MARK_UNBLOCKED_AS_PAID)
1462
- && !$shopgateOrder->getIsPaid() && $shopgateOrder->getPaymentMethod() != ShopgateOrder::BILLSAFE
1463
- ) {
1464
- $oldStatus = $shopgateOrder->getIsPaid();
1465
- $shopgateOrder->setIsPaid(true);
1466
 
1467
- $magentoOrder->addStatusHistoryComment(
1468
- $this->_getHelper()->__(
1469
- "[SHOPGATE] Set order as paid because shipping is not blocked and config is set to 'mark unblocked orders as paid'!"
1470
- ),
1471
- false
1472
- )->setIsCustomerNotified(false);
1473
 
1474
- $magentoOrder = $this->_setOrderPayment($magentoOrder, $shopgateOrder);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1475
 
1476
- $shopgateOrder->setIsPaid($oldStatus);
1477
- }
 
 
 
 
 
 
 
 
1478
  }
1479
 
1480
- $magentoOrder->save();
1481
  return $magentoOrder;
1482
  }
1483
 
@@ -1976,9 +1962,9 @@ class Shopgate_Framework_Model_Shopgate_Plugin extends ShopgatePlugin
1976
  $this->log("#{$i}", ShopgateLogger::LOGTYPE_DEBUG);
1977
  $i++;
1978
  /** @var Mage_Catalog_Model_Product $product */
1979
- if ($this->_getExportHelper()->productHasRequiredFileOption($product)) {
1980
  $this->log(
1981
- "Exclude Product with ID: {$product->getId()} from CSV: custom option type file",
1982
  ShopgateLogger::LOGTYPE_DEBUG
1983
  );
1984
  continue;
@@ -2162,9 +2148,9 @@ class Shopgate_Framework_Model_Shopgate_Plugin extends ShopgatePlugin
2162
  $i++;
2163
 
2164
  /** @var Mage_Catalog_Model_Product $product */
2165
- if ($this->_getExportHelper()->productHasRequiredFileOption($product)) {
2166
  $this->log(
2167
- "Exclude Product with ID: {$product->getId()} from CSV: custom option type file",
2168
  ShopgateLogger::LOGTYPE_DEBUG
2169
  );
2170
  continue;
1380
  }
1381
 
1382
  /**
1383
+ * Sets the state & status of Magento order
1384
+ *
1385
  * @param Mage_Sales_Model_Order $magentoOrder
1386
  * @param ShopgateOrder $shopgateOrder
1387
  *
1393
  if ($magentoOrder->getShopgateStatusSet()) {
1394
  //do nothing, but we will need to pull this whole thing inside factory
1395
  } elseif ($shopgateOrder->getPaymentMethod() == ShopgateOrder::PREPAY && !$shopgateOrder->getIsPaid()) {
1396
+ /**
1397
+ * Should stop support for this as this happens when Order is imported as Prepay and defaults to Mobile
1398
+ */
1399
+ if (!Mage::getStoreConfig(
1400
+ Shopgate_Framework_Model_Config::XML_PATH_SHOPGATE_ORDER_MARK_UNBLOCKED_AS_PAID
1401
+ )
1402
+ ) {
1403
+ if ($magentoOrder->canHold()) {
1404
+ $magentoOrder->hold();
 
 
 
1405
  } else {
1406
+ $this->_forceIsPaidStatus($magentoOrder, $shopgateOrder);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1407
  }
1408
  }
1409
  } else {
1410
  $stateObject = new Varien_Object();
1411
  $methodInstance = $magentoOrder->getPayment()->getMethodInstance();
1412
+ $methodInstance->initialize($methodInstance->getConfigData('payment_action'), $stateObject);
 
 
 
 
 
1413
 
1414
  if (!$stateObject->getState()) {
1415
  $status = $methodInstance->getConfigData("order_status");
1426
  }
1427
 
1428
  $magentoOrder->setState($stateObject->getState(), $stateObject->getStatus());
1429
+ $this->_forceIsPaidStatus($magentoOrder, $shopgateOrder);
1430
+ }
1431
 
1432
+ $magentoOrder->save();
 
 
 
 
1433
 
1434
+ return $magentoOrder;
1435
+ }
 
 
 
 
1436
 
1437
+ /**
1438
+ * Run order manipulation with isPaid flag true.
1439
+ * Set to Private as this will be refactored.
1440
+ *
1441
+ * @param Mage_Sales_Model_Order $magentoOrder
1442
+ * @param ShopgateOrder $shopgateOrder
1443
+ *
1444
+ * @return Mage_Sales_Model_Order
1445
+ */
1446
+ private function _forceIsPaidStatus($magentoOrder, $shopgateOrder)
1447
+ {
1448
+ if (Mage::getStoreConfig(Shopgate_Framework_Model_Config::XML_PATH_SHOPGATE_ORDER_MARK_UNBLOCKED_AS_PAID)
1449
+ && !$shopgateOrder->getIsPaid()
1450
+ && $shopgateOrder->getPaymentMethod() != ShopgateOrder::BILLSAFE
1451
+ ) {
1452
+ $oldStatus = $shopgateOrder->getIsPaid();
1453
+ $shopgateOrder->setIsPaid(true);
1454
 
1455
+ $magentoOrder->addStatusHistoryComment(
1456
+ $this->_getHelper()->__(
1457
+ "[SHOPGATE] Set order as paid because shipping is not blocked and config is set to 'mark unblocked orders as paid'!"
1458
+ ),
1459
+ false
1460
+ )->setIsCustomerNotified(false);
1461
+
1462
+ $magentoOrder = $this->_setOrderPayment($magentoOrder, $shopgateOrder);
1463
+
1464
+ $shopgateOrder->setIsPaid($oldStatus);
1465
  }
1466
 
 
1467
  return $magentoOrder;
1468
  }
1469
 
1962
  $this->log("#{$i}", ShopgateLogger::LOGTYPE_DEBUG);
1963
  $i++;
1964
  /** @var Mage_Catalog_Model_Product $product */
1965
+ if ($this->_getExportHelper()->productHasRequiredUnsupportedOptions($product)) {
1966
  $this->log(
1967
+ "Exclude Product with ID: {$product->getId()} from CSV: not supported custom option",
1968
  ShopgateLogger::LOGTYPE_DEBUG
1969
  );
1970
  continue;
2148
  $i++;
2149
 
2150
  /** @var Mage_Catalog_Model_Product $product */
2151
+ if ($this->_getExportHelper()->productHasRequiredUnsupportedOptions($product)) {
2152
  $this->log(
2153
+ "Exclude Product with ID: {$product->getId()} from XML: not supported custom option",
2154
  ShopgateLogger::LOGTYPE_DEBUG
2155
  );
2156
  continue;
app/code/community/Shopgate/Framework/Test/Controller/FrameworkController.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Shopgate GmbH
4
+ *
5
+ * URHEBERRECHTSHINWEIS
6
+ *
7
+ * Dieses Plugin ist urheberrechtlich geschützt. Es darf ausschließlich von Kunden der Shopgate GmbH
8
+ * zum Zwecke der eigenen Kommunikation zwischen dem IT-System des Kunden mit dem IT-System der
9
+ * Shopgate GmbH über www.shopgate.com verwendet werden. Eine darüber hinausgehende Vervielfältigung, Verbreitung,
10
+ * öffentliche Zugänglichmachung, Bearbeitung oder Weitergabe an Dritte ist nur mit unserer vorherigen
11
+ * schriftlichen Zustimmung zulässig. Die Regelungen der §§ 69 d Abs. 2, 3 und 69 e UrhG bleiben hiervon unberührt.
12
+ *
13
+ * COPYRIGHT NOTICE
14
+ *
15
+ * This plugin is the subject of copyright protection. It is only for the use of Shopgate GmbH customers,
16
+ * for the purpose of facilitating communication between the IT system of the customer and the IT system
17
+ * of Shopgate GmbH via www.shopgate.com. Any reproduction, dissemination, public propagation, processing or
18
+ * transfer to third parties is only permitted where we previously consented thereto in writing. The provisions
19
+ * of paragraph 69 d, sub-paragraphs 2, 3 and paragraph 69, sub-paragraph e of the German Copyright Act shall remain unaffected.
20
+ *
21
+ * @author Shopgate GmbH <interfaces@shopgate.com>
22
+ */
23
+ include_once Mage::getBaseDir("lib") . '/Shopgate/shopgate.php';
24
+
25
+ class Shopgate_Framework_Test_Controller_FrameworkController
26
+ extends EcomDev_PHPUnit_Test_Case_Controller
27
+ {
28
+ protected function setUp()
29
+ {
30
+ Mage::register('isSecureArea', true);
31
+ parent::setUp();
32
+ }
33
+
34
+ /**
35
+ * @registry isSecureArea
36
+ * @test
37
+ * @doNotIndexAll
38
+ * @loadFixture
39
+ */
40
+ public function testPluginNotActive()
41
+ {
42
+ $this->setCurrentStore('default');
43
+ $this->dispatch('shopgate/framework/index');
44
+ $this->assertResponseHttpCode('200');
45
+ $this->assertResponseBodyContains(
46
+ '{"error":12,"error_text":"plugin not activated: plugin not active"'
47
+ );
48
+ }
49
+ }
app/code/community/Shopgate/Framework/Test/Controller/FrameworkController/fixtures/testPluginNotActive.yaml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ scope:
2
+ website:
3
+ - website_id: 1
4
+ code: default
5
+ name: Default Website
6
+ default_group_id: 1
7
+ is_default: 1
8
+ group:
9
+ - group_id: 1
10
+ website_id: 1
11
+ name: Default Store Group
12
+ default_store_id: 1
13
+ root_category_id: 2 #default
14
+ store:
15
+ - store_id: 1
16
+ website_id: 1
17
+ group_id: 1
18
+ code: default
19
+ name: Default Store
20
+ is_active: 1
21
+ config:
22
+ shopgate/option/active: 0
23
+ stores/default/dev/log/active: 1
24
+ stores/default/dev/log/file: tests-system.log
25
+ stores/default/dev/log/exception_file: tests-exception.log
app/code/community/Shopgate/Framework/Test/Helper/Data.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Shopgate GmbH
4
+ *
5
+ * URHEBERRECHTSHINWEIS
6
+ *
7
+ * Dieses Plugin ist urheberrechtlich geschützt. Es darf ausschließlich von Kunden der Shopgate GmbH
8
+ * zum Zwecke der eigenen Kommunikation zwischen dem IT-System des Kunden mit dem IT-System der
9
+ * Shopgate GmbH über www.shopgate.com verwendet werden. Eine darüber hinausgehende Vervielfältigung, Verbreitung,
10
+ * öffentliche Zugänglichmachung, Bearbeitung oder Weitergabe an Dritte ist nur mit unserer vorherigen
11
+ * schriftlichen Zustimmung zulässig. Die Regelungen der §§ 69 d Abs. 2, 3 und 69 e UrhG bleiben hiervon unberührt.
12
+ *
13
+ * COPYRIGHT NOTICE
14
+ *
15
+ * This plugin is the subject of copyright protection. It is only for the use of Shopgate GmbH customers,
16
+ * for the purpose of facilitating communication between the IT system of the customer and the IT system
17
+ * of Shopgate GmbH via www.shopgate.com. Any reproduction, dissemination, public propagation, processing or
18
+ * transfer to third parties is only permitted where we previously consented thereto in writing. The provisions
19
+ * of paragraph 69 d, sub-paragraphs 2, 3 and paragraph 69, sub-paragraph e of the German Copyright Act shall remain unaffected.
20
+ *
21
+ * @author Shopgate GmbH <interfaces@shopgate.com>
22
+ */
23
+
24
+ class Shopgate_Framework_Test_Helper_Data extends EcomDev_PHPUnit_Test_Case
25
+ {
26
+ /**
27
+ * @param float $amount
28
+ * @param float $taxAmount
29
+ * @param float $expectedTaxRate
30
+ *
31
+ * @test
32
+ * @dataProvider dataProvider
33
+ */
34
+ public function testCalculateTaxRate($amount, $taxAmount, $expectedTaxRate)
35
+ {
36
+ $calculatedTaxRate = Mage::helper('shopgate')->calculateTaxRate($amount, $taxAmount);
37
+ $this->assertEquals($calculatedTaxRate, $expectedTaxRate);
38
+ }
39
+ }
app/code/community/Shopgate/Framework/Test/Helper/Data/providers/testCalculateTaxRate.yaml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ -
2
+ - 10.00
3
+ - 0
4
+ - 0
5
+ -
6
+ - 5.95
7
+ - 0.95
8
+ - 19
app/code/community/Shopgate/Framework/changelog.txt CHANGED
@@ -1,4 +1,12 @@
1
  '''English'''
 
 
 
 
 
 
 
 
2
 
3
  '''Version 2.9.25'''
4
  * map payment method Paypal Plus
1
  '''English'''
2
+ '''Version 2.9.26'''
3
+ * Store deletion will not cause shopgate plugin to redirect to 404 page
4
+ * Exclude unsupported input types from item export
5
+ * Added basic support to 1400-1500 versions
6
+ * 1600+ versions are fully supported
7
+ * Fix custom description attribute codes
8
+ * Shopgate payment orders import with status Processing when shipping is not blocked
9
+ * Shopgate payment orders import with Shopgate configuration status when shipping is blocked
10
 
11
  '''Version 2.9.25'''
12
  * map payment method Paypal Plus
app/code/community/Shopgate/Framework/etc/config.xml CHANGED
@@ -2,9 +2,20 @@
2
  <config>
3
  <modules>
4
  <Shopgate_Framework>
5
- <version>2.9.25</version>
6
  </Shopgate_Framework>
7
  </modules>
 
 
 
 
 
 
 
 
 
 
 
8
  <global>
9
  <models>
10
  <shopgate>
@@ -134,7 +145,7 @@
134
  <observers>
135
  <before_salesrules_loaded>
136
  <type>model</type>
137
- <class>Shopgate_Framework_Model_Observer</class>
138
  <method>beforeSalesrulesLoaded</method>
139
  </before_salesrules_loaded>
140
  </observers>
@@ -144,7 +155,7 @@
144
  <observers>
145
  <sales_order_shipment>
146
  <type>singleton</type>
147
- <class>Shopgate_Framework_Model_Observer</class>
148
  <method>setShippingStatus</method>
149
  </sales_order_shipment>
150
  </observers>
@@ -154,7 +165,7 @@
154
  <observers>
155
  <cancel_order_items>
156
  <type>singleton</type>
157
- <class>Shopgate_Framework_Model_Observer</class>
158
  <method>submitCancellations</method>
159
  </cancel_order_items>
160
  </observers>
@@ -164,7 +175,7 @@
164
  <observers>
165
  <sales_order_cancled>
166
  <type>singleton</type>
167
- <class>Shopgate_Framework_Model_Observer</class>
168
  <method>cancelOrder</method>
169
  </sales_order_cancled>
170
  </observers>
@@ -174,7 +185,7 @@
174
  <observers>
175
  <capture_oauth_registration_configuration_manipulation>
176
  <type>singleton</type>
177
- <class>Shopgate_Framework_Model_Observer</class>
178
  <method>catchOAuthRegistration</method>
179
  </capture_oauth_registration_configuration_manipulation>
180
  </observers>
@@ -184,7 +195,7 @@
184
  <observers>
185
  <set_default_store_on_oauth_registration>
186
  <type>singleton</type>
187
- <class>Shopgate_Framework_Model_Observer</class>
188
  <method>setDefaultStoreOnOAuthRegistration</method>
189
  </set_default_store_on_oauth_registration>
190
  </observers>
@@ -194,7 +205,7 @@
194
  <observers>
195
  <remove_virtual_products_of_shopgate_coupons>
196
  <type>singleton</type>
197
- <class>Shopgate_Framework_Model_Observer</class>
198
  <method>deleteShopgateCouponProducts</method>
199
  </remove_virtual_products_of_shopgate_coupons>
200
  </observers>
@@ -204,7 +215,7 @@
204
  <observers>
205
  <shopgate>
206
  <type>singleton</type>
207
- <class>Shopgate_Framework_Model_Observer</class>
208
  <method>manipulateShipmentForBillsafe</method>
209
  </shopgate>
210
  </observers>
@@ -255,7 +266,7 @@
255
  <observers>
256
  <shopgate>
257
  <type>singleton</type>
258
- <class>Shopgate_Framework_Model_Observer</class>
259
  <method>checkForUpdates</method>
260
  </shopgate>
261
  </observers>
@@ -265,11 +276,21 @@
265
  <observers>
266
  <adjust_sequence_number>
267
  <type>singleton</type>
268
- <class>Shopgate_Framework_Model_Observer</class>
269
  <method>preparePayoneOrderForRefund</method>
270
  </adjust_sequence_number>
271
  </observers>
272
  </sales_order_invoice_pay>
 
 
 
 
 
 
 
 
 
 
273
  </events>
274
  </adminhtml>
275
  <frontend>
@@ -419,6 +440,11 @@
419
  <handling_type>F</handling_type>
420
  </shopgate>
421
  </carriers>
 
 
 
 
 
422
  </default>
423
  <crontab>
424
  <jobs>
2
  <config>
3
  <modules>
4
  <Shopgate_Framework>
5
+ <version>2.9.26</version>
6
  </Shopgate_Framework>
7
  </modules>
8
+ <phpunit>
9
+ <suite>
10
+ <modules>
11
+ <Shopgate_Framework />
12
+ </modules>
13
+ <groups>
14
+ <helpers>Helper</helpers>
15
+ <controllers>Controller</controllers>
16
+ </groups>
17
+ </suite>
18
+ </phpunit>
19
  <global>
20
  <models>
21
  <shopgate>
145
  <observers>
146
  <before_salesrules_loaded>
147
  <type>model</type>
148
+ <class>shopgate/observer</class>
149
  <method>beforeSalesrulesLoaded</method>
150
  </before_salesrules_loaded>
151
  </observers>
155
  <observers>
156
  <sales_order_shipment>
157
  <type>singleton</type>
158
+ <class>shopgate/observer</class>
159
  <method>setShippingStatus</method>
160
  </sales_order_shipment>
161
  </observers>
165
  <observers>
166
  <cancel_order_items>
167
  <type>singleton</type>
168
+ <class>shopgate/observer</class>
169
  <method>submitCancellations</method>
170
  </cancel_order_items>
171
  </observers>
175
  <observers>
176
  <sales_order_cancled>
177
  <type>singleton</type>
178
+ <class>shopgate/observer</class>
179
  <method>cancelOrder</method>
180
  </sales_order_cancled>
181
  </observers>
185
  <observers>
186
  <capture_oauth_registration_configuration_manipulation>
187
  <type>singleton</type>
188
+ <class>shopgate/observer</class>
189
  <method>catchOAuthRegistration</method>
190
  </capture_oauth_registration_configuration_manipulation>
191
  </observers>
195
  <observers>
196
  <set_default_store_on_oauth_registration>
197
  <type>singleton</type>
198
+ <class>shopgate/observer</class>
199
  <method>setDefaultStoreOnOAuthRegistration</method>
200
  </set_default_store_on_oauth_registration>
201
  </observers>
205
  <observers>
206
  <remove_virtual_products_of_shopgate_coupons>
207
  <type>singleton</type>
208
+ <class>shopgate/observer</class>
209
  <method>deleteShopgateCouponProducts</method>
210
  </remove_virtual_products_of_shopgate_coupons>
211
  </observers>
215
  <observers>
216
  <shopgate>
217
  <type>singleton</type>
218
+ <class>shopgate/observer</class>
219
  <method>manipulateShipmentForBillsafe</method>
220
  </shopgate>
221
  </observers>
266
  <observers>
267
  <shopgate>
268
  <type>singleton</type>
269
+ <class>shopgate/observer</class>
270
  <method>checkForUpdates</method>
271
  </shopgate>
272
  </observers>
276
  <observers>
277
  <adjust_sequence_number>
278
  <type>singleton</type>
279
+ <class>shopgate/observer</class>
280
  <method>preparePayoneOrderForRefund</method>
281
  </adjust_sequence_number>
282
  </observers>
283
  </sales_order_invoice_pay>
284
+
285
+ <store_delete>
286
+ <observers>
287
+ <website_store_removed>
288
+ <type>singleton</type>
289
+ <class>shopgate/observer</class>
290
+ <method>removeDefaultStore</method>
291
+ </website_store_removed>
292
+ </observers>
293
+ </store_delete>
294
  </events>
295
  </adminhtml>
296
  <frontend>
440
  <handling_type>F</handling_type>
441
  </shopgate>
442
  </carriers>
443
+ <payment>
444
+ <shopgate_payment>
445
+ <order_status>pending</order_status>
446
+ </shopgate_payment>
447
+ </payment>
448
  </default>
449
  <crontab>
450
  <jobs>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>shopgate_module</name>
4
- <version>2.9.25</version>
5
  <stability>stable</stability>
6
  <license uri="http://wiki.shopgate.com/Magento/de">Shopgate Plugin</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Shopgate Plugin</description>
11
  <notes>Shopgate Modul</notes>
12
  <authors><author><name>Peter Liebig</name><user>Shopgate</user><email>p.liebig@me.com</email></author><author><name>Stephan Recknagel</name><user>Shopgate</user><email>mail@recknagel.io</email></author><author><name>Andr&#xE9; Kraus</name><user>Shopgate</user><email>andre.kraus83@googlemail.com</email></author></authors>
13
- <date>2015-11-10</date>
14
- <time>14:19:40</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Shopgate_Framework.xml" hash="3fb114204bd038da711122083876f161"/></dir></target><target name="magecommunity"><dir name="Shopgate"><dir name="Framework"><dir name="Block"><dir name="Adminhtml"><dir name="OAuth"><dir name="Config"><file name="Connector.php" hash="890d04b08bf692c12b02f29abf813f83"/></dir><dir name="Connect"><dir name="Add"><file name="Form.php" hash="45685099b41a46919a9900d22c30b711"/></dir><file name="Info.php" hash="ee7bbc837bf3f298791b8496f2d6d565"/><file name="Overlay.php" hash="a6496896dccb5898b36e3e65585650f4"/></dir><file name="Connect.php" hash="cc7e43ba447b6338f6c50ccaa5fd073a"/><file name="Data.php" hash="1903e819d5d16abba4c37d7823909260"/><file name="Disconnect.php" hash="2545e56bca73577ba5f73fce0501624a"/><dir name="Manage"><file name="Grid.php" hash="78357b78fed0e8b3535a7e505c8f6425"/></dir><file name="Manage.php" hash="a99e12333f7c27771ca42a0764108639"/></dir></dir><file name="Info.php" hash="3dd73900370546289a6033942a0c0528"/><dir name="Payment"><file name="MobilePayment.php" hash="7de8af7ec46e107c46a73efaf2a02034"/><file name="Shopgate.php" hash="67af406fa04da70461b3580b8adea89d"/></dir><dir name="Totals"><file name="AbstractPaymentFee.php" hash="5e36647f536d1c6daba33cd6e0a5e302"/><file name="CreditmemoPaymentFee.php" hash="4a287f54554d8d45772db386f54a45e7"/><file name="InvoicePaymentFee.php" hash="818164536fe249016af3046aef73f181"/><file name="OrderPaymentFee.php" hash="55c8f62c4da8014c99414ece9cd125c4"/></dir><file name="Version.php" hash="2f45712bb20635ac17d8bdee213819e5"/></dir><dir name="Helper"><dir name="Billsafe"><file name="Order.php" hash="474c2aa15f352224c11c8ab17e921c9d"/></dir><file name="Config.php" hash="b9ba5dd1c262921e6615c3ae5e83cc59"/><file name="Coupon.php" hash="519697b13040ddfbc8f460b6034c8779"/><file name="Customer.php" hash="c68047909c0c6e14977336ab6afe2f6b"/><file name="Data.php" hash="6139b579d02fb6129b95b5e665104386"/><file name="Debug.php" hash="82c85038046fc9b2f994df18b7f202a6"/><file name="Export.php" hash="fcf14125b4d32ed2f3d1d24bccadcda9"/><dir name="Import"><file name="Order.php" hash="adf21efa29fdba12edfaf0d34e0cb1fb"/></dir><file name="Install.php" hash="57f42693c9a6ddb18b8a25a2a5da7cf8"/><dir name="Payment"><file name="Abstract.php" hash="207f16aab8224761b7d91802b9fb10ee"/><file name="Payone.php" hash="ddced5955ff55105d8b3c91e0fcb0778"/><file name="Wspp.php" hash="4214f1d3332cd189cee3df48108ebd8d"/></dir><file name="Sales.php" hash="a5dfa9e90343a4da4e0791f62b802484"/></dir><dir name="Model"><dir name="Carrier"><file name="Fix.php" hash="31ccd9b4c8ac725e5b2c1dcee096dea8"/></dir><dir name="Cataloginventory"><file name="Stock.php" hash="42ffccc3d644f8b04358a3e76bda32dd"/></dir><dir name="Compiler"><file name="Process.php" hash="740452b7bc234417788db1f1ee892ef5"/></dir><file name="Config.php" hash="517c0cb6067762fcc10496f12ff43e22"/><file name="Customer.php" hash="97ed53ca3f69c7a24fb40cce11f58721"/><dir name="DreamRobot"><file name="Observer.php" hash="7b4e8922a46f5974b8edf359c632a9d3"/></dir><dir name="Export"><file name="Abstract.php" hash="9e86667845e8cebd8e0ccb8879b70b6d"/><dir name="Category"><file name="Csv.php" hash="72f4f58345d95f8f621783bedf2a092e"/><file name="Xml.php" hash="12ab046b9a000636ed4ed5eefb770af2"/></dir><file name="Category.php" hash="5a41141ecec85669674ec818c4661cdc"/><dir name="Customer"><file name="Orders.php" hash="30123a6fe3e391fca911fed042b256c8"/></dir><file name="Customer.php" hash="2711476c9538a22242d1511649ec77f1"/><dir name="Product"><file name="Csv.php" hash="50cd5a66e8034f3584140f91b56fe03d"/><file name="Xml.php" hash="88f8d124729a83fdce23599bc34c92a6"/></dir><file name="Product.php" hash="d9c807df57af3f1cced2d9bb433338ec"/><dir name="Review"><file name="Csv.php" hash="5c72f802a2de256ca1ec8dab1b75b291"/><file name="Xml.php" hash="bc16f60d9ed20705422921955a5071fe"/></dir><file name="Review.php" hash="ad6f548035a30da642d2459354acbb40"/><file name="Settings.php" hash="bd868e74806ec79e93c0fb6f4fcfdd3f"/></dir><file name="Feed.php" hash="fb99cd7b2b3d94908848b722df666b67"/><dir name="Mobile"><file name="Redirect.php" hash="8915ada38de387aabb2dc4580368d347"/></dir><dir name="Mysql4"><dir name="Core"><file name="Core.php" hash="fc129d4d929f83e8389367b9c5d6d5e1"/></dir><dir name="Customer"><file name="Collection.php" hash="89d31997abc3c2145f74e02dd5456a7c"/></dir><file name="Customer.php" hash="d5f460b2d5bfa87b8368a8a6c6b51115"/><file name="Product.php" hash="6a99b3d0de44dfbd132ce9caca19034e"/><dir name="Shopgate"><dir name="Order"><file name="Collection.php" hash="e180ba816be47239828bea65cd5f8445"/></dir><file name="Order.php" hash="c297847e39ad01307dba4a69c13445f2"/></dir></dir><file name="Observer.php" hash="da10a5dddba99720bea687ec4fa94c57"/><dir name="Payment"><dir name="Abstract"><file name="AbstractPayol.php" hash="0228e80536a7decbbc0a883a4bde0d0d"/></dir><file name="Abstract.php" hash="873534555f767d24d1b0ab378267e8b9"/><file name="Amazon.php" hash="c90003246111cf066270015b41cb7ff9"/><file name="Authorize.php" hash="6f747fb258e59137cc5dadc179664246"/><file name="Billsafe.php" hash="1c97ec04356ae4ed25c1492a317eaaff"/><dir name="Cc"><file name="Abstract.php" hash="2b291ac14d9e1e3120416d6aeb4c3487"/><file name="Authn.php" hash="5c4c0d849d8d22dab1e6bf374dfc6c79"/><file name="AuthnAbstract.php" hash="59c3e39376e695ac161d228fc9a3fabf"/><dir name="Authncim"><file name="Gateway.php" hash="1f8df3fe0e50f4729bebfc1d4763b015"/><file name="Method.php" hash="aa6916548a71848ad7c83e4f053bc27e"/></dir><file name="Authncim.php" hash="89f1c2a0bb59d08c895da84c14c325ff"/><file name="Chargeitpro.php" hash="6fd3a2fd42df00831d6e363a23a414f1"/><file name="Usaepay.php" hash="00bd8969c1eceb13eacbb37ed9a1f714"/></dir><file name="Cc.php" hash="076a0faf0705c821c5479a2ec4a33c8d"/><file name="Express.php" hash="242b1fc3b238b907ac616680aa446401"/><file name="Factory.php" hash="212e33a78fc1e175d778347c4e4cffee"/><file name="Generic.php" hash="666f06186d1bb96b94af287d221e27c5"/><dir name="Ins"><file name="Payol.php" hash="b6961c4ab1fb9a95ab2d470aeaad8d29"/></dir><file name="Interface.php" hash="151002297bcce208b85bd260c7a25b47"/><dir name="Inv"><file name="Payol.php" hash="6d1c28b2ea2fb2fd63e09712f4533c77"/></dir><file name="MobilePayment.php" hash="59554c65e778831f6add450e0f846f42"/><dir name="Payone"><file name="Abstract.php" hash="e4538042b15ce2ba027a189ae2887861"/><file name="BankAbstract.php" hash="fa4ef2c918868001c5f1df97cb4bc400"/><file name="Cc.php" hash="11e68f50ea43bf73b31c53efea0cbc4d"/><file name="Dbt.php" hash="7f098887ba6f12669a18f62d7885de6d"/><file name="Gp.php" hash="7686149aedae93b0d5eef0b06fc08d7e"/><file name="Idl.php" hash="57d144744565ff644db917cab7ef689e"/><file name="Inv.php" hash="91d893ee5eacdc00ff8fbb3f1b750894"/><file name="Klv.php" hash="f82fb0cc874ea8f1121f282372e4e404"/><file name="Pp.php" hash="1165aa67ef8ccdc93a2eb0b7bf03f3d0"/><file name="Prp.php" hash="76079d7e154c3a982b1d117793942c3a"/><file name="Sue.php" hash="31280f2c8abf21f0a582b656fb0d38ad"/></dir><dir name="Pp"><file name="Abstract.php" hash="e6c5afcb0653d2ec3de3bd5d1442b355"/><file name="Wspp.php" hash="5c4d194c7814416491892f4cbe272d9f"/></dir><file name="Pp.php" hash="c521bbb32aed313c0170dd6e8361f934"/><dir name="Ppal"><file name="Plus.php" hash="a26adaab47adb3f3b84ff872673b4ed1"/></dir><file name="Router.php" hash="1df693718ebb4b71d2ae790678927194"/><file name="Shopgate.php" hash="f0d59e2a4369f7a22e47cf9c3bb9c44a"/><dir name="Simple"><file name="Billsafe.php" hash="d352d66d5101454f4cfec46e4fcaa88a"/><dir name="Cod"><file name="Abstract.php" hash="7bcb77e2906200f8a7576a24d782d541"/><file name="Msp.php" hash="da63e630e339f73b1047f9be2fc13a80"/><file name="Native.php" hash="a18abef66d98a08e988bafa1564dfaa2"/><file name="Phoenix107.php" hash="958990a7ec99a4c102b335e68db4f563"/><file name="Phoenix108.php" hash="912cb903da51a2056f03d75c566dbc7b"/></dir><file name="Cod.php" hash="0688749cd9110544d01e5c1130be3005"/><file name="Invoice.php" hash="a86d8500a0dee3056e56b0ccfb1fae3d"/><file name="Mws.php" hash="66b68310d396e83423aefbd6e266c7ff"/><dir name="Paypal"><file name="Express.php" hash="e2d33dbc600503d9a7541ab53df60662"/><file name="Standard.php" hash="5281ddc90f8f560b6cffa2e97fe08304"/><file name="Standard1400.php" hash="d80d26e8189b12c9796929dfad77f6c8"/></dir><file name="Paypal.php" hash="03a7c4b8e193d262aa2dbd51cdac3ab8"/><dir name="Prepay"><file name="Abstract.php" hash="89767868690e40bc3d96f8bee4484880"/><file name="Checkmo.php" hash="781dd32522f7bc97c62313cb76429633"/><file name="Native.php" hash="48542e3e9ad2bafb504a200a6529eccc"/><file name="Phoenix.php" hash="7118e404d6f1755cdab35dbc2c8f058d"/></dir><file name="Prepay.php" hash="eb79f9f8469652e91b11fd5d714db84f"/><file name="Shopgate.php" hash="32b4ae3f7ceba3de183233973db4f03b"/><dir name="Sue"><file name="Abstract.php" hash="d07d6b3a5702b458ed4e5f4574e3ced9"/><file name="Sue118.php" hash="759f4a7e103f9f9f4457aa1d0694c26d"/><file name="Sue300.php" hash="c804244222e5fe67ead8916c5c1ffef1"/></dir><file name="Sue.php" hash="6802dc052e2088957329689b003a16f8"/></dir><file name="Simple.php" hash="e4f0b3cd8282c2661cb19eabdb77d075"/><file name="Usaepay.php" hash="50e049e1cae29abbd7027cf842878540"/><file name="Wspp.php" hash="23b0420ff59dc0bfa7940bf0f07562fc"/></dir><dir name="Resource"><dir name="Core"><file name="Config.php" hash="0ee7969070ab0dddfdd3bb2cc404cd3c"/></dir><dir name="Customer"><file name="Collection.php" hash="2ddb7db1355100bc9e86f966f1d4612c"/></dir><file name="Customer.php" hash="69848842d4be07be4d66d700a7b6695b"/><file name="Product.php" hash="5c62ef4cfc3f0ebbbe5a9a46d1c25dfa"/><file name="Setup.php" hash="7b5cc0f99c857e9292638c1fbeb43969"/><dir name="Shopgate"><dir name="Connection"><file name="Collection.php" hash="f294d4239cee276b7e3c5e6e2109de66"/><dir name="Grid"><file name="Collection.php" hash="d499139d50dffbfe1b1e868b5aeeee0f"/></dir></dir><dir name="Order"><file name="Collection.php" hash="2c18a4ca248ca8719e7ead85f0c57619"/></dir><file name="Order.php" hash="1942eeb8268781c499f8cad384081b02"/></dir></dir><dir name="Sales"><dir name="Creditmemo"><dir name="Total"><file name="ShopgatePaymentFee.php" hash="614d1e96cd2c97e0fcd7db86ee3aad89"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="ShopgatePaymentFee.php" hash="c4400832de32367067fd5396bcf7bfc8"/></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="ShopgatePaymentFee.php" hash="7a309b69fb20fb6fcae5f3b77f5b7ba9"/></dir></dir></dir></dir><dir name="Search"><dir name="Shopgate"><file name="Order.php" hash="94dcf366528641687b89ab0c9f973ef5"/></dir></dir><dir name="Shopgate"><dir name="Cart"><dir name="Validation"><dir name="Stock"><file name="Bundle.php" hash="7cc03239fbefe3a8e71755a178299944"/><file name="Simple.php" hash="9da9891d52c89e0772af5bcea7581ae8"/></dir><file name="Stock.php" hash="03d8139aa9840d707c8e4cb991bca20f"/></dir></dir><file name="Connection.php" hash="ff0da764d444103f5892ef21e23ba353"/><file name="Order.php" hash="89e0e425fc48282c1b46d3078b294be1"/><file name="Plugin.php" hash="45fe6d11c9975ea30d318662b59198e5"/><dir name="Shipping"><dir name="Mapper"><file name="Carrier.php" hash="ef57904070fdf7921e51e88c3991c029"/><dir name="Method"><file name="Abstract.php" hash="bb402c49f3da66f7bd4baf5b215f989e"/><file name="Interface.php" hash="1bab00e6e0356184c3f213acfce601da"/><file name="Shopgate.php" hash="af8e1ade067d1b9fb0e5b493ad814576"/><file name="Usps.php" hash="14969ce8762a7fa5e5e5d6bc64285f52"/></dir></dir><file name="Mapper.php" hash="b93ac160c4c176c77887a23593ab058c"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="8dfc3964b750aebac8db5f584559d5c3"/><dir name="Description"><file name="List.php" hash="c83f37019461ab7adc86a57400f63761"/></dir><file name="Description.php" hash="d0dcebc9d75fdb0bb80f3c3faba6397c"/><file name="Enabledisable.php" hash="7f189c26cd1c2c7f1cd6dc56379798b5"/><dir name="Item"><file name="Sort.php" hash="2dc75f9c1e8baaddbf895945acd2ff19"/></dir><dir name="Product"><file name="Image.php" hash="e9d0e7c5769446290094d2b67e5c468b"/><file name="Names.php" hash="98de8ee7ae9b3c504eb087f5e09d3afd"/><file name="Types.php" hash="007b54c2e095691380c21a5ab62846fc"/></dir><dir name="Redirect"><file name="Types.php" hash="c5d3c44ab1f5ba74224b41836b14afff"/></dir><file name="Server.php" hash="b569e24076ca68c4063729fb708b666a"/><file name="Store.php" hash="cb2998beb43ba8afeeaa5b64a5b5e946"/><dir name="Validation"><file name="Config.php" hash="77382cb829f4b3b50120d7e1359e0051"/></dir><dir name="Variation"><dir name="Export"><file name="Type.php" hash="bb19358c2c2fbee3cb9776f3540faa20"/></dir></dir><dir name="Weight"><file name="Units.php" hash="10af44d670bcfdb559f4196c7006e893"/></dir></dir></dir></dir></dir><file name="changelog.txt" hash="3f8d52133a064e86e93fe49cbdd6fb42"/><dir name="controllers"><dir name="Adminhtml"><file name="ShopgateController.php" hash="cd2305edb0348a15f956d20d39433778"/></dir><file name="FrameworkController.php" hash="2aec53db3cedaf901ef6199dc000cda2"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d1f345ca5fc8b0619234f9c270fb84a7"/><file name="config.xml" hash="9962833e2eaf1d75d70ce4c965224316"/><file name="system.xml" hash="b715fdbd76766e347c0f30a8122e58ed"/></dir><file name="licence.txt" hash="dec6ca25c420b36a2e400caf1541c923"/><dir name="sql"><dir name="shopgate_setup"><file name="mysql4-install-0.1.0.php" hash="069abba038757da43b2ca6c5a0c82aba"/><file name="mysql4-install-2.1.45.php" hash="eddddf157e55a87edc77361dde564463"/><file name="mysql4-install-2.2.0.php" hash="eddddf157e55a87edc77361dde564463"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="cc637fc1bc511e745f02a56d0b36e3be"/><file name="mysql4-upgrade-1.0.5-1.0.7.php" hash="1e800d9d235b817bf5be698288bc0129"/><file name="mysql4-upgrade-2.1.44-2.1.45.php" hash="134d0b665746c61d364f6fd93d83f46c"/><file name="mysql4-upgrade-2.1.49-2.1.50.php" hash="e0fd395bb9c25c0e544c455186cfe7c9"/><file name="mysql4-upgrade-2.4.28-2.4.29.php" hash="9c8c868ce90e42b56182b23b78d6fbe7"/><file name="mysql4-upgrade-2.4.29-2.4.30.php" hash="ca3ee1e2f337bcea26264a17f603548e"/><file name="mysql4-upgrade-2.7.5-2.8.0.php" hash="34393a58a0b4ec90b4e618d3ff4cc565"/><file name="mysql4-upgrade-2.9.15-2.9.16.php" hash="980e7cc83f912ef4f630ef8d1cb964d1"/><file name="mysql4-upgrade-2.9.4-2.9.5.php" hash="89a34b7b9ad2eec492055e52e7e75049"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Shopgate_Framework.csv" hash="e842a47237b2e613a22e5584108b8b2a"/></dir><dir name="de_CH"><file name="Shopgate_Framework.csv" hash="e842a47237b2e613a22e5584108b8b2a"/></dir><dir name="de_AT"><file name="Shopgate_Framework.csv" hash="664a8dc7470fd9675ca7a67f2bcd1325"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="shopgate"><file name="logo.png" hash="b7139047ecc90b15a5710ab0fe77fc81"/><file name="logo_big.png" hash="b98bfcf09766589506a1cca24ca47972"/><file name="logo_small.png" hash="7abf7f774c592eb582c2856e027af798"/><file name="oauth_connect.js" hash="8e5c77d9ad1354f826445f03c91008f4"/><file name="shopgate_admin.css" hash="0fbc07171267b9fb5dba7004a0858f66"/><file name="target.js" hash="80484a4dae515f708c97545d9959673a"/></dir></dir></dir></dir></target><target name="magelib"><dir name="Shopgate"><dir name="assets"><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/><file name="js_header.html" hash="f9865eae13ed93fd41788aa27b0391ee"/><file name="link_tag.html" hash="4798d67e30ef4a76dd8435326421673d"/><file name="mobile_header.html" hash="17616650e160eaccd24e25729396c5a9"/></dir><file name="changelog.txt" hash="eae57d66fcc7d54725202ac2ecde9076"/><dir name="classes"><file name="apis.php" hash="61ceeade474c9dffa98c9c15691cae7f"/><file name="configuration.php" hash="6b95519eed1c7bde3951e4ea52463181"/><file name="core.php" hash="009ad053c7bbe46d02083ec011b4893f"/><file name="customers.php" hash="3bc00737d0cfd788c24f52b303babd8a"/><file name="external_orders.php" hash="811471d13c2a3c5aa5d1a1eb859f74e6"/><dir name="helper"><file name="DataStructure.php" hash="ece9e9f855756777f543d090f5ecc710"/><file name="Pricing.php" hash="fd4c74999abc3bfa05fd74994a2ce78f"/><file name="String.php" hash="10c9396b2975bf0bde86f171932c3074"/><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/><file name="items.php" hash="7a361efd0a5327c0ad0f0745c1b74cc0"/><dir name="models"><file name="Abstract.php" hash="a32633283eb403a55a166bbad70b3e2f"/><file name="AbstractExport.php" hash="f265f9e906208e1799994d117582be20"/><file name="XmlEmptyObject.php" hash="d6cfdae3bdd858d4f10fcebdb542f533"/><file name="XmlResultObject.php" hash="340804eb0f2ba6bcb6b05311b8bb1f11"/><dir name="catalog"><file name="Attribute.php" hash="28d8f3bc6c416661d1eaa77726ba7009"/><file name="AttributeGroup.php" hash="0270086ec8006ee8231c6b0baa8d6034"/><file name="Category.php" hash="beba58d2796cf7b4ca08ce68de65415b"/><file name="CategoryPath.php" hash="475869aef74c567c8569ee9953210faa"/><file name="Identifier.php" hash="d9a3b16d1fcdec641ca2b0fd77fbd625"/><file name="Input.php" hash="77df45fd89aec19565a5fae7178205bb"/><file name="Manufacturer.php" hash="e45f534f5f6acad118be24ffc63a0460"/><file name="Option.php" hash="fd95fe72bff985ae0b2861da115e2468"/><file name="Price.php" hash="3cb25372ae58bd0c71b342f9ef2dca73"/><file name="Product.php" hash="7e7c49e10b379eae5d0141efe2c91305"/><file name="Property.php" hash="5967f0403a606a27ea4fec71a8402327"/><file name="Relation.php" hash="263cde539af500af911baec4e354079e"/><file name="Review.php" hash="72c94cb1f2a54bafffdb5672d87ecd4d"/><file name="Shipping.php" hash="1fe425496bd9720dc18bd076e56aca9e"/><file name="Stock.php" hash="4e645877e778ec8d02ae98262bfa9663"/><file name="Tag.php" hash="39e7b845ab157d2f707707576e868d64"/><file name="TierPrice.php" hash="9dd757c9c3d193944a5727fbe5cf4704"/><file name="Validation.php" hash="0be71640c1df60ab809347194ec66457"/><file name="Visibility.php" hash="d60c6b8ec486da4afdc46a00d65ad172"/><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/><dir name="media"><file name="Attachment.php" hash="c074ef3426c2506350cbf5ff0133c89d"/><file name="Image.php" hash="c9319f2a82811239313e328eaf7e2094"/><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir></dir><file name="orders.php" hash="aeb0df3eab7b68d1189dc6851fb96a24"/><file name="redirect.php" hash="568c682f66c4434188c604158029db57"/></dir><dir name="config"><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir><file name="index.php" hash="de19abc78063ea9a4112964c79946f1c"/><file name="shopgate.php" hash="f0482cc4027105bb5d423ddde01e7ac7"/><file name="shopgate_license.txt" hash="21fbb2f00b832416916b27c5e3f5d6d1"/><dir name="temp"><dir name="cache"><file name="index.php" hash="7573387748996e2dd9e02a237056f158"/></dir><file name="index.php" hash="7573387748996e2dd9e02a237056f158"/><dir name="logs"><file name="index.php" hash="7573387748996e2dd9e02a237056f158"/></dir></dir><dir name="vendors"><file name="2d_is.php" hash="087decaca87ee85d548d8caaa43f1212"/><file name="BSD_license.txt" hash="2df4dd93533ca2c19f6f2d601bc3e0d5"/><file name="JSON.php" hash="c8398aeb5c3c71aeb1813389d9a030af"/><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir><file name=".htaccess" hash="34479bc8d9df775c38a980ecaf6f3f4b"/></dir></target><target name="mage"><dir name="app"><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="shopgate.xml" hash="608ba89093ef89e1c182cd6085dbf3b1"/></dir><dir name="template"><dir name="shopgate"><file name="mobile_website.phtml" hash="229cbefd12ea77676f8af9c7159528ea"/><dir name="payment"><file name="mobile_payment.phtml" hash="1e18979028fb13e99af7c595c75a5d27"/><file name="shopgate.phtml" hash="1e18979028fb13e99af7c595c75a5d27"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="shopgate.xml" hash="8bab300fb25a48cd2c8119ae1942ed54"/></dir><dir name="template"><dir name="shopgate"><dir name="oauth"><dir name="config"><file name="connector.phtml" hash="478c309bdde7834bf20a48b65a4699fb"/></dir><dir name="connect"><file name="info.phtml" hash="4f75dc4311616081873a7d416b96c1c2"/><file name="overlay.phtml" hash="2a17d5b6ff8023568437b194f8a9d482"/></dir><file name="connect.phtml" hash="6956aa22eedf549c4565304b4e4a4ab9"/><file name="data.phtml" hash="09b4c5d83863f104db7a018510cdb315"/><file name="disconnect.phtml" hash="2858cebe9004c9fb5764f79faee46f87"/><file name="manage.phtml" hash="1f99255efbce4dbdc1ee781820d455b8"/></dir><dir name="payment"><file name="mobile_payment.phtml" hash="2892e0dd200db6c0ffa5fa83f87d838c"/><file name="shopgate.phtml" hash="5457030290f8aa08c2711a8bd27c3dee"/></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>shopgate_module</name>
4
+ <version>2.9.26</version>
5
  <stability>stable</stability>
6
  <license uri="http://wiki.shopgate.com/Magento/de">Shopgate Plugin</license>
7
  <channel>community</channel>
10
  <description>Shopgate Plugin</description>
11
  <notes>Shopgate Modul</notes>
12
  <authors><author><name>Peter Liebig</name><user>Shopgate</user><email>p.liebig@me.com</email></author><author><name>Stephan Recknagel</name><user>Shopgate</user><email>mail@recknagel.io</email></author><author><name>Andr&#xE9; Kraus</name><user>Shopgate</user><email>andre.kraus83@googlemail.com</email></author></authors>
13
+ <date>2015-11-24</date>
14
+ <time>13:05:47</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Shopgate_Framework.xml" hash="3fb114204bd038da711122083876f161"/></dir></target><target name="magecommunity"><dir name="Shopgate"><dir name="Framework"><dir name="Block"><dir name="Adminhtml"><dir name="OAuth"><dir name="Config"><file name="Connector.php" hash="890d04b08bf692c12b02f29abf813f83"/></dir><dir name="Connect"><dir name="Add"><file name="Form.php" hash="45685099b41a46919a9900d22c30b711"/></dir><file name="Info.php" hash="ee7bbc837bf3f298791b8496f2d6d565"/><file name="Overlay.php" hash="a6496896dccb5898b36e3e65585650f4"/></dir><file name="Connect.php" hash="cc7e43ba447b6338f6c50ccaa5fd073a"/><file name="Data.php" hash="1903e819d5d16abba4c37d7823909260"/><file name="Disconnect.php" hash="2545e56bca73577ba5f73fce0501624a"/><dir name="Manage"><file name="Grid.php" hash="78357b78fed0e8b3535a7e505c8f6425"/></dir><file name="Manage.php" hash="a99e12333f7c27771ca42a0764108639"/></dir></dir><file name="Info.php" hash="3dd73900370546289a6033942a0c0528"/><dir name="Payment"><file name="MobilePayment.php" hash="7de8af7ec46e107c46a73efaf2a02034"/><file name="Shopgate.php" hash="67af406fa04da70461b3580b8adea89d"/></dir><dir name="Totals"><file name="AbstractPaymentFee.php" hash="5e36647f536d1c6daba33cd6e0a5e302"/><file name="CreditmemoPaymentFee.php" hash="4a287f54554d8d45772db386f54a45e7"/><file name="InvoicePaymentFee.php" hash="818164536fe249016af3046aef73f181"/><file name="OrderPaymentFee.php" hash="55c8f62c4da8014c99414ece9cd125c4"/></dir><file name="Version.php" hash="2f45712bb20635ac17d8bdee213819e5"/></dir><dir name="Helper"><dir name="Billsafe"><file name="Order.php" hash="474c2aa15f352224c11c8ab17e921c9d"/></dir><file name="Config.php" hash="b0e489659332274686965e5e8d200d88"/><file name="Coupon.php" hash="519697b13040ddfbc8f460b6034c8779"/><file name="Customer.php" hash="c68047909c0c6e14977336ab6afe2f6b"/><file name="Data.php" hash="bf2db8a0a2c145cdb50f891f6d45ba85"/><file name="Debug.php" hash="82c85038046fc9b2f994df18b7f202a6"/><file name="Export.php" hash="f3b4bc188013333c063d74ee7a607a65"/><dir name="Import"><file name="Order.php" hash="adf21efa29fdba12edfaf0d34e0cb1fb"/></dir><file name="Install.php" hash="57f42693c9a6ddb18b8a25a2a5da7cf8"/><dir name="Payment"><file name="Abstract.php" hash="207f16aab8224761b7d91802b9fb10ee"/><file name="Payone.php" hash="ddced5955ff55105d8b3c91e0fcb0778"/><file name="Wspp.php" hash="4214f1d3332cd189cee3df48108ebd8d"/></dir><file name="Sales.php" hash="a5dfa9e90343a4da4e0791f62b802484"/></dir><dir name="Model"><dir name="Carrier"><file name="Fix.php" hash="31ccd9b4c8ac725e5b2c1dcee096dea8"/></dir><dir name="Cataloginventory"><file name="Stock.php" hash="42ffccc3d644f8b04358a3e76bda32dd"/></dir><dir name="Compiler"><file name="Process.php" hash="740452b7bc234417788db1f1ee892ef5"/></dir><file name="Config.php" hash="517c0cb6067762fcc10496f12ff43e22"/><file name="Customer.php" hash="97ed53ca3f69c7a24fb40cce11f58721"/><dir name="DreamRobot"><file name="Observer.php" hash="7b4e8922a46f5974b8edf359c632a9d3"/></dir><dir name="Export"><file name="Abstract.php" hash="9e86667845e8cebd8e0ccb8879b70b6d"/><dir name="Category"><file name="Csv.php" hash="72f4f58345d95f8f621783bedf2a092e"/><file name="Xml.php" hash="12ab046b9a000636ed4ed5eefb770af2"/></dir><file name="Category.php" hash="5a41141ecec85669674ec818c4661cdc"/><dir name="Customer"><file name="Orders.php" hash="30123a6fe3e391fca911fed042b256c8"/></dir><file name="Customer.php" hash="2711476c9538a22242d1511649ec77f1"/><dir name="Product"><file name="Csv.php" hash="50cd5a66e8034f3584140f91b56fe03d"/><file name="Xml.php" hash="dab076d305d805d4ada6e5649d4fb7d8"/></dir><file name="Product.php" hash="d9c807df57af3f1cced2d9bb433338ec"/><dir name="Review"><file name="Csv.php" hash="5c72f802a2de256ca1ec8dab1b75b291"/><file name="Xml.php" hash="bc16f60d9ed20705422921955a5071fe"/></dir><file name="Review.php" hash="ad6f548035a30da642d2459354acbb40"/><file name="Settings.php" hash="bd868e74806ec79e93c0fb6f4fcfdd3f"/></dir><file name="Feed.php" hash="fb99cd7b2b3d94908848b722df666b67"/><dir name="Mobile"><file name="Redirect.php" hash="8915ada38de387aabb2dc4580368d347"/></dir><dir name="Mysql4"><dir name="Core"><file name="Core.php" hash="fc129d4d929f83e8389367b9c5d6d5e1"/></dir><dir name="Customer"><file name="Collection.php" hash="89d31997abc3c2145f74e02dd5456a7c"/></dir><file name="Customer.php" hash="d5f460b2d5bfa87b8368a8a6c6b51115"/><file name="Product.php" hash="6a99b3d0de44dfbd132ce9caca19034e"/><dir name="Shopgate"><dir name="Order"><file name="Collection.php" hash="e180ba816be47239828bea65cd5f8445"/></dir><file name="Order.php" hash="c297847e39ad01307dba4a69c13445f2"/></dir></dir><file name="Observer.php" hash="e43ed49cd3058d31c64124dc54dd6a6a"/><dir name="Payment"><dir name="Abstract"><file name="AbstractPayol.php" hash="0228e80536a7decbbc0a883a4bde0d0d"/></dir><file name="Abstract.php" hash="873534555f767d24d1b0ab378267e8b9"/><file name="Amazon.php" hash="c90003246111cf066270015b41cb7ff9"/><file name="Authorize.php" hash="6f747fb258e59137cc5dadc179664246"/><file name="Billsafe.php" hash="1c97ec04356ae4ed25c1492a317eaaff"/><dir name="Cc"><file name="Abstract.php" hash="2b291ac14d9e1e3120416d6aeb4c3487"/><file name="Authn.php" hash="5c4c0d849d8d22dab1e6bf374dfc6c79"/><file name="AuthnAbstract.php" hash="59c3e39376e695ac161d228fc9a3fabf"/><dir name="Authncim"><file name="Gateway.php" hash="1f8df3fe0e50f4729bebfc1d4763b015"/><file name="Method.php" hash="aa6916548a71848ad7c83e4f053bc27e"/></dir><file name="Authncim.php" hash="89f1c2a0bb59d08c895da84c14c325ff"/><file name="Chargeitpro.php" hash="6fd3a2fd42df00831d6e363a23a414f1"/><file name="Usaepay.php" hash="00bd8969c1eceb13eacbb37ed9a1f714"/></dir><file name="Cc.php" hash="076a0faf0705c821c5479a2ec4a33c8d"/><file name="Express.php" hash="242b1fc3b238b907ac616680aa446401"/><file name="Factory.php" hash="212e33a78fc1e175d778347c4e4cffee"/><file name="Generic.php" hash="666f06186d1bb96b94af287d221e27c5"/><dir name="Ins"><file name="Payol.php" hash="b6961c4ab1fb9a95ab2d470aeaad8d29"/></dir><file name="Interface.php" hash="151002297bcce208b85bd260c7a25b47"/><dir name="Inv"><file name="Payol.php" hash="6d1c28b2ea2fb2fd63e09712f4533c77"/></dir><file name="MobilePayment.php" hash="59554c65e778831f6add450e0f846f42"/><dir name="Payone"><file name="Abstract.php" hash="e4538042b15ce2ba027a189ae2887861"/><file name="BankAbstract.php" hash="fa4ef2c918868001c5f1df97cb4bc400"/><file name="Cc.php" hash="11e68f50ea43bf73b31c53efea0cbc4d"/><file name="Dbt.php" hash="7f098887ba6f12669a18f62d7885de6d"/><file name="Gp.php" hash="7686149aedae93b0d5eef0b06fc08d7e"/><file name="Idl.php" hash="57d144744565ff644db917cab7ef689e"/><file name="Inv.php" hash="91d893ee5eacdc00ff8fbb3f1b750894"/><file name="Klv.php" hash="f82fb0cc874ea8f1121f282372e4e404"/><file name="Pp.php" hash="1165aa67ef8ccdc93a2eb0b7bf03f3d0"/><file name="Prp.php" hash="76079d7e154c3a982b1d117793942c3a"/><file name="Sue.php" hash="31280f2c8abf21f0a582b656fb0d38ad"/></dir><dir name="Pp"><file name="Abstract.php" hash="e6c5afcb0653d2ec3de3bd5d1442b355"/><file name="Wspp.php" hash="5c4d194c7814416491892f4cbe272d9f"/></dir><file name="Pp.php" hash="c521bbb32aed313c0170dd6e8361f934"/><dir name="Ppal"><file name="Plus.php" hash="a26adaab47adb3f3b84ff872673b4ed1"/></dir><file name="Router.php" hash="1df693718ebb4b71d2ae790678927194"/><file name="Shopgate.php" hash="f0d59e2a4369f7a22e47cf9c3bb9c44a"/><dir name="Simple"><file name="Billsafe.php" hash="d352d66d5101454f4cfec46e4fcaa88a"/><dir name="Cod"><file name="Abstract.php" hash="7bcb77e2906200f8a7576a24d782d541"/><file name="Msp.php" hash="da63e630e339f73b1047f9be2fc13a80"/><file name="Native.php" hash="a18abef66d98a08e988bafa1564dfaa2"/><file name="Phoenix107.php" hash="958990a7ec99a4c102b335e68db4f563"/><file name="Phoenix108.php" hash="912cb903da51a2056f03d75c566dbc7b"/></dir><file name="Cod.php" hash="0688749cd9110544d01e5c1130be3005"/><file name="Invoice.php" hash="a86d8500a0dee3056e56b0ccfb1fae3d"/><dir name="Mws"><file name="Abstract.php" hash="691b330380b702954526ef356088ed7f"/><file name="Mws.php" hash="e919cd10f5be16e404a2aac43211005b"/><file name="Mws15.php" hash="db272b23821ea5010fe0e19023b9ca81"/></dir><file name="Mws.php" hash="e19cdfee86d84d80a234138a5f86c5af"/><dir name="Paypal"><file name="Express.php" hash="e2d33dbc600503d9a7541ab53df60662"/><file name="Standard.php" hash="5281ddc90f8f560b6cffa2e97fe08304"/><file name="Standard1400.php" hash="d80d26e8189b12c9796929dfad77f6c8"/></dir><file name="Paypal.php" hash="03a7c4b8e193d262aa2dbd51cdac3ab8"/><dir name="Prepay"><file name="Abstract.php" hash="89767868690e40bc3d96f8bee4484880"/><file name="Checkmo.php" hash="781dd32522f7bc97c62313cb76429633"/><file name="Native.php" hash="48542e3e9ad2bafb504a200a6529eccc"/><file name="Phoenix.php" hash="7118e404d6f1755cdab35dbc2c8f058d"/></dir><file name="Prepay.php" hash="eb79f9f8469652e91b11fd5d714db84f"/><file name="Shopgate.php" hash="5fb1a053ac9b69e5d38bc9f6631ee8f1"/><dir name="Sue"><file name="Abstract.php" hash="d07d6b3a5702b458ed4e5f4574e3ced9"/><file name="Sue118.php" hash="759f4a7e103f9f9f4457aa1d0694c26d"/><file name="Sue300.php" hash="c804244222e5fe67ead8916c5c1ffef1"/></dir><file name="Sue.php" hash="6802dc052e2088957329689b003a16f8"/></dir><file name="Simple.php" hash="e4f0b3cd8282c2661cb19eabdb77d075"/><file name="Usaepay.php" hash="50e049e1cae29abbd7027cf842878540"/><file name="Wspp.php" hash="23b0420ff59dc0bfa7940bf0f07562fc"/></dir><dir name="Resource"><dir name="Core"><file name="Config.php" hash="0ee7969070ab0dddfdd3bb2cc404cd3c"/></dir><dir name="Customer"><file name="Collection.php" hash="2ddb7db1355100bc9e86f966f1d4612c"/></dir><file name="Customer.php" hash="69848842d4be07be4d66d700a7b6695b"/><file name="Product.php" hash="5c62ef4cfc3f0ebbbe5a9a46d1c25dfa"/><file name="Setup.php" hash="7b5cc0f99c857e9292638c1fbeb43969"/><dir name="Shopgate"><dir name="Connection"><file name="Collection.php" hash="f294d4239cee276b7e3c5e6e2109de66"/><dir name="Grid"><file name="Collection.php" hash="d499139d50dffbfe1b1e868b5aeeee0f"/></dir></dir><dir name="Order"><file name="Collection.php" hash="2c18a4ca248ca8719e7ead85f0c57619"/></dir><file name="Order.php" hash="1942eeb8268781c499f8cad384081b02"/></dir></dir><dir name="Sales"><dir name="Creditmemo"><dir name="Total"><file name="ShopgatePaymentFee.php" hash="614d1e96cd2c97e0fcd7db86ee3aad89"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="ShopgatePaymentFee.php" hash="c4400832de32367067fd5396bcf7bfc8"/></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="ShopgatePaymentFee.php" hash="7a309b69fb20fb6fcae5f3b77f5b7ba9"/></dir></dir></dir></dir><dir name="Search"><dir name="Shopgate"><file name="Order.php" hash="94dcf366528641687b89ab0c9f973ef5"/></dir></dir><dir name="Shopgate"><dir name="Cart"><dir name="Validation"><dir name="Stock"><file name="Bundle.php" hash="7cc03239fbefe3a8e71755a178299944"/><file name="Simple.php" hash="9da9891d52c89e0772af5bcea7581ae8"/></dir><file name="Stock.php" hash="03d8139aa9840d707c8e4cb991bca20f"/></dir></dir><file name="Connection.php" hash="ff0da764d444103f5892ef21e23ba353"/><file name="Order.php" hash="89e0e425fc48282c1b46d3078b294be1"/><file name="Plugin.php" hash="909b58f1bb4b0a4228415fc6e7b22ab8"/><dir name="Shipping"><dir name="Mapper"><file name="Carrier.php" hash="ef57904070fdf7921e51e88c3991c029"/><dir name="Method"><file name="Abstract.php" hash="bb402c49f3da66f7bd4baf5b215f989e"/><file name="Interface.php" hash="1bab00e6e0356184c3f213acfce601da"/><file name="Shopgate.php" hash="af8e1ade067d1b9fb0e5b493ad814576"/><file name="Usps.php" hash="14969ce8762a7fa5e5e5d6bc64285f52"/></dir></dir><file name="Mapper.php" hash="b93ac160c4c176c77887a23593ab058c"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="8dfc3964b750aebac8db5f584559d5c3"/><dir name="Description"><file name="List.php" hash="c83f37019461ab7adc86a57400f63761"/></dir><file name="Description.php" hash="d0dcebc9d75fdb0bb80f3c3faba6397c"/><file name="Enabledisable.php" hash="7f189c26cd1c2c7f1cd6dc56379798b5"/><dir name="Item"><file name="Sort.php" hash="2dc75f9c1e8baaddbf895945acd2ff19"/></dir><dir name="Product"><file name="Image.php" hash="e9d0e7c5769446290094d2b67e5c468b"/><file name="Names.php" hash="98de8ee7ae9b3c504eb087f5e09d3afd"/><file name="Types.php" hash="007b54c2e095691380c21a5ab62846fc"/></dir><dir name="Redirect"><file name="Types.php" hash="c5d3c44ab1f5ba74224b41836b14afff"/></dir><file name="Server.php" hash="b569e24076ca68c4063729fb708b666a"/><file name="Store.php" hash="cb2998beb43ba8afeeaa5b64a5b5e946"/><dir name="Validation"><file name="Config.php" hash="77382cb829f4b3b50120d7e1359e0051"/></dir><dir name="Variation"><dir name="Export"><file name="Type.php" hash="bb19358c2c2fbee3cb9776f3540faa20"/></dir></dir><dir name="Weight"><file name="Units.php" hash="10af44d670bcfdb559f4196c7006e893"/></dir></dir></dir></dir></dir><dir name="Test"><dir name="Controller"><dir name="FrameworkController"><dir name="fixtures"><file name="testPluginNotActive.yaml" hash="9e25f93814834419e9c83995021860c2"/></dir></dir><file name="FrameworkController.php" hash="32030559addc710d40c99c9fbd0d5856"/></dir><dir name="Helper"><dir name="Data"><dir name="providers"><file name="testCalculateTaxRate.yaml" hash="2b1fb398f41a0d7706ab9701d77ce978"/></dir></dir><file name="Data.php" hash="d641528ef7674e616b6f1ea1d9dea7c6"/></dir></dir><file name="changelog.txt" hash="265a99471b2459b7f9bf58e695c20d88"/><dir name="controllers"><dir name="Adminhtml"><file name="ShopgateController.php" hash="cd2305edb0348a15f956d20d39433778"/></dir><file name="FrameworkController.php" hash="2aec53db3cedaf901ef6199dc000cda2"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d1f345ca5fc8b0619234f9c270fb84a7"/><file name="config.xml" hash="606bdef221be472e078a58fd77c5cfb0"/><file name="system.xml" hash="b715fdbd76766e347c0f30a8122e58ed"/></dir><file name="licence.txt" hash="dec6ca25c420b36a2e400caf1541c923"/><dir name="sql"><dir name="shopgate_setup"><file name="mysql4-install-0.1.0.php" hash="069abba038757da43b2ca6c5a0c82aba"/><file name="mysql4-install-2.1.45.php" hash="eddddf157e55a87edc77361dde564463"/><file name="mysql4-install-2.2.0.php" hash="eddddf157e55a87edc77361dde564463"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="cc637fc1bc511e745f02a56d0b36e3be"/><file name="mysql4-upgrade-1.0.5-1.0.7.php" hash="1e800d9d235b817bf5be698288bc0129"/><file name="mysql4-upgrade-2.1.44-2.1.45.php" hash="134d0b665746c61d364f6fd93d83f46c"/><file name="mysql4-upgrade-2.1.49-2.1.50.php" hash="e0fd395bb9c25c0e544c455186cfe7c9"/><file name="mysql4-upgrade-2.4.28-2.4.29.php" hash="9c8c868ce90e42b56182b23b78d6fbe7"/><file name="mysql4-upgrade-2.4.29-2.4.30.php" hash="ca3ee1e2f337bcea26264a17f603548e"/><file name="mysql4-upgrade-2.7.5-2.8.0.php" hash="34393a58a0b4ec90b4e618d3ff4cc565"/><file name="mysql4-upgrade-2.9.15-2.9.16.php" hash="980e7cc83f912ef4f630ef8d1cb964d1"/><file name="mysql4-upgrade-2.9.4-2.9.5.php" hash="89a34b7b9ad2eec492055e52e7e75049"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Shopgate_Framework.csv" hash="e842a47237b2e613a22e5584108b8b2a"/></dir><dir name="de_CH"><file name="Shopgate_Framework.csv" hash="e842a47237b2e613a22e5584108b8b2a"/></dir><dir name="de_AT"><file name="Shopgate_Framework.csv" hash="664a8dc7470fd9675ca7a67f2bcd1325"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="shopgate"><file name="logo.png" hash="b7139047ecc90b15a5710ab0fe77fc81"/><file name="logo_big.png" hash="b98bfcf09766589506a1cca24ca47972"/><file name="logo_small.png" hash="7abf7f774c592eb582c2856e027af798"/><file name="oauth_connect.js" hash="8e5c77d9ad1354f826445f03c91008f4"/><file name="shopgate_admin.css" hash="0fbc07171267b9fb5dba7004a0858f66"/><file name="target.js" hash="80484a4dae515f708c97545d9959673a"/></dir></dir></dir></dir></target><target name="magelib"><dir name="Shopgate"><dir name="assets"><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/><file name="js_header.html" hash="f9865eae13ed93fd41788aa27b0391ee"/><file name="link_tag.html" hash="4798d67e30ef4a76dd8435326421673d"/><file name="mobile_header.html" hash="17616650e160eaccd24e25729396c5a9"/></dir><file name="changelog.txt" hash="eae57d66fcc7d54725202ac2ecde9076"/><dir name="classes"><file name="apis.php" hash="61ceeade474c9dffa98c9c15691cae7f"/><file name="configuration.php" hash="6b95519eed1c7bde3951e4ea52463181"/><file name="core.php" hash="009ad053c7bbe46d02083ec011b4893f"/><file name="customers.php" hash="3bc00737d0cfd788c24f52b303babd8a"/><file name="external_orders.php" hash="811471d13c2a3c5aa5d1a1eb859f74e6"/><dir name="helper"><file name="DataStructure.php" hash="ece9e9f855756777f543d090f5ecc710"/><file name="Pricing.php" hash="fd4c74999abc3bfa05fd74994a2ce78f"/><file name="String.php" hash="10c9396b2975bf0bde86f171932c3074"/><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/><file name="items.php" hash="7a361efd0a5327c0ad0f0745c1b74cc0"/><dir name="models"><file name="Abstract.php" hash="a32633283eb403a55a166bbad70b3e2f"/><file name="AbstractExport.php" hash="f265f9e906208e1799994d117582be20"/><file name="XmlEmptyObject.php" hash="d6cfdae3bdd858d4f10fcebdb542f533"/><file name="XmlResultObject.php" hash="340804eb0f2ba6bcb6b05311b8bb1f11"/><dir name="catalog"><file name="Attribute.php" hash="28d8f3bc6c416661d1eaa77726ba7009"/><file name="AttributeGroup.php" hash="0270086ec8006ee8231c6b0baa8d6034"/><file name="Category.php" hash="beba58d2796cf7b4ca08ce68de65415b"/><file name="CategoryPath.php" hash="475869aef74c567c8569ee9953210faa"/><file name="Identifier.php" hash="d9a3b16d1fcdec641ca2b0fd77fbd625"/><file name="Input.php" hash="77df45fd89aec19565a5fae7178205bb"/><file name="Manufacturer.php" hash="e45f534f5f6acad118be24ffc63a0460"/><file name="Option.php" hash="fd95fe72bff985ae0b2861da115e2468"/><file name="Price.php" hash="3cb25372ae58bd0c71b342f9ef2dca73"/><file name="Product.php" hash="7e7c49e10b379eae5d0141efe2c91305"/><file name="Property.php" hash="5967f0403a606a27ea4fec71a8402327"/><file name="Relation.php" hash="263cde539af500af911baec4e354079e"/><file name="Review.php" hash="72c94cb1f2a54bafffdb5672d87ecd4d"/><file name="Shipping.php" hash="1fe425496bd9720dc18bd076e56aca9e"/><file name="Stock.php" hash="4e645877e778ec8d02ae98262bfa9663"/><file name="Tag.php" hash="39e7b845ab157d2f707707576e868d64"/><file name="TierPrice.php" hash="9dd757c9c3d193944a5727fbe5cf4704"/><file name="Validation.php" hash="0be71640c1df60ab809347194ec66457"/><file name="Visibility.php" hash="d60c6b8ec486da4afdc46a00d65ad172"/><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/><dir name="media"><file name="Attachment.php" hash="c074ef3426c2506350cbf5ff0133c89d"/><file name="Image.php" hash="c9319f2a82811239313e328eaf7e2094"/><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir></dir><file name="orders.php" hash="aeb0df3eab7b68d1189dc6851fb96a24"/><file name="redirect.php" hash="568c682f66c4434188c604158029db57"/></dir><dir name="config"><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir><file name="index.php" hash="de19abc78063ea9a4112964c79946f1c"/><file name="shopgate.php" hash="f0482cc4027105bb5d423ddde01e7ac7"/><file name="shopgate_license.txt" hash="21fbb2f00b832416916b27c5e3f5d6d1"/><dir name="temp"><dir name="cache"><file name="index.php" hash="7573387748996e2dd9e02a237056f158"/></dir><file name="index.php" hash="7573387748996e2dd9e02a237056f158"/><dir name="logs"><file name="index.php" hash="7573387748996e2dd9e02a237056f158"/></dir></dir><dir name="vendors"><file name="2d_is.php" hash="087decaca87ee85d548d8caaa43f1212"/><file name="BSD_license.txt" hash="2df4dd93533ca2c19f6f2d601bc3e0d5"/><file name="JSON.php" hash="c8398aeb5c3c71aeb1813389d9a030af"/><file name="index.php" hash="bfc5021f1ee9b67f78a0fc9fdab6c558"/></dir><file name=".htaccess" hash="34479bc8d9df775c38a980ecaf6f3f4b"/></dir></target><target name="mage"><dir name="app"><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="shopgate.xml" hash="608ba89093ef89e1c182cd6085dbf3b1"/></dir><dir name="template"><dir name="shopgate"><file name="mobile_website.phtml" hash="229cbefd12ea77676f8af9c7159528ea"/><dir name="payment"><file name="mobile_payment.phtml" hash="1e18979028fb13e99af7c595c75a5d27"/><file name="shopgate.phtml" hash="1e18979028fb13e99af7c595c75a5d27"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="shopgate.xml" hash="8bab300fb25a48cd2c8119ae1942ed54"/></dir><dir name="template"><dir name="shopgate"><dir name="oauth"><dir name="config"><file name="connector.phtml" hash="478c309bdde7834bf20a48b65a4699fb"/></dir><dir name="connect"><file name="info.phtml" hash="4f75dc4311616081873a7d416b96c1c2"/><file name="overlay.phtml" hash="2a17d5b6ff8023568437b194f8a9d482"/></dir><file name="connect.phtml" hash="6956aa22eedf549c4565304b4e4a4ab9"/><file name="data.phtml" hash="09b4c5d83863f104db7a018510cdb315"/><file name="disconnect.phtml" hash="2858cebe9004c9fb5764f79faee46f87"/><file name="manage.phtml" hash="1f99255efbce4dbdc1ee781820d455b8"/></dir><dir name="payment"><file name="mobile_payment.phtml" hash="2892e0dd200db6c0ffa5fa83f87d838c"/><file name="shopgate.phtml" hash="5457030290f8aa08c2711a8bd27c3dee"/></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>