iparcel_connect - Version 2.4.1.16

Version Notes

Notes

Download this release

Release Info

Developer Patryk Grudniewski
Extension iparcel_connect
Version 2.4.1.16
Comparing to
See all releases


Code changes from version 2.4.1.15 to 2.4.1.16

app/code/community/Iparcel/Shipping/Helper/Api.php CHANGED
@@ -7,11 +7,11 @@
7
  * @author Patryk Grudniewski <patryk.grudniewski@sabiosystem.com>
8
  */
9
  class Iparcel_Shipping_Helper_Api{
10
- protected $_submitCatalog = 'http://globalaccesswebservices.azurewebsites.net/api/SubmitCatalog';
11
- protected $_quote = 'http://globalaccesswebservices.azurewebsites.net/api/Quote';
12
- protected $_submitParcel = 'http://globalaccesswebservices.azurewebsites.net/api/SubmitParcel';
13
- protected $_businessSettings = 'http://globalaccesswebservices.azurewebsites.net/api/BusinessSettings';
14
- protected $_checkItems = 'http://globalaccesswebservices.azurewebsites.net/api/CheckItems';
15
 
16
  /**
17
  * Sending REST
@@ -22,6 +22,11 @@ class Iparcel_Shipping_Helper_Api{
22
  protected function _rest($post, $url, array $header){
23
  $curl = curl_init($url);
24
 
 
 
 
 
 
25
  curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
26
  curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
27
  curl_setopt($curl, CURLOPT_POST, true);
@@ -403,7 +408,7 @@ class Iparcel_Shipping_Helper_Api{
403
 
404
  $json['OtherDiscount'] = $discount;
405
  $json['OtherDiscountCurrency'] = $quote->getQuoteCurrencyCode();
406
- $json['ParcelID'] = Mage::getSingleton('customer/session')->getParcelId();
407
  $json['ServiceLevel'] = 115;
408
  $json['SessionID'] = '';
409
  $json['key'] = Mage::helper('shippingip')->getGuid();
7
  * @author Patryk Grudniewski <patryk.grudniewski@sabiosystem.com>
8
  */
9
  class Iparcel_Shipping_Helper_Api{
10
+ protected $_submitCatalog = 'http://webservices.i-parcel.com/api/SubmitCatalog';
11
+ protected $_quote = 'http://webservices.i-parcel.com/api/Quote';
12
+ protected $_submitParcel = 'http://webservices.i-parcel.com/api/SubmitParcel';
13
+ protected $_businessSettings = 'http://webservices.i-parcel.com/api/BusinessSettings';
14
+ protected $_checkItems = 'http://webservices.i-parcel.com/api/CheckItems';
15
 
16
  /**
17
  * Sending REST
22
  protected function _rest($post, $url, array $header){
23
  $curl = curl_init($url);
24
 
25
+ $timeout = Mage::getStoreConfig('iparcel/config/timeout');
26
+ if($timeout){
27
+ curl_setopt($curl, CURLOPT_TIMEOUT,$timeout);
28
+ }
29
+
30
  curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
31
  curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
32
  curl_setopt($curl, CURLOPT_POST, true);
408
 
409
  $json['OtherDiscount'] = $discount;
410
  $json['OtherDiscountCurrency'] = $quote->getQuoteCurrencyCode();
411
+ $json['ParcelID'] = Mage::getSingleton('checkout/session')->getParcelId();
412
  $json['ServiceLevel'] = 115;
413
  $json['SessionID'] = '';
414
  $json['key'] = Mage::helper('shippingip')->getGuid();
app/code/community/Iparcel/Shipping/Helper/International.php CHANGED
@@ -13,7 +13,7 @@ class Iparcel_Shipping_Helper_International{
13
  * @return bool
14
  */
15
  public function getInternational(){
16
- return Mage::getSingleton('customer/session')->getInternationalFlag();
17
  }
18
 
19
  /**
@@ -22,9 +22,9 @@ class Iparcel_Shipping_Helper_International{
22
  * @param bool $v
23
  * @return bool
24
  */
25
- public function setInternational(bool $v){
26
- Mage::getSingleton('customer/session')->setInternationalFlag($v);
27
- return Mage::getSingleton('customer/session')->getInternationalFlag();
28
  }
29
 
30
  /**
@@ -54,4 +54,3 @@ class Iparcel_Shipping_Helper_International{
54
  return Mage::getModel('catalog/resource_eav_attribute')->load($this->getVisibilityAttributeId())->getName();
55
  }
56
  }
57
- ?>
13
  * @return bool
14
  */
15
  public function getInternational(){
16
+ return Mage::getSingleton('checkout/session')->getInternationalFlag();
17
  }
18
 
19
  /**
22
  * @param bool $v
23
  * @return bool
24
  */
25
+ public function setInternational($v){
26
+ Mage::getSingleton('checkout/session')->setInternationalFlag($v);
27
+ return Mage::getSingleton('checkout/session')->getInternationalFlag();
28
  }
29
 
30
  /**
54
  return Mage::getModel('catalog/resource_eav_attribute')->load($this->getVisibilityAttributeId())->getName();
55
  }
56
  }
 
app/code/community/Iparcel/Shipping/Model/Api/External/Sales/Order.php CHANGED
@@ -375,8 +375,7 @@ class Iparcel_Shipping_Model_Api_External_Sales_Order extends Varien_Object{
375
  * @return Iparcel_Shipping_Model_Api_External_Sales_Order
376
  */
377
  public function setTrackingNumber($number){
378
- Mage::getSingleton('customer/session')->setTrackingNumber($number);
379
  return parent::setTrackingNumber($number);
380
  }
381
  }
382
- ?>
375
  * @return Iparcel_Shipping_Model_Api_External_Sales_Order
376
  */
377
  public function setTrackingNumber($number){
378
+ Mage::getSingleton('checkout/session')->setTrackingNumber($number);
379
  return parent::setTrackingNumber($number);
380
  }
381
  }
 
app/code/community/Iparcel/Shipping/Model/Carrier/Iparcel.php CHANGED
@@ -95,97 +95,104 @@ class Iparcel_Shipping_Model_Carrier_Iparcel extends Mage_Shipping_Model_Carrier
95
 
96
  /**
97
  * Collect shipping rates for i-parcel shipping
 
98
  *
99
  * @param Mage_Shipping_Model_Rate_Request $request
100
- * @return Mage_Shipping_Model_Rate_Result
101
  */
102
- public function collectRates(Mage_Shipping_Model_Rate_Request $request) {
103
- try {
104
- if(Mage::getStoreConfig('carriers/i-parcel/active'))
105
- {
106
- $iparcel = array();
107
- // array for tax&duty totals
108
-
109
- $result = Mage::getModel('shipping/rate_result');
110
- /*var $result Mage_Shipping_Model_Rate_Result */
111
- $businessSettings = Mage::helper('shippingip/api')->businessSettings();
112
- /* var $businessSettings stdClass */
113
-
114
- // collect rates only if the business settings model is 2 or 3
115
- if(/*true || */in_array($businessSettings->model,array (2,3)))
116
- {
117
- $quote = Mage::helper('shippingip/api')->quote($request);
118
- /* var $quote stdClass */
119
-
120
- // set parcelId to session
121
- Mage::getSingleton('customer/session')->setParcelId($quote->ParcelID);
122
-
123
- $serviceLevel = $quote->ServiceLevels;
124
-
125
- //$serviceLevel = (object)array(
126
- //(object)array(
127
- //'ServiceLevelID' => 'test1',
128
- //'DutyCompanyCurrency' => '2.33',
129
- //'TaxCompanyCurrency' => '3.33',
130
- //'ShippingChargeCompanyCurrency' => '4.33'
131
- //),
132
- //(object)array(
133
- //'ServiceLevelID' => 'test2',
134
- //'DutyCompanyCurrency' => '3.33',
135
- //'TaxCompanyCurrency' => '4.33',
136
- //'ShippingChargeCompanyCurrency' => '5.33'
137
- //)
138
- //);
139
-
140
- // Handling serviceLevels results and set up the shipping method
141
- foreach ($serviceLevel as $ci) {
142
- // setting up values
143
- $servicename = $ci->ServiceLevelID;
144
-
145
- $cursym = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
146
-
147
- $duty = number_format((float) $ci->DutyCompanyCurrency, 2, '.', '');
148
- $tax = number_format((float) $ci->TaxCompanyCurrency, 2, '.', '');
149
- $shipping = number_format((float) $ci->ShippingChargeCompanyCurrency, 2, '.', '');
150
-
151
- $tax_flag = Mage::getStoreConfig('iparcel/tax/mode') == Iparcel_Shipping_Model_System_Config_Source_Tax_Mode::DISABLED;
152
- // true if tax intercepting is disabled
153
-
154
- $total = number_format($tax_flag ? (float)$duty+$tax+$shipping : (float)$shipping, 2, '.', '');
155
- $shiplabel = Mage::getStoreConfig('carriers/i-parcel/whitelabelship');
156
- $title = $tax_flag ? Mage::helper('shippingip')->__('%s (Shipping Price: %s Duty: %s Tax: %s)',$shiplabel,$cursym.$shipping,$cursym.$duty,$cursym.$tax) : $shiplabel;
157
-
158
- $method = Mage::getModel('shipping/rate_result_method');
159
- $method->setCarrier('i-parcel');
160
- $method->setCarrierTitle('i-parcel');
161
- $method->setMethod($servicename);
162
- $method->setMethodTitle($title);
163
- $method->setPrice($total);
164
- $method->setCost($total);
165
- $method->setPriceOriginal($total);
166
- $method->setPriceDuty($duty);
167
- $method->setPriceTax($tax);
168
- $method->setPriceInsurance($total);
169
- $method->setPackageWeight($request->getPackageWeight());
170
- $method->setMethodDescription(Mage::getStoreConfig('carriers/i-parcel/whitelabelship').': '.Mage::getStoreConfig('carriers/i-parcel/backend_name'));
171
-
172
- // append method to result
173
- $result->append($method);
174
-
175
- $iparcel['i-parcel_'.$servicename] = array(
176
- 'duty' => $duty,
177
- 'tax' => $tax
178
- );
179
- }
180
- }
181
- Mage::unregister('iparcel');
182
- Mage::register('iparcel',$iparcel);
183
- return $result;
184
- }
185
- }catch(Exception $e){
186
- }
187
  }
188
 
 
 
 
 
 
 
 
 
 
 
 
189
  /**
190
  * Get Allowed Shipping Methods
191
  *
95
 
96
  /**
97
  * Collect shipping rates for i-parcel shipping
98
+ * refactor: add result check, add intermediate storage for parcel_id
99
  *
100
  * @param Mage_Shipping_Model_Rate_Request $request
101
+ * @return Mage_Shipping_Model_Rate_Result|bool
102
  */
103
+ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
104
+ {
105
+ try {
106
+ if (Mage::getStoreConfig('carriers/i-parcel/active')) {
107
+ $iparcel = array();
108
+ // array for tax&duty totals
109
+
110
+ $result = Mage::getModel('shipping/rate_result');
111
+ /*var $result Mage_Shipping_Model_Rate_Result */
112
+ $businessSettings = Mage::helper('shippingip/api')->businessSettings();
113
+ /* var $businessSettings stdClass */
114
+
115
+ // collect rates only if the business settings model is 2 or 3
116
+ if ($businessSettings &&
117
+ isset($businessSettings->model) &&
118
+ in_array($businessSettings->model, array(2, 3))) {
119
+ $quote = Mage::helper('shippingip/api')->quote($request);
120
+ /* var $quote stdClass */
121
+ if (!$quote) {
122
+ return false;
123
+ }
124
+
125
+ $serviceLevel = isset($quote->ServiceLevels) ?
126
+ $quote->ServiceLevels :
127
+ array();
128
+
129
+ // Handling serviceLevels results and set up the shipping method
130
+ foreach ($serviceLevel as $ci) {
131
+ // setting up values
132
+ $servicename = @$ci->ServiceLevelID;
133
+
134
+ $duty = (float)@$ci->DutyCompanyCurrency;
135
+ $tax = (float)@$ci->TaxCompanyCurrency;
136
+ $shipping = (float)@$ci->ShippingChargeCompanyCurrency;
137
+
138
+ $tax_flag = Mage::getStoreConfig('iparcel/tax/mode') == Iparcel_Shipping_Model_System_Config_Source_Tax_Mode::DISABLED;
139
+ // true if tax intercepting is disabled
140
+
141
+ $total = $tax_flag ? (float)($duty + $tax + $shipping) : (float)$shipping;
142
+ $shiplabel = Mage::getStoreConfig('carriers/i-parcel/whitelabelship');
143
+ $title = $tax_flag ?
144
+ Mage::helper('shippingip')
145
+ ->__('%s (Shipping Price: %s Duty: %s Tax: %s)',
146
+ $shiplabel,
147
+ $this->_formatPrice($shipping),
148
+ $this->_formatPrice($duty),
149
+ $this->_formatPrice($tax)) :
150
+ $shiplabel;
151
+
152
+ $method = Mage::getModel('shipping/rate_result_method');
153
+ $method->setCarrier('i-parcel');
154
+ $method->setCarrierTitle('i-parcel');
155
+ $method->setMethod($servicename);
156
+ $method->setMethodTitle($title);
157
+ $method->setPrice($total);
158
+ $method->setCost($total);
159
+ $method->setPriceOriginal($total);
160
+ $method->setPriceDuty($duty);
161
+ $method->setPriceTax($tax);
162
+ $method->setPriceInsurance($total);
163
+ $method->setPackageWeight($request->getPackageWeight());
164
+ $method->setMethodDescription(Mage::getStoreConfig('carriers/i-parcel/whitelabelship') . ': ' . Mage::getStoreConfig('carriers/i-parcel/backend_name'));
165
+
166
+ // append method to result
167
+ $result->append($method);
168
+
169
+ $iparcel['i-parcel_' . $servicename] = array(
170
+ 'duty' => $duty,
171
+ 'tax' => $tax
172
+ );
173
+ }
174
+ }
175
+ Mage::unregister('iparcel');
176
+ Mage::register('iparcel', $iparcel);
177
+ return $result;
178
+ }
179
+ } catch (Exception $e) {
180
+ Mage::logException($e);
181
+ }
182
+ return false;
 
 
 
 
 
183
  }
184
 
185
+ /**
186
+ * @param float|int $price
187
+ * @return string
188
+ */
189
+ protected function _formatPrice($price)
190
+ {
191
+ /** @var Mage_Core_Helper_Data $helper */
192
+ $helper = Mage::helper('core');
193
+ return $helper->formatPrice($price, false);
194
+ }
195
+
196
  /**
197
  * Get Allowed Shipping Methods
198
  *
app/code/community/Iparcel/Shipping/Model/Sales/Order/Observer.php CHANGED
@@ -54,50 +54,54 @@ class Iparcel_Shipping_Model_Sales_Order_Observer{
54
  * @param Mage_Sales_Model_Order $order
55
  */
56
  protected function _createShipment($order){
57
- if ($order->getQuote()){
58
- // if it's i-parcel shipping method
59
- if ($order->getShippingCarrier() && $order->getShippingCarrier()->getCarrierCode() == 'i-parcel'){
60
- if (!Mage::registry('isExternalSale') && Mage::getStoreConfigFlag('iparcel/config/submit_parcel')){
61
- /* var $submitParcel stdClass */
62
- $submitParcel = Mage::helper('shippingip/api')->submitParcel($order);
63
- Mage::getSingleton('customer/session')->setParcelId($submitParcel->ParcelID);
64
- }
65
- $tracking = Mage::getSingleton('customer/session')->getTrackingNumber();
66
- if (!$tracking && isset($submitParcel)){
67
- $tracking = $submitParcel->CarrierTrackingNumber;
68
- }
69
- /* var $tracking string */
70
- if ($tracking && !$this->_searchForTrackingNumber($order)){
71
- $order->addStatusHistoryComment('i-parcel tracking number: '.$tracking);
72
- }
73
- // if autoship is enabled and order can be shipped
74
- if (Mage::getStoreConfigFlag('carriers/i-parcel/autoship')){
75
- if ($order->canShip()){
76
- $converter = Mage::getModel('sales/convert_order');
77
- /* var $converter Mage_Sales_Model_Convert_Order */
78
- $shipment = $converter->toShipment($order);
79
- /* var $shipment Mage_Sales_Model_Order_Shipment */
80
- foreach ($order->getAllItems() as $orderItem){
81
- /* var $orderItem Mage_Sales_Model_Order_Item */
82
- // continue if it is virtual or there is no quantity to ship
83
- if (!$orderItem->getQtyToShip()) continue;
84
- if ($order->getIsVirtual()) continue;
85
- $item = $converter->itemToShipmentItem($orderItem);
86
- /* var $item Mage_Sales_Model_Order_Shipment_Item */
87
- $item->setQty($orderItem->getQtyToShip());
88
- $shipment->addItem($item);
89
- }
90
- $shipment->register();
91
- $shipment->getOrder()->setIsInProcess(true);
92
- $transactionSave = Mage::getModel('core/resource_transaction')
93
- ->addObject($shipment)
94
- ->addObject($order);
95
- /* var $transactionSave Mage_Core_Model_Resource_Transaction */
96
- $transactionSave->save();
97
- $shipment->save();
98
- $shipment->sendEmail();
99
- }
100
  }
 
 
 
 
 
 
 
 
 
101
  }
102
  }
103
  }
@@ -141,11 +145,11 @@ class Iparcel_Shipping_Model_Sales_Order_Observer{
141
  * @param Mage_Sales_Model_Order $order
142
  */
143
  protected function _saveTaxDuty($order){
144
- $custSess = Mage::getSingleton('customer/session');
145
  /* var $custSess Mage_Customer_Model_Session */
146
- $_taxduty = $custSess->getTaxDutyTotal();
147
  /* var $_taxduty array */
148
- $custSess->unsTaxDutyTotal();
149
  if ($_taxduty && $order->getShippingCarrier()->getCarrierCode() == 'i-parcel'){
150
  try{
151
  $taxduty = Mage::getModel('shippingip/tax_totals');
@@ -154,7 +158,9 @@ class Iparcel_Shipping_Model_Sales_Order_Observer{
154
  $taxduty->setTax($_taxduty['tax']);
155
  $taxduty->setDuty($_taxduty['duty']);
156
  $taxduty->save();
157
- }catch (Exception $e){}
 
 
158
  }
159
  }
160
 
@@ -165,7 +171,7 @@ class Iparcel_Shipping_Model_Sales_Order_Observer{
165
  * @param Mage_Sales_Model_Order $order
166
  */
167
  protected function _processTaxDuty($order){
168
- $_taxduty = Mage::getSingleton('customer/session')->getTaxDutyTotal();
169
  /* var $_taxduty array */
170
  $order->setBaseGrandTotal($order->getBaseGrandTotal()+$_taxduty['tax']+$_taxduty['duty']);
171
  $order->setGrandTotal($order->getGrandTotal()+$_taxduty['tax']+$_taxduty['duty']);
@@ -229,13 +235,15 @@ class Iparcel_Shipping_Model_Sales_Order_Observer{
229
  $this->_initParcel($order);
230
  }
231
 
232
- /**
233
- * sales_order_place_after event handler
234
- */
235
- public function after_place($observer){
236
- $order = $observer->getOrder();
237
- $this->_createShipment($order);
238
- $this->_createParcel($order, Mage::getSingleton('customer/session')->getParcelId());
239
- }
 
 
 
240
  }
241
- ?>
54
  * @param Mage_Sales_Model_Order $order
55
  */
56
  protected function _createShipment($order){
57
+ if (!$order->getQuote()){
58
+ return;
59
+ }
60
+ // if it's i-parcel shipping method
61
+ if($order->getShippingCarrier() && $order->getShippingCarrier()->getCarrierCode() != 'i-parcel'){
62
+ return;
63
+ }
64
+ if(!Mage::registry('isExternalSale') && Mage::getStoreConfigFlag('iparcel/config/submit_parcel')){
65
+ /* var $submitParcel stdClass */
66
+ $submitParcel = Mage::helper('shippingip/api')->submitParcel($order);
67
+ if($submitParcel && isset($submitParcel->ParcelID)){
68
+ Mage::getSingleton('checkout/session')->setParcelId($submitParcel->ParcelID);
69
+ }
70
+ }
71
+ $tracking = Mage::getSingleton('checkout/session')->getTrackingNumber();
72
+ if (!$tracking && isset($submitParcel)){
73
+ $tracking = @$submitParcel->CarrierTrackingNumber;
74
+ }
75
+ /* var $tracking string */
76
+ if ($tracking && !$this->_searchForTrackingNumber($order)){
77
+ $order->addStatusHistoryComment('i-parcel tracking number: '.$tracking);
78
+ }
79
+ // if autoship is enabled and order can be shipped
80
+ if (Mage::getStoreConfigFlag('carriers/i-parcel/autoship')){
81
+ if ($order->canShip()){
82
+ $converter = Mage::getModel('sales/convert_order');
83
+ /* var $converter Mage_Sales_Model_Convert_Order */
84
+ $shipment = $converter->toShipment($order);
85
+ /* var $shipment Mage_Sales_Model_Order_Shipment */
86
+ foreach ($order->getAllItems() as $orderItem){
87
+ /* var $orderItem Mage_Sales_Model_Order_Item */
88
+ // continue if it is virtual or there is no quantity to ship
89
+ if (!$orderItem->getQtyToShip()) continue;
90
+ if ($order->getIsVirtual()) continue;
91
+ $item = $converter->itemToShipmentItem($orderItem);
92
+ /* var $item Mage_Sales_Model_Order_Shipment_Item */
93
+ $item->setQty($orderItem->getQtyToShip());
94
+ $shipment->addItem($item);
 
 
 
 
 
95
  }
96
+ $shipment->register();
97
+ $shipment->getOrder()->setIsInProcess(true);
98
+ $transactionSave = Mage::getModel('core/resource_transaction')
99
+ ->addObject($shipment)
100
+ ->addObject($order);
101
+ /* var $transactionSave Mage_Core_Model_Resource_Transaction */
102
+ $transactionSave->save();
103
+ $shipment->save();
104
+ $shipment->sendEmail();
105
  }
106
  }
107
  }
145
  * @param Mage_Sales_Model_Order $order
146
  */
147
  protected function _saveTaxDuty($order){
148
+ $session = Mage::getSingleton('checkout/session');
149
  /* var $custSess Mage_Customer_Model_Session */
150
+ $_taxduty = $session->getTaxDutyTotal();
151
  /* var $_taxduty array */
152
+ $session->unsTaxDutyTotal();
153
  if ($_taxduty && $order->getShippingCarrier()->getCarrierCode() == 'i-parcel'){
154
  try{
155
  $taxduty = Mage::getModel('shippingip/tax_totals');
158
  $taxduty->setTax($_taxduty['tax']);
159
  $taxduty->setDuty($_taxduty['duty']);
160
  $taxduty->save();
161
+ } catch (Exception $e) {
162
+ Mage::logException($e);
163
+ }
164
  }
165
  }
166
 
171
  * @param Mage_Sales_Model_Order $order
172
  */
173
  protected function _processTaxDuty($order){
174
+ $_taxduty = Mage::getSingleton('checkout/session')->getTaxDutyTotal();
175
  /* var $_taxduty array */
176
  $order->setBaseGrandTotal($order->getBaseGrandTotal()+$_taxduty['tax']+$_taxduty['duty']);
177
  $order->setGrandTotal($order->getGrandTotal()+$_taxduty['tax']+$_taxduty['duty']);
235
  $this->_initParcel($order);
236
  }
237
 
238
+ /**
239
+ * sales_order_place_after event handler
240
+ * @param Varien_Event_Observer $observer
241
+ */
242
+ public function after_place(Varien_Event_Observer $observer)
243
+ {
244
+ /** @var Mage_Sales_Model_Order $order */
245
+ $order = $observer->getOrder();
246
+ $this->_createShipment($order);
247
+ $this->_createParcel($order,Mage::getSingleton('checkout/session')->getParcelId());
248
+ }
249
  }
 
app/code/community/Iparcel/Shipping/Model/Tax/Totals/Abstract.php CHANGED
@@ -96,7 +96,7 @@ abstract class Iparcel_Shipping_Model_Tax_Totals_Abstract extends Mage_Sales_Mod
96
  $address->setShippingipTotalTax($_tax);
97
  $address->setShippingipTotalDuty($_duty);
98
  if ($_tax+$_duty){
99
- Mage::getSingleton('customer/session')->setTaxDutyTotal(array(
100
  'mode' => $this->_getMode(),
101
  'tax' => $_tax,
102
  'duty' => $_duty
@@ -106,4 +106,3 @@ abstract class Iparcel_Shipping_Model_Tax_Totals_Abstract extends Mage_Sales_Mod
106
  return $this;
107
  }
108
  }
109
- ?>
96
  $address->setShippingipTotalTax($_tax);
97
  $address->setShippingipTotalDuty($_duty);
98
  if ($_tax+$_duty){
99
+ Mage::getSingleton('checkout/session')->setTaxDutyTotal(array(
100
  'mode' => $this->_getMode(),
101
  'tax' => $_tax,
102
  'duty' => $_duty
106
  return $this;
107
  }
108
  }
 
app/code/community/Iparcel/Shipping/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Iparcel_Shipping>
5
- <version>2.4.1.14</version>
6
  </Iparcel_Shipping>
7
  </modules>
8
  <crontab>
@@ -385,6 +385,7 @@
385
  <iparcel>
386
  <config>
387
  <submit_parcel>1</submit_parcel>
 
388
  </config>
389
  <scripts>
390
  <jquery>0</jquery>
2
  <config>
3
  <modules>
4
  <Iparcel_Shipping>
5
+ <version>2.4.1.16</version>
6
  </Iparcel_Shipping>
7
  </modules>
8
  <crontab>
385
  <iparcel>
386
  <config>
387
  <submit_parcel>1</submit_parcel>
388
+ <timeout>3</timeout>
389
  </config>
390
  <scripts>
391
  <jquery>0</jquery>
app/code/community/Iparcel/Shipping/etc/system.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <tabs>
4
  <i-parcel translate="label" module="shippingip">
5
- <label>i-parcel</label>
6
  <sort_order>500</sort_order>
7
  </i-parcel>
8
  </tabs>
@@ -164,6 +164,15 @@
164
  <show_in_website>1</show_in_website>
165
  <show_in_store>0</show_in_store>
166
  </submit_parcel>
 
 
 
 
 
 
 
 
 
167
  </fields>
168
  </config>
169
  <scripts translate="label">
2
  <config>
3
  <tabs>
4
  <i-parcel translate="label" module="shippingip">
5
+ <label>i-parcel</label>
6
  <sort_order>500</sort_order>
7
  </i-parcel>
8
  </tabs>
164
  <show_in_website>1</show_in_website>
165
  <show_in_store>0</show_in_store>
166
  </submit_parcel>
167
+ <timeout translate="label,comment">
168
+ <label>Api Timeout</label>
169
+ <frontend_type>text</frontend_type>
170
+ <sort_order>11</sort_order>
171
+ <show_in_default>1</show_in_default>
172
+ <show_in_website>1</show_in_website>
173
+ <show_in_store>0</show_in_store>
174
+ <comment>In seconds.</comment>
175
+ </timeout>
176
  </fields>
177
  </config>
178
  <scripts translate="label">
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>iparcel_connect</name>
4
- <version>2.4.1.15</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Enable your store to sell internationally, immediately!</description>
11
  <notes>Notes</notes>
12
  <authors><author><name>Patryk Grudniewski</name><user>pgrudniewski</user><email>patryk.grudniewski@sabiosystem.com</email></author><author><name>Maciej Jarmula</name><user>mjarmula</user><email>maciej.jarmula@sabiosystem.com</email></author></authors>
13
- <date>2015-01-20</date>
14
- <time>13:18:36</time>
15
- <contents><target name="magecommunity"><dir name="Iparcel"><dir name="Shipping"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Checkitems"><file name="Button.php" hash="3fd84bf9d108bf6bd685a903dc9f481c"/></dir><dir name="Mapping"><file name="Button.php" hash="c258c70a783f5175bf5d89234fde422e"/></dir></dir><dir name="Iparcel"><file name="Dashboard.php" hash="70f5cab243fd7a076c9adaf7c0e38757"/></dir><dir name="Logs"><file name="Grid.php" hash="07fdafbd7dcb42768e6c4632a6c550fe"/></dir><file name="Logs.php" hash="a165e882e3dd9d4f567b9548db6d4c4c"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="25eb21505aa91e8d21b2bf85e984ba85"/></dir><dir name="Invoice"><file name="Totals.php" hash="f1ca6fe7b9e4c269f4ad423a9489f11b"/></dir><dir name="Shipment"><dir name="View"><file name="Form.php" hash="0ab9ba2136fcf58898ae6a09315992f3"/><file name="Tracking.php" hash="ce269e77cd33f323c7df5655431f13de"/></dir></dir><file name="Totals.php" hash="3b3bd8e9cfe1c25fd200f2934203a4f8"/></dir></dir><dir name="Salesrule"><dir name="Rule"><file name="Sync.php" hash="0c112e8012b1552e777210896681fe7c"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="List.php" hash="a7ecf1aa9ce6f630ba9a96bf51bb6350"/></dir><file name="Product.php" hash="741377869da5089c3dc5210e570812d5"/></dir><file name="Cpf.php" hash="b27d012e7d72d94065511865e3704898"/><dir name="Html"><dir name="Head"><file name="Iparcel.php" hash="affbc0197df7e2f278acd400da1ec730"/><file name="Jquery.php" hash="94178a9604c79ded9227b0d621bbfe98"/><file name="Post.php" hash="94e5cfa14a18cd92ec89c893943e53db"/></dir></dir><dir name="Payment"><file name="Info.php" hash="38ca3568e92ea58efb09b44931b865b9"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="65a60642a34b8a07647fe6ded1535a08"/></dir><dir name="Invoice"><file name="Totals.php" hash="01dd4224a342ece4b764637383f55b8c"/></dir><file name="Totals.php" hash="47581971cad89781df29a37c6542f8d5"/></dir></dir><dir name="Tax"><dir name="Checkout"><file name="Tax.php" hash="1b39fc81fe0820334e49ace7f71498d2"/></dir></dir></dir><dir name="Helper"><dir name="Api"><file name="External.php" hash="173e8eea03200e50c386e9c4750a34d5"/></dir><file name="Api.php" hash="415e016826ede68766a5e8fda13705f6"/><file name="Data.php" hash="03ebb38af475053fb0e0e92df1cf4c97"/><file name="International.php" hash="1a0c3769f2736da5af124bd309615d55"/><dir name="Sales"><file name="Data.php" hash="d2b61bc5609092860d5fabb889559272"/></dir><file name="String.php" hash="e22caeea60053038641e250a9dd0cf98"/><file name="Tax.php" hash="0f2b7b5cbd8c53f1204def64c87a77c9"/></dir><dir name="Model"><dir name="Api"><dir name="External"><dir name="Sales"><file name="Order.php" hash="770ade941b8cb6c24b164ecd83530b9f"/></dir></dir><file name="Log.php" hash="712fca81d0ed3ef7a7d022ffab173b36"/></dir><dir name="Carrier"><file name="Iparcel.php" hash="3607ab4fe5af4c741e8aa6b00b105aa4"/></dir><dir name="Catalog"><file name="Mapping.php" hash="238bf4f34621014b5c92d542916d7fe8"/><dir name="Product"><file name="Observer.php" hash="8b2e34f1afd45f8e5d1863d25f2b6fa0"/></dir></dir><dir name="Config"><dir name="Catalog"><file name="Mapping.php" hash="fb840497ebb561ae48aecc26d01cf1b9"/></dir><dir name="Data"><dir name="Date"><file name="Monthday.php" hash="453e2a3aa27dc715a18043aaa4efda27"/><file name="Weekday.php" hash="48657e67f0ed06663219e81f67ab25b9"/></dir><dir name="Time"><file name="Hour.php" hash="4b245127d92ae776623f59ed0e0f9558"/><file name="Minute.php" hash="727b1bcae3a74683e367844fd3291b52"/></dir></dir><file name="Guid.php" hash="d8dab34428e6b73b28027b04827ad3f1"/><dir name="Script"><file name="Js.php" hash="1836896d995d93b96508290409d341c3"/></dir></dir><dir name="Cpf"><file name="Order.php" hash="0e4e23b32211a22378a92c49b9f92369"/><file name="Quote.php" hash="83512346a79c739d7654e67d159ff884"/></dir><file name="Cpf.php" hash="e4df52c78f87931b7dc17269a8407f8a"/><file name="Parcel.php" hash="49cd6442d3605cd100840d7d3d18ca7b"/><dir name="Payment"><file name="Iparcel.php" hash="4a1f0f56d5c0c331d16f0b13d9fa1a91"/></dir><dir name="Resource"><dir name="Cpf"><file name="Collection.php" hash="9eaa178f4ad4a1c1bb6a1349e31fff9f"/><dir name="Order"><file name="Collection.php" hash="80f857487b8eecfa9d8aa3802b5e7880"/></dir><file name="Order.php" hash="28a4c0b6e0f077a81cd84e75eb414f3c"/><dir name="Quote"><file name="Collection.php" hash="63f11a1f00016ca3de879e6f1da5c3a5"/></dir><file name="Quote.php" hash="acc75e3e583ac3082cefd0edddd1af6d"/></dir><file name="Cpf.php" hash="20cc2a00effa23d63989afc72fb2cfef"/><dir name="Parcel"><file name="Collection.php" hash="ce9cdf56464a1233e7d86ecc419318bd"/></dir><file name="Parcel.php" hash="79d5849f24a92bd0d7b7993d2cf8b22e"/><file name="Setup.php" hash="5d7fcf77d90c05abe170fa1666bed876"/><dir name="Tax"><dir name="Totals"><file name="Collection.php" hash="fad71177f9fc5c18a51659216781c8a6"/></dir><file name="Totals.php" hash="3673353ccaffa6b03b700cd793093c59"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Observer.php" hash="e0653edc0fe30aeb0f48b6d0f59d4ffa"/><dir name="Shipment"><file name="Observer.php" hash="20f3458d033726667a3df49fa5d788fe"/></dir></dir><file name="Order.php" hash="dfa017ef6c15c5083c91eb62172b9476"/><dir name="Quote"><file name="Observer.php" hash="978329f9fe6776da26a75424633ea30c"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Catalog"><dir name="Mapping"><dir name="Configurable"><file name="Price.php" hash="6fdb4fa44c6dd50b7dceae729b49ac4f"/></dir><file name="Mode.php" hash="37d29183ddd30a4da6727836a01b4f3e"/></dir><dir name="Product"><dir name="Attribute"><file name="Boolean.php" hash="05da459a04e7565aeaacd582ce1f1a6a"/></dir><file name="Attribute.php" hash="f9b5953fadafc676014e78755abcb3d0"/></dir></dir><dir name="Date"><file name="Weekday.php" hash="81e4d5b013a56c3a82ce2ae885b63318"/></dir><dir name="Sales"><dir name="Order"><file name="Status.php" hash="95eef49f59423c0ae2df2f20d7a56c2d"/></dir></dir><dir name="Tax"><file name="Mode.php" hash="cc06ac85e4e99776853e90acc8fd8fa4"/></dir></dir></dir></dir><dir name="Tax"><file name="Calculation.php" hash="128c808bb36bffb07ae1b268cd0833a3"/><dir name="Totals"><file name="Abstract.php" hash="5b8edf21501529ef741dfc35a5077e84"/><dir name="Duty"><file name="Creditmemo.php" hash="0e444b977f39602a0fddf7fc6d97e2b9"/><file name="Invoice.php" hash="3801efca779d34904a7ad019767afcca"/><file name="Quote.php" hash="e2d66074efddc16daea8e9ee5ed5d24d"/></dir><dir name="Tax"><file name="Creditmemo.php" hash="d56d7de09d71496eaa57a74d215f504a"/><file name="Invoice.php" hash="9acc37b2ec8615910246f19eb435a566"/><file name="Quote.php" hash="6d7d8d2bb9fce1ba3d7757ededd1b3ac"/></dir><dir name="Taxduty"><file name="Creditmemo.php" hash="947113f2b6d4c6381ac19e17ea438928"/><file name="Invoice.php" hash="ee1374d7fa9b7219a1cfd6dffcf7f2c8"/><file name="Quote.php" hash="eb245bc094a7ecbc798bafd2bcbaa06f"/></dir></dir><file name="Totals.php" hash="f0e3be01e88a0123e189e2e36aec351c"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="LogController.php" hash="e52eb2deb7b12d04f2a939e2d8c76baf"/><dir name="Sync"><file name="AjaxController.php" hash="5f4a48c904796bb8e705f190cc410a8c"/></dir><file name="SyncController.php" hash="bcb67a0a9cf037ecfa0e24f9c501dfb9"/></dir><file name="AjaxController.php" hash="fe0a406a495b770b31141b0000310f47"/><file name="DevController.php" hash="6d038a7966504f7add2782be08adda39"/><file name="InternationalController.php" hash="54c7d62aa8acea6c4c308ddfc9726f63"/><file name="OrderController.php" hash="83f5cf75d77c10e2ebaa591073973961"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c341465d8c67fa8a4f16efe48d939917"/><file name="config.xml" hash="015daa7f97ddb12647876ad50227380c"/><file name="system.xml" hash="896fbe519402c41e5edcc08f089c1411"/></dir><dir name="sql"><dir name="shippingip_setup"><file name="mysql4-install-0.2.0.php" hash="38e0aaa7ab303df1e1cfab49d4ae6ab5"/><file name="mysql4-install-0.3.0.php" hash="38e0aaa7ab303df1e1cfab49d4ae6ab5"/><file name="mysql4-install-2.3.4.2.php" hash="cee98377d2b270582d6d626789f5a946"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="b52a574e73039d731d06510a24ad28e2"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="ee096cbfd164ac5d9e18ff0c417b01b5"/><file name="mysql4-upgrade-0.3.1-0.3.2.php" hash="2d0f66de3a04d7f0f4dc5a6f51dbc4ed"/><file name="mysql4-upgrade-0.3.2-2.0.0.php" hash="745afe83a490a7373300b7c6f8229109"/><file name="mysql4-upgrade-2.0.0-2.3.4.2.php" hash="3859c1e7610e198b1b526d2ce62d3ddc"/><file name="mysql4-upgrade-2.3.4.2-2.3.4.4.php" hash="0d43090401db3b53c7bb350557edc983"/><file name="mysql4-upgrade-2.3.4.3-2.3.4.4.php" hash="0d43090401db3b53c7bb350557edc983"/><file name="mysql4-upgrade-2.4.0.3-2.4.1.0.php" hash="0c28db225fad487e27272e3705c3939b"/><file name="mysql4-upgrade-2.4.1.6-2.4.1.7.php" hash="58035fa4f607f41295362f026c7c02d9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="externalsales.xml" hash="8e47661893cbd491d14332af3cb5fdd3"/></dir><dir name="template"><dir name="iparcel"><dir name="sales"><dir name="order"><dir name="shipment"><dir name="view"><file name="tracking.phtml" hash="8e7db62fb7a6afdf4ecac2046cb143bc"/></dir></dir></dir></dir><dir name="sync"><dir name="ajax"><file name="catalog.phtml" hash="38b9ea2cc01467c8221ed2540a63062a"/><file name="checkitems.phtml" hash="b0ed24b77d2ccd04c0c48209bac7d2e1"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="externalshipping.xml" hash="af11233d09ca127c72a6efef215893f0"/></dir><dir name="template"><dir name="shippingip"><file name="cpf.phtml" hash="c5ce5632e329af430265d1a069f1549b"/><dir name="html"><dir name="head"><file name="iparcel.phtml" hash="2c6ebcb17c00043066afa773c97563bf"/><file name="jquery.phtml" hash="9c7eb5b39de8e0a7821607fa5985e888"/><file name="post.phtml" hash="997d566fa62b8d7a575422d3434d2eb0"/></dir></dir><dir name="post"><file name="list.phtml" hash="8807f5a2dfd7efb9d18367aaf6bcf164"/></dir><file name="post.phtml" hash="06a01a4e559474c66956c247cbd0acf3"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iparcel_Shipping.xml" hash="82c0c0b16f4647a662536274f17f5d18"/></dir></target><target name="mageweb"><dir name="js"><dir name="iparcel"><dir name="adminhtml"><file name="label.js" hash="4078e7d784a59362c7d3b53be80507fe"/><file name="sync.js" hash="f50716af0dde3aa6ce2d030f37ab9e0b"/></dir><file name="cpf.js" hash="5cf13252eae4218a80548fa01b0f6d02"/><file name="jQuery.js" hash="8fc25e27d42774aeae6edbc0a18b72aa"/><file name="lib.js" hash="ea60539f64dae3763c13c930df0454ca"/><file name="post.js" hash="27c649cb11499bbb7139f7d157282bd6"/></dir></dir></target><target name="magemedia"><dir name="font"><file name="code128.ttf" hash="8ffedc82f9b9a02f4016f502ab30117e"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="iparcel"><file name="ajaxSync.css" hash="c622b9e4b77589bc0f3c0555124d2751"/></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>iparcel_connect</name>
4
+ <version>2.4.1.16</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
10
  <description>Enable your store to sell internationally, immediately!</description>
11
  <notes>Notes</notes>
12
  <authors><author><name>Patryk Grudniewski</name><user>pgrudniewski</user><email>patryk.grudniewski@sabiosystem.com</email></author><author><name>Maciej Jarmula</name><user>mjarmula</user><email>maciej.jarmula@sabiosystem.com</email></author></authors>
13
+ <date>2015-01-27</date>
14
+ <time>16:44:52</time>
15
+ <contents><target name="magecommunity"><dir name="Iparcel"><dir name="Shipping"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Checkitems"><file name="Button.php" hash="3fd84bf9d108bf6bd685a903dc9f481c"/></dir><dir name="Mapping"><file name="Button.php" hash="c258c70a783f5175bf5d89234fde422e"/></dir></dir><dir name="Iparcel"><file name="Dashboard.php" hash="70f5cab243fd7a076c9adaf7c0e38757"/></dir><dir name="Logs"><file name="Grid.php" hash="07fdafbd7dcb42768e6c4632a6c550fe"/></dir><file name="Logs.php" hash="a165e882e3dd9d4f567b9548db6d4c4c"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="25eb21505aa91e8d21b2bf85e984ba85"/></dir><dir name="Invoice"><file name="Totals.php" hash="f1ca6fe7b9e4c269f4ad423a9489f11b"/></dir><dir name="Shipment"><dir name="View"><file name="Form.php" hash="0ab9ba2136fcf58898ae6a09315992f3"/><file name="Tracking.php" hash="ce269e77cd33f323c7df5655431f13de"/></dir></dir><file name="Totals.php" hash="3b3bd8e9cfe1c25fd200f2934203a4f8"/></dir></dir><dir name="Salesrule"><dir name="Rule"><file name="Sync.php" hash="0c112e8012b1552e777210896681fe7c"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="List.php" hash="a7ecf1aa9ce6f630ba9a96bf51bb6350"/></dir><file name="Product.php" hash="741377869da5089c3dc5210e570812d5"/></dir><file name="Cpf.php" hash="b27d012e7d72d94065511865e3704898"/><dir name="Html"><dir name="Head"><file name="Iparcel.php" hash="affbc0197df7e2f278acd400da1ec730"/><file name="Jquery.php" hash="94178a9604c79ded9227b0d621bbfe98"/><file name="Post.php" hash="94e5cfa14a18cd92ec89c893943e53db"/></dir></dir><dir name="Payment"><file name="Info.php" hash="38ca3568e92ea58efb09b44931b865b9"/></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="65a60642a34b8a07647fe6ded1535a08"/></dir><dir name="Invoice"><file name="Totals.php" hash="01dd4224a342ece4b764637383f55b8c"/></dir><file name="Totals.php" hash="47581971cad89781df29a37c6542f8d5"/></dir></dir><dir name="Tax"><dir name="Checkout"><file name="Tax.php" hash="1b39fc81fe0820334e49ace7f71498d2"/></dir></dir></dir><dir name="Helper"><dir name="Api"><file name="External.php" hash="173e8eea03200e50c386e9c4750a34d5"/></dir><file name="Api.php" hash="21ec3289483bbc3ce8d5f1ae1dca60f6"/><file name="Data.php" hash="03ebb38af475053fb0e0e92df1cf4c97"/><file name="International.php" hash="debd553b925ca6fb50aacc35775e9d8d"/><dir name="Sales"><file name="Data.php" hash="d2b61bc5609092860d5fabb889559272"/></dir><file name="String.php" hash="e22caeea60053038641e250a9dd0cf98"/><file name="Tax.php" hash="0f2b7b5cbd8c53f1204def64c87a77c9"/></dir><dir name="Model"><dir name="Api"><dir name="External"><dir name="Sales"><file name="Order.php" hash="4f0ee8031a6c85194861ed0abe5b308d"/></dir></dir><file name="Log.php" hash="712fca81d0ed3ef7a7d022ffab173b36"/></dir><dir name="Carrier"><file name="Iparcel.php" hash="6aa8244b1c09635575af92a73902f345"/></dir><dir name="Catalog"><file name="Mapping.php" hash="238bf4f34621014b5c92d542916d7fe8"/><dir name="Product"><file name="Observer.php" hash="8b2e34f1afd45f8e5d1863d25f2b6fa0"/></dir></dir><dir name="Config"><dir name="Catalog"><file name="Mapping.php" hash="fb840497ebb561ae48aecc26d01cf1b9"/></dir><dir name="Data"><dir name="Date"><file name="Monthday.php" hash="453e2a3aa27dc715a18043aaa4efda27"/><file name="Weekday.php" hash="48657e67f0ed06663219e81f67ab25b9"/></dir><dir name="Time"><file name="Hour.php" hash="4b245127d92ae776623f59ed0e0f9558"/><file name="Minute.php" hash="727b1bcae3a74683e367844fd3291b52"/></dir></dir><file name="Guid.php" hash="d8dab34428e6b73b28027b04827ad3f1"/><dir name="Script"><file name="Js.php" hash="1836896d995d93b96508290409d341c3"/></dir></dir><dir name="Cpf"><file name="Order.php" hash="0e4e23b32211a22378a92c49b9f92369"/><file name="Quote.php" hash="83512346a79c739d7654e67d159ff884"/></dir><file name="Cpf.php" hash="e4df52c78f87931b7dc17269a8407f8a"/><file name="Parcel.php" hash="49cd6442d3605cd100840d7d3d18ca7b"/><dir name="Payment"><file name="Iparcel.php" hash="4a1f0f56d5c0c331d16f0b13d9fa1a91"/></dir><dir name="Resource"><dir name="Cpf"><file name="Collection.php" hash="9eaa178f4ad4a1c1bb6a1349e31fff9f"/><dir name="Order"><file name="Collection.php" hash="80f857487b8eecfa9d8aa3802b5e7880"/></dir><file name="Order.php" hash="28a4c0b6e0f077a81cd84e75eb414f3c"/><dir name="Quote"><file name="Collection.php" hash="63f11a1f00016ca3de879e6f1da5c3a5"/></dir><file name="Quote.php" hash="acc75e3e583ac3082cefd0edddd1af6d"/></dir><file name="Cpf.php" hash="20cc2a00effa23d63989afc72fb2cfef"/><dir name="Parcel"><file name="Collection.php" hash="ce9cdf56464a1233e7d86ecc419318bd"/></dir><file name="Parcel.php" hash="79d5849f24a92bd0d7b7993d2cf8b22e"/><file name="Setup.php" hash="5d7fcf77d90c05abe170fa1666bed876"/><dir name="Tax"><dir name="Totals"><file name="Collection.php" hash="fad71177f9fc5c18a51659216781c8a6"/></dir><file name="Totals.php" hash="3673353ccaffa6b03b700cd793093c59"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Observer.php" hash="515d5d4574da00770ce02d3f6062f725"/><dir name="Shipment"><file name="Observer.php" hash="20f3458d033726667a3df49fa5d788fe"/></dir></dir><file name="Order.php" hash="dfa017ef6c15c5083c91eb62172b9476"/><dir name="Quote"><file name="Observer.php" hash="978329f9fe6776da26a75424633ea30c"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Catalog"><dir name="Mapping"><dir name="Configurable"><file name="Price.php" hash="6fdb4fa44c6dd50b7dceae729b49ac4f"/></dir><file name="Mode.php" hash="37d29183ddd30a4da6727836a01b4f3e"/></dir><dir name="Product"><dir name="Attribute"><file name="Boolean.php" hash="05da459a04e7565aeaacd582ce1f1a6a"/></dir><file name="Attribute.php" hash="f9b5953fadafc676014e78755abcb3d0"/></dir></dir><dir name="Date"><file name="Weekday.php" hash="81e4d5b013a56c3a82ce2ae885b63318"/></dir><dir name="Sales"><dir name="Order"><file name="Status.php" hash="95eef49f59423c0ae2df2f20d7a56c2d"/></dir></dir><dir name="Tax"><file name="Mode.php" hash="cc06ac85e4e99776853e90acc8fd8fa4"/></dir></dir></dir></dir><dir name="Tax"><file name="Calculation.php" hash="128c808bb36bffb07ae1b268cd0833a3"/><dir name="Totals"><file name="Abstract.php" hash="eadb1e1682256c19faa731966ecafaa6"/><dir name="Duty"><file name="Creditmemo.php" hash="0e444b977f39602a0fddf7fc6d97e2b9"/><file name="Invoice.php" hash="3801efca779d34904a7ad019767afcca"/><file name="Quote.php" hash="e2d66074efddc16daea8e9ee5ed5d24d"/></dir><dir name="Tax"><file name="Creditmemo.php" hash="d56d7de09d71496eaa57a74d215f504a"/><file name="Invoice.php" hash="9acc37b2ec8615910246f19eb435a566"/><file name="Quote.php" hash="6d7d8d2bb9fce1ba3d7757ededd1b3ac"/></dir><dir name="Taxduty"><file name="Creditmemo.php" hash="947113f2b6d4c6381ac19e17ea438928"/><file name="Invoice.php" hash="ee1374d7fa9b7219a1cfd6dffcf7f2c8"/><file name="Quote.php" hash="eb245bc094a7ecbc798bafd2bcbaa06f"/></dir></dir><file name="Totals.php" hash="f0e3be01e88a0123e189e2e36aec351c"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="LogController.php" hash="e52eb2deb7b12d04f2a939e2d8c76baf"/><dir name="Sync"><file name="AjaxController.php" hash="5f4a48c904796bb8e705f190cc410a8c"/></dir><file name="SyncController.php" hash="bcb67a0a9cf037ecfa0e24f9c501dfb9"/></dir><file name="AjaxController.php" hash="fe0a406a495b770b31141b0000310f47"/><file name="DevController.php" hash="6d038a7966504f7add2782be08adda39"/><file name="InternationalController.php" hash="54c7d62aa8acea6c4c308ddfc9726f63"/><file name="OrderController.php" hash="83f5cf75d77c10e2ebaa591073973961"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c341465d8c67fa8a4f16efe48d939917"/><file name="config.xml" hash="4d885163bd4574595150c804d212cd86"/><file name="system.xml" hash="ebfb2a6269aa9d564503566d83047b3a"/></dir><dir name="sql"><dir name="shippingip_setup"><file name="mysql4-install-0.2.0.php" hash="38e0aaa7ab303df1e1cfab49d4ae6ab5"/><file name="mysql4-install-0.3.0.php" hash="38e0aaa7ab303df1e1cfab49d4ae6ab5"/><file name="mysql4-install-2.3.4.2.php" hash="cee98377d2b270582d6d626789f5a946"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="b52a574e73039d731d06510a24ad28e2"/><file name="mysql4-upgrade-0.3.0-0.3.1.php" hash="ee096cbfd164ac5d9e18ff0c417b01b5"/><file name="mysql4-upgrade-0.3.1-0.3.2.php" hash="2d0f66de3a04d7f0f4dc5a6f51dbc4ed"/><file name="mysql4-upgrade-0.3.2-2.0.0.php" hash="745afe83a490a7373300b7c6f8229109"/><file name="mysql4-upgrade-2.0.0-2.3.4.2.php" hash="3859c1e7610e198b1b526d2ce62d3ddc"/><file name="mysql4-upgrade-2.3.4.2-2.3.4.4.php" hash="0d43090401db3b53c7bb350557edc983"/><file name="mysql4-upgrade-2.3.4.3-2.3.4.4.php" hash="0d43090401db3b53c7bb350557edc983"/><file name="mysql4-upgrade-2.4.0.3-2.4.1.0.php" hash="0c28db225fad487e27272e3705c3939b"/><file name="mysql4-upgrade-2.4.1.6-2.4.1.7.php" hash="58035fa4f607f41295362f026c7c02d9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="externalsales.xml" hash="8e47661893cbd491d14332af3cb5fdd3"/></dir><dir name="template"><dir name="iparcel"><dir name="sales"><dir name="order"><dir name="shipment"><dir name="view"><file name="tracking.phtml" hash="8e7db62fb7a6afdf4ecac2046cb143bc"/></dir></dir></dir></dir><dir name="sync"><dir name="ajax"><file name="catalog.phtml" hash="38b9ea2cc01467c8221ed2540a63062a"/><file name="checkitems.phtml" hash="b0ed24b77d2ccd04c0c48209bac7d2e1"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="externalshipping.xml" hash="af11233d09ca127c72a6efef215893f0"/></dir><dir name="template"><dir name="shippingip"><file name="cpf.phtml" hash="c5ce5632e329af430265d1a069f1549b"/><dir name="html"><dir name="head"><file name="iparcel.phtml" hash="2c6ebcb17c00043066afa773c97563bf"/><file name="jquery.phtml" hash="9c7eb5b39de8e0a7821607fa5985e888"/><file name="post.phtml" hash="997d566fa62b8d7a575422d3434d2eb0"/></dir></dir><dir name="post"><file name="list.phtml" hash="8807f5a2dfd7efb9d18367aaf6bcf164"/></dir><file name="post.phtml" hash="06a01a4e559474c66956c247cbd0acf3"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iparcel_Shipping.xml" hash="82c0c0b16f4647a662536274f17f5d18"/></dir></target><target name="mageweb"><dir name="js"><dir name="iparcel"><dir name="adminhtml"><file name="label.js" hash="4078e7d784a59362c7d3b53be80507fe"/><file name="sync.js" hash="f50716af0dde3aa6ce2d030f37ab9e0b"/></dir><file name="cpf.js" hash="5cf13252eae4218a80548fa01b0f6d02"/><file name="jQuery.js" hash="8fc25e27d42774aeae6edbc0a18b72aa"/><file name="lib.js" hash="ea60539f64dae3763c13c930df0454ca"/><file name="post.js" hash="27c649cb11499bbb7139f7d157282bd6"/></dir></dir></target><target name="magemedia"><dir name="font"><file name="code128.ttf" hash="8ffedc82f9b9a02f4016f502ab30117e"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="iparcel"><file name="ajaxSync.css" hash="c622b9e4b77589bc0f3c0555124d2751"/></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>