pitneybowes_gsp - Version 1.1.2

Version Notes

Patch release for Magento Connect.

1. Integrated validation for title field in configuration page to resolve PHP 5.3 will warning when there is an empty string

2. Added a cron job to check for shipped PB orders that have no ASNs (tracking numbers) and attempt to create.

Download this release

Release Info

Developer Raymond Lai
Extension pitneybowes_gsp
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

Files changed (42) hide show
  1. ReadMe.txt +8 -0
  2. app/code/local/Pb/Pbgsp/Block/Adminhtml/Sales/Order/Invoice/Totals.php +3 -3
  3. app/code/local/Pb/Pbgsp/Block/Adminhtml/Sales/Order/Totals.php +3 -3
  4. app/code/local/Pb/Pbgsp/Block/Checkout/Shipping/Method/Available.php +3 -3
  5. app/code/local/Pb/Pbgsp/Block/Form.php +3 -3
  6. app/code/local/Pb/Pbgsp/Block/Sales/Order/Invoice/Totals.php +3 -3
  7. app/code/local/Pb/Pbgsp/Block/Sales/Order/Totals.php +3 -3
  8. app/code/local/Pb/Pbgsp/Model/Api.php +43 -12
  9. app/code/local/Pb/Pbgsp/Model/Authapioptions.php +22 -0
  10. app/code/local/Pb/Pbgsp/Model/Carrier/ShippingMethod.php +3 -3
  11. app/code/local/Pb/Pbgsp/Model/Catalog/Category.php +3 -3
  12. app/code/local/Pb/Pbgsp/Model/Catalog/Cron.php +3 -3
  13. app/code/local/Pb/Pbgsp/Model/Catalog/File.php +3 -3
  14. app/code/local/Pb/Pbgsp/Model/Catalog/Product.php +3 -3
  15. app/code/local/Pb/Pbgsp/Model/Credentials.php +3 -3
  16. app/code/local/Pb/Pbgsp/Model/Creditmemo/Duty.php +3 -3
  17. app/code/local/Pb/Pbgsp/Model/Handlingoptions.php +3 -3
  18. app/code/local/Pb/Pbgsp/Model/Helper.php +3 -3
  19. app/code/local/Pb/Pbgsp/Model/Inboundparcel.php +101 -3
  20. app/code/local/Pb/Pbgsp/Model/Invoice/Duty.php +3 -3
  21. app/code/local/Pb/Pbgsp/Model/Messages.php +3 -3
  22. app/code/local/Pb/Pbgsp/Model/Mysql4/Inboundparcel.php +3 -3
  23. app/code/local/Pb/Pbgsp/Model/Mysql4/Inboundparcel/Collection.php +3 -3
  24. app/code/local/Pb/Pbgsp/Model/Mysql4/Ordernumber.php +3 -3
  25. app/code/local/Pb/Pbgsp/Model/Mysql4/Ordernumber/Collection.php +3 -3
  26. app/code/local/Pb/Pbgsp/Model/Mysql4/Variable.php +3 -3
  27. app/code/local/Pb/Pbgsp/Model/Mysql4/Variable/Collection.php +3 -3
  28. app/code/local/Pb/Pbgsp/Model/Observer.php +25 -5
  29. app/code/local/Pb/Pbgsp/Model/Ordernumber.php +3 -3
  30. app/code/local/Pb/Pbgsp/Model/Pdf/Tax.php +3 -3
  31. app/code/local/Pb/Pbgsp/Model/Quote/Duty.php +3 -3
  32. app/code/local/Pb/Pbgsp/Model/Resource/Mysql4/Setup.php +3 -3
  33. app/code/local/Pb/Pbgsp/Model/Sales/Order/Shipment.php +3 -3
  34. app/code/local/Pb/Pbgsp/Model/Util.php +3 -3
  35. app/code/local/Pb/Pbgsp/Model/Variable.php +3 -3
  36. app/code/local/Pb/Pbgsp/data/pb_pbgsp_setup/data-install-1.0.0.php +3 -3
  37. app/code/local/Pb/Pbgsp/etc/config.xml +10 -1
  38. app/code/local/Pb/Pbgsp/etc/system.xml +446 -442
  39. app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-install-1.0.0.php +3 -3
  40. app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-upgrade-1.0.0-1.0.1.php +3 -3
  41. app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-upgrade-1.1.1-1.1.2.php +28 -0
  42. package.xml +7 -5
ReadMe.txt CHANGED
@@ -31,6 +31,14 @@ In order to take advantage of the file encryption setting in the extension confi
31
  ========================================================
32
  CHANGELOG
33
  ========================================================
 
 
 
 
 
 
 
 
34
  v. 1.1.1
35
 
36
  Corrected currency conversion logic to not request rate from PB but run conversion directly in Magento
31
  ========================================================
32
  CHANGELOG
33
  ========================================================
34
+
35
+ v. 1.1.2
36
+
37
+ Integrated validation for title field in configuration page to resolve PHP 5.3 will warning when there is an empty string
38
+
39
+ Added a cron job to check for shipped PB orders that have no ASNs (tracking numbers) and attempt to create.
40
+
41
+
42
  v. 1.1.1
43
 
44
  Corrected currency conversion logic to not request rate from PB but run conversion directly in Magento
app/code/local/Pb/Pbgsp/Block/Adminhtml/Sales/Order/Invoice/Totals.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /**
4
- * Product: Pb_Pbgsp (1.1.1)
5
- * Packaged: 2015-09-14T12:11:20+00:00
6
- * Last Modified: 2015-09-9T12:10:00+00:00
7
 
8
 
9
 
1
  <?php
2
 
3
  /**
4
+ * Product: Pb_Pbgsp (1.1.2)
5
+ * Packaged: 2015-09-23T12:09:53+00:00
6
+ * Last Modified: 2015-09-14T12:11:20+00:00
7
 
8
 
9
 
app/code/local/Pb/Pbgsp/Block/Adminhtml/Sales/Order/Totals.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /**
4
- * Product: Pb_Pbgsp (1.1.1)
5
- * Packaged: 2015-09-14T12:11:20+00:00
6
- * Last Modified: 2015-09-9T12:10:00+00:00
7
 
8
 
9
 
1
  <?php
2
 
3
  /**
4
+ * Product: Pb_Pbgsp (1.1.2)
5
+ * Packaged: 2015-09-23T12:09:53+00:00
6
+ * Last Modified: 2015-09-14T12:11:20+00:00
7
 
8
 
9
 
app/code/local/Pb/Pbgsp/Block/Checkout/Shipping/Method/Available.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /**
4
- * Product: Pb_Pbgsp (1.1.1)
5
- * Packaged: 2015-09-14T12:11:20+00:00
6
- * Last Modified: 2015-09-9T12:10:00+00:00
7
 
8
 
9
 
1
  <?php
2
 
3
  /**
4
+ * Product: Pb_Pbgsp (1.1.2)
5
+ * Packaged: 2015-09-23T12:09:53+00:00
6
+ * Last Modified: 2015-09-14T12:11:20+00:00
7
 
8
 
9
 
app/code/local/Pb/Pbgsp/Block/Form.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Block/Sales/Order/Invoice/Totals.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /**
4
- * Product: Pb_Pbgsp (1.1.1)
5
- * Packaged: 2015-09-14T12:11:20+00:00
6
- * Last Modified: 2015-09-9T12:10:00+00:00
7
 
8
 
9
 
1
  <?php
2
 
3
  /**
4
+ * Product: Pb_Pbgsp (1.1.2)
5
+ * Packaged: 2015-09-23T12:09:53+00:00
6
+ * Last Modified: 2015-09-14T12:11:20+00:00
7
 
8
 
9
 
app/code/local/Pb/Pbgsp/Block/Sales/Order/Totals.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Api.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
@@ -74,6 +74,9 @@ class Pb_Pbgsp_Model_Api
74
  Mage::getSingleton("customer/session")->setPbToken(false);
75
  self::CallAPI($method,$url,$data,true);
76
  }
 
 
 
77
  else {
78
  throw new Exception($result,$status);
79
  }
@@ -282,13 +285,21 @@ class Pb_Pbgsp_Model_Api
282
  foreach($shipment->getTracksCollection() as $track) {
283
  $tracks[] = $track;
284
  }
 
 
 
 
 
 
 
 
285
  $requestBody = array(
286
  'merchantOrderNumber' => $cpOrderNumber,
287
- 'parcelIdentificationNumber' => $tracks[0]->getNumber(),
288
  'inboundParcelCommodities' => $inboundParcelCommodities,
289
- 'shipper' => $tracks[0]->getTitle(),
290
  'shipperService' => 'EXPRESS',
291
- 'shipperTrackingNumber'=> $tracks[0]->getNumber(),
292
  'dcId' => '211113442',
293
  'dcAddress' => array(
294
  'street1' => '200 Main Street',
@@ -324,10 +335,19 @@ class Pb_Pbgsp_Model_Api
324
  );
325
  $url = Pb_Pbgsp_Model_Credentials::getOrderMgmtAPIUrl().'/orders/'.
326
  $cpOrderNumber.'/inbound-parcels';
327
- $response = self::CallAPI('POST',$url,$requestBody);
328
- $parcelResponse = json_decode($response,true);
329
- Pb_Pbgsp_Model_Util::log('Response of inbound-parcels');
330
- Pb_Pbgsp_Model_Util::log($parcelResponse);
 
 
 
 
 
 
 
 
 
331
  return $parcelResponse;
332
 
333
  }
@@ -408,13 +428,24 @@ class Pb_Pbgsp_Model_Api
408
  $cancelOrderResponse = json_decode($response,true);
409
  Pb_Pbgsp_Model_Util::log('Response of cancel order');
410
  Pb_Pbgsp_Model_Util::log($cancelOrderResponse);
411
- return $cancelOrderResponse;
 
 
 
 
 
 
 
 
 
 
 
412
 
413
  }
414
  catch(Exception $e) {
415
  Pb_Pbgsp_Model_Util::log("Received unexpected exception from Pb while calling cancel Order.");
416
  Pb_Pbgsp_Model_Util::logException($e);
417
-
418
 
419
  }
420
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
74
  Mage::getSingleton("customer/session")->setPbToken(false);
75
  self::CallAPI($method,$url,$data,true);
76
  }
77
+ if($status == 404){
78
+ return $result;
79
+ }
80
  else {
81
  throw new Exception($result,$status);
82
  }
285
  foreach($shipment->getTracksCollection() as $track) {
286
  $tracks[] = $track;
287
  }
288
+
289
+ if(isset($tracks[0])){
290
+ $number=$tracks[0]->getNumber();
291
+ $title = $tracks[0]->getTitle();
292
+ }else{
293
+ $number = '123456';
294
+ $title = 'PB';
295
+ }
296
  $requestBody = array(
297
  'merchantOrderNumber' => $cpOrderNumber,
298
+ 'parcelIdentificationNumber' => $number,
299
  'inboundParcelCommodities' => $inboundParcelCommodities,
300
+ 'shipper' => $title,
301
  'shipperService' => 'EXPRESS',
302
+ 'shipperTrackingNumber'=> $number,
303
  'dcId' => '211113442',
304
  'dcAddress' => array(
305
  'street1' => '200 Main Street',
335
  );
336
  $url = Pb_Pbgsp_Model_Credentials::getOrderMgmtAPIUrl().'/orders/'.
337
  $cpOrderNumber.'/inbound-parcels';
338
+
339
+ $tryCnt = 1;
340
+ do
341
+ {
342
+ $response = self::CallAPI('POST',$url,$requestBody);
343
+ $parcelResponse = json_decode($response,true);
344
+
345
+ Pb_Pbgsp_Model_Util::log('Response of inbound-parcels try'.$tryCnt);
346
+ Pb_Pbgsp_Model_Util::log($parcelResponse);
347
+ $tryCnt ++;
348
+
349
+ } while(($tryCnt <= 10) && (array_key_exists('errors',$parcelResponse)));
350
+
351
  return $parcelResponse;
352
 
353
  }
428
  $cancelOrderResponse = json_decode($response,true);
429
  Pb_Pbgsp_Model_Util::log('Response of cancel order');
430
  Pb_Pbgsp_Model_Util::log($cancelOrderResponse);
431
+ if(array_key_exists('errors',$cancelOrderResponse)) {
432
+ Pb_Pbgsp_Model_Util::log("Error generating cancelling order");
433
+ Pb_Pbgsp_Model_Util::log($cancelOrderResponse);
434
+ foreach($cancelOrderResponse['errors'] as $error){
435
+ $errorCode= $error['error'];
436
+ $errorMessage .=$error['message']."</br>";
437
+ }
438
+ Mage::getSingleton('core/session')->addError('PB Error - '.$errorMessage);
439
+ }else{
440
+ return $cancelOrderResponse;
441
+ }
442
+
443
 
444
  }
445
  catch(Exception $e) {
446
  Pb_Pbgsp_Model_Util::log("Received unexpected exception from Pb while calling cancel Order.");
447
  Pb_Pbgsp_Model_Util::logException($e);
448
+ Mage::getSingleton('core/session')->addError('Unexpected exception from PB while calling cancel Order. '.$e->getMessage());
449
 
450
  }
451
 
app/code/local/Pb/Pbgsp/Model/Authapioptions.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
+
7
+
8
+
9
+
10
+ * File: app/code/local/Pb/Pbgsp/Model/Handlingoptions.php
11
+ * Copyright: Copyright (c) 2015 Pitney Bowes <info@pb.com> / All rights reserved.
12
+ */
13
+ class Pb_Pbgsp_Model_Authapioptions {
14
+ public function toOptionArray()
15
+ {
16
+ return array(
17
+ array('value'=>"Auth: https://cbs.ecommerce.pb.com/auth/token", 'label'=>'Production'),
18
+ array('value'=>"https://sandbox-cbs.ecommerce.pb.com/auth/token", 'label'=>'Sandbox'),
19
+
20
+ );
21
+ }
22
+ }
app/code/local/Pb/Pbgsp/Model/Carrier/ShippingMethod.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /**
4
- * Product: Pb_Pbgsp (1.1.1)
5
- * Packaged: 2015-09-14T12:11:20+00:00
6
- * Last Modified: 2015-09-9T12:10:00+00:00
7
 
8
 
9
 
1
  <?php
2
 
3
  /**
4
+ * Product: Pb_Pbgsp (1.1.2)
5
+ * Packaged: 2015-09-23T12:09:53+00:00
6
+ * Last Modified: 2015-09-14T12:11:20+00:00
7
 
8
 
9
 
app/code/local/Pb/Pbgsp/Model/Catalog/Category.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Catalog/Cron.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Catalog/File.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /**
4
- * Product: Pb_Pbgsp (1.1.1)
5
- * Packaged: 2015-09-14T12:11:20+00:00
6
- * Last Modified: 2015-09-9T12:10:00+00:00
7
 
8
 
9
  * File: app/code/local/Pb/Pbgsp/Model/Catalog/File.php
1
  <?php
2
 
3
  /**
4
+ * Product: Pb_Pbgsp (1.1.2)
5
+ * Packaged: 2015-09-23T12:09:53+00:00
6
+ * Last Modified: 2015-09-14T12:11:20+00:00
7
 
8
 
9
  * File: app/code/local/Pb/Pbgsp/Model/Catalog/File.php
app/code/local/Pb/Pbgsp/Model/Catalog/Product.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Credentials.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Creditmemo/Duty.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Handlingoptions.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Helper.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Inboundparcel.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
@@ -16,6 +16,104 @@ class Pb_Pbgsp_Model_Inboundparcel extends Mage_Core_Model_Abstract {
16
  parent::_construct();
17
  $this->_init('pb_pbgsp/inboundparcel');
18
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
 
21
  ?>
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
16
  parent::_construct();
17
  $this->_init('pb_pbgsp/inboundparcel');
18
  }
19
+
20
+ /* Method call hourly and try to generate ASN for fullfilled orders.
21
+ Created by: Sudarshan
22
+ Date: 07/09/2015
23
+
24
+ */
25
+ public function generateInboundParcelPreAdviceCron(){
26
+
27
+ if(Pb_Pbgsp_Model_Credentials::isASNGenerationEnabled() == '1') {
28
+ try {
29
+
30
+ // Get PB orders
31
+ $clearPathOrders = Mage::getModel("pb_pbgsp/ordernumber")-> getCollection();
32
+
33
+ // Get Inbound parcels
34
+ // $parcels = Mage::getModel("pb_pbgsp/inboundparcel")-> getCollection();
35
+ // $parcels->addFieldToSelect('mage_order_number');
36
+
37
+
38
+ echo "</br>Trying to generate ASN PBorders which are fullfilled but doesn't have ASN </br> ";
39
+ // find order that doesn't have ASN entry.
40
+
41
+ foreach($clearPathOrders as $clearPathOrder)
42
+ {
43
+ $orderID = $clearPathOrder['mage_order_number'];
44
+
45
+ $cpOrderNumber = $clearPathOrder['cp_order_number'];
46
+ $order = Mage::getModel('sales/order')->loadByIncrementId($orderID);
47
+
48
+ if(($order->hasShipments()) && ($order['status'] != 'canceled')){
49
+
50
+ $shipmentCollection = Mage::getResourceModel('sales/order_shipment_collection')->setOrderFilter($order)->load();
51
+
52
+ foreach ($shipmentCollection as $shipment){
53
+
54
+ //Get shipment id
55
+ $shipId = $shipment['entity_id'];
56
+
57
+ //check shipment entry of order in table (partially shipped order)
58
+ $parcels = Mage::getModel("pb_pbgsp/inboundparcel")-> getCollection();
59
+ $parcels->addFieldToFilter('mage_order_number',$orderID);
60
+ $parcels->addFieldToFilter('mage_order_shipment_number',$shipId);
61
+
62
+ if(count($parcels) == 0){
63
+ echo "</br>$orderID Ship- $shipId ";
64
+ Pb_Pbgsp_Model_Util::log('Generate ASN for Order-'.$orderID.' Ship- '.$shipId );
65
+ $items = array();
66
+
67
+ $parcelResponse = Pb_Pbgsp_Model_Api::generateInboundParcelNumber($shipment,$items,$order,$cpOrderNumber);
68
+
69
+ if(array_key_exists('errors',$parcelResponse)) {
70
+ echo " - Error \"".$parcelResponse['errors'][0]['message']."\"";
71
+ Pb_Pbgsp_Model_Util::log("Error generating inbound parcel");
72
+ Pb_Pbgsp_Model_Util::log($parcelResponse);
73
+ }
74
+ else if(isset($parcelResponse['parcelIdentifier']))
75
+ {
76
+ //Save entry in table
77
+ $cpParcel = Mage::getModel('pb_pbgsp/inboundparcel');
78
+ $cpParcel->setInboundParcel($parcelResponse['parcelIdentifier']);
79
+ $cpParcel->setMageOrderNumber( $order->getRealOrderId());
80
+ $cpParcel->setPbOrderNumber( $cpOrderNumber);
81
+ $cpParcel->setMageOrderShipmentNumber( $shipId);
82
+ $cpParcel->save();
83
+
84
+ // add the tracking info magento
85
+ $track = Mage::getModel('sales/order_shipment_track')
86
+ ->setShipment($shipment)
87
+ ->setData('title', 'PB')
88
+ ->setData('number',$parcelResponse['parcelIdentifier'])
89
+ ->setData('carrier_code', 'custom')
90
+ ->setData('order_id', $shipment->getData('order_id'))
91
+ ->save();
92
+
93
+ Pb_Pbgsp_Model_Util::log($parcelResponse['parcelIdentifier']."Inbound Parcel Number Saved");
94
+ }
95
+
96
+ }
97
+
98
+ }
99
+
100
+
101
+ }else{
102
+ //echo " - Not fullfilled yet";
103
+ }
104
+
105
+ unset($order);
106
+ unset($shipmentCollection);
107
+ }
108
+
109
+
110
+ }
111
+ catch(Exception $e) {
112
+ Pb_Pbgsp_Model_Util::log("Error creating inbound parcel. ");
113
+ Pb_Pbgsp_Model_Util::logException($e);
114
+ }
115
+ }
116
+ }
117
  }
118
 
119
  ?>
app/code/local/Pb/Pbgsp/Model/Invoice/Duty.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Messages.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Mysql4/Inboundparcel.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Mysql4/Inboundparcel/Collection.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Mysql4/Ordernumber.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Mysql4/Ordernumber/Collection.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Mysql4/Variable.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Mysql4/Variable/Collection.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Observer.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.0.3)
4
- * Packaged: 2015-09-1T15:12:28+00:00
5
- * Last Modified: 2015-08-25T15:12:28+00:00
6
 
7
 
8
 
@@ -48,6 +48,8 @@ class Pb_Pbgsp_Model_Observer {
48
  try {
49
  $shipment = $observer->getEvent()->getShipment();
50
  $order = $shipment->getOrder();
 
 
51
  /* @var $order Mage_Sales_Model_Order */
52
 
53
  if(!$this->isPbOrder($order))
@@ -80,12 +82,24 @@ class Pb_Pbgsp_Model_Observer {
80
  Pb_Pbgsp_Model_Util::log($parcelResponse);
81
  }
82
  else {
 
 
83
  $cpParcel = Mage::getModel('pb_pbgsp/inboundparcel');
84
  $cpParcel->setInboundParcel($parcelResponse['parcelIdentifier']);
85
  $cpParcel->setMageOrderNumber( $order->getRealOrderId());
86
  $cpParcel->setPbOrderNumber( $cpOrderNumber);
 
87
  $cpParcel->save();
88
 
 
 
 
 
 
 
 
 
 
89
  Pb_Pbgsp_Model_Util::log('Inbound Parcel Number Saved');
90
  }
91
 
@@ -285,8 +299,12 @@ class Pb_Pbgsp_Model_Observer {
285
  $cpord = $this->_getCPORD($observer->getEvent()->getBlock()->getOrder());
286
  if($cpord) {
287
  $staging = 0;
288
- if(strpos(Pb_Pbgsp_Model_Credentials::getCheckoutUrl(),'cpsandbox') >=0)
289
  $staging = 1;
 
 
 
 
290
  $transport['html'] = "<a href='http://tracking.ecommerce.pb.com/track/$cpord?staging=$staging'>Track your order</a>";
291
  }
292
 
@@ -316,8 +334,10 @@ class Pb_Pbgsp_Model_Observer {
316
  $cpord = $this->_getCPORD(Mage::getModel('sales/order')->load($orderId));
317
  if($cpord) {
318
  $staging = 0;
319
- if(strpos(Pb_Pbgsp_Model_Credentials::getCheckoutUrl(),'cpsandbox') >=0)
320
  $staging = 1;
 
 
321
  $script = "<script lang='javascript'>
322
  window.location = 'http://tracking.ecommerce.pb.com/track/$cpord?staging=$staging';
323
  </script>
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
48
  try {
49
  $shipment = $observer->getEvent()->getShipment();
50
  $order = $shipment->getOrder();
51
+ $shipId = $shipment['entity_id'];
52
+
53
  /* @var $order Mage_Sales_Model_Order */
54
 
55
  if(!$this->isPbOrder($order))
82
  Pb_Pbgsp_Model_Util::log($parcelResponse);
83
  }
84
  else {
85
+
86
+ //Save entry in table
87
  $cpParcel = Mage::getModel('pb_pbgsp/inboundparcel');
88
  $cpParcel->setInboundParcel($parcelResponse['parcelIdentifier']);
89
  $cpParcel->setMageOrderNumber( $order->getRealOrderId());
90
  $cpParcel->setPbOrderNumber( $cpOrderNumber);
91
+ $cpParcel->setMageOrderShipmentNumber( $shipId);
92
  $cpParcel->save();
93
 
94
+ // add the tracking info magento
95
+ $track = Mage::getModel('sales/order_shipment_track')
96
+ ->setShipment($shipment)
97
+ ->setData('title', 'PB')
98
+ ->setData('number',$parcelResponse['parcelIdentifier'])
99
+ ->setData('carrier_code', 'custom')
100
+ ->setData('order_id', $shipment->getData('order_id'))
101
+ ->save();
102
+
103
  Pb_Pbgsp_Model_Util::log('Inbound Parcel Number Saved');
104
  }
105
 
299
  $cpord = $this->_getCPORD($observer->getEvent()->getBlock()->getOrder());
300
  if($cpord) {
301
  $staging = 0;
302
+ if(strpos(Pb_Pbgsp_Model_Credentials::getCheckoutUrl(),'cpsandbox'))
303
  $staging = 1;
304
+
305
+
306
+
307
+
308
  $transport['html'] = "<a href='http://tracking.ecommerce.pb.com/track/$cpord?staging=$staging'>Track your order</a>";
309
  }
310
 
334
  $cpord = $this->_getCPORD(Mage::getModel('sales/order')->load($orderId));
335
  if($cpord) {
336
  $staging = 0;
337
+ if(strpos(Pb_Pbgsp_Model_Credentials::getCheckoutUrl(),'cpsandbox'))
338
  $staging = 1;
339
+
340
+
341
  $script = "<script lang='javascript'>
342
  window.location = 'http://tracking.ecommerce.pb.com/track/$cpord?staging=$staging';
343
  </script>
app/code/local/Pb/Pbgsp/Model/Ordernumber.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Pdf/Tax.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Quote/Duty.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /**
4
- * Product: Pb_Pbgsp (1.1.1)
5
- * Packaged: 2015-09-14T12:11:20+00:00
6
- * Last Modified: 2015-09-9T12:10:00+00:00
7
 
8
 
9
 
1
  <?php
2
 
3
  /**
4
+ * Product: Pb_Pbgsp (1.1.2)
5
+ * Packaged: 2015-09-23T12:09:53+00:00
6
+ * Last Modified: 2015-09-14T12:11:20+00:00
7
 
8
 
9
 
app/code/local/Pb/Pbgsp/Model/Resource/Mysql4/Setup.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Sales/Order/Shipment.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Util.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/Model/Variable.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/data/pb_pbgsp_setup/data-install-1.0.0.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
  * File: app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-install-1.0.0.php
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
  * File: app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-install-1.0.0.php
app/code/local/Pb/Pbgsp/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Pb_Pbgsp>
5
- <version>1.1.1</version>
6
  </Pb_Pbgsp>
7
  </modules>
8
  <global>
@@ -473,6 +473,15 @@
473
  <model>pb_pbgsp/catalog_cron::processStatusNotifications</model>
474
  </run>
475
  </pb_notifications>
 
 
 
 
 
 
 
 
 
476
  </jobs>
477
  </crontab>
478
  <adminhtml>
2
  <config>
3
  <modules>
4
  <Pb_Pbgsp>
5
+ <version>1.1.2</version>
6
  </Pb_Pbgsp>
7
  </modules>
8
  <global>
473
  <model>pb_pbgsp/catalog_cron::processStatusNotifications</model>
474
  </run>
475
  </pb_notifications>
476
+
477
+ <pb_generateASN>
478
+ <schedule>
479
+ <cron_expr>0 * * * *</cron_expr>
480
+ </schedule>
481
+ <run>
482
+ <model>pb_pbgsp/Inboundparcel::generateInboundParcelPreAdviceCron</model>
483
+ </run>
484
+ </pb_generateASN>
485
  </jobs>
486
  </crontab>
487
  <adminhtml>
app/code/local/Pb/Pbgsp/etc/system.xml CHANGED
@@ -1,442 +1,446 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <sections>
4
- <carriers>
5
- <groups>
6
- <pbgsp translate="label" module="shipping">
7
- <label>Pitney Bowes PBGSP</label>
8
- <frontend_type>text</frontend_type>
9
- <sort_order>13</sort_order>
10
- <show_in_default>1</show_in_default>
11
- <show_in_website>1</show_in_website>
12
- <show_in_store>1</show_in_store>
13
- <fields>
14
- <active translate="label">
15
- <label>Enabled</label>
16
- <frontend_type>select</frontend_type>
17
- <source_model>adminhtml/system_config_source_yesno</source_model>
18
- <sort_order>1</sort_order>
19
- <show_in_default>1</show_in_default>
20
- <show_in_website>1</show_in_website>
21
- <show_in_store>1</show_in_store>
22
- </active>
23
- <merchantcode translate="label">
24
- <label>Merchant Code</label>
25
- <frontend_type>text</frontend_type>
26
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
27
- <sort_order>10</sort_order>
28
- <show_in_default>1</show_in_default>
29
- <show_in_website>1</show_in_website>
30
- <show_in_store>1</show_in_store>
31
- </merchantcode>
32
- <authorization_endpoint translate="label">
33
- <label>Authorization Endpoint</label>
34
- <frontend_type>text</frontend_type>
35
- <sort_order>15</sort_order>
36
- <show_in_default>1</show_in_default>
37
- <show_in_website>1</show_in_website>
38
- <show_in_store>1</show_in_store>
39
- </authorization_endpoint>
40
- <checkout_endpoint translate="label">
41
- <label>Checkout Endpoint</label>
42
- <frontend_type>text</frontend_type>
43
- <sort_order>16</sort_order>
44
- <show_in_default>1</show_in_default>
45
- <show_in_website>1</show_in_website>
46
- <show_in_store>1</show_in_store>
47
- </checkout_endpoint>
48
- <order_mgmt_api translate="label">
49
- <label>ASN Endpoint</label>
50
- <frontend_type>text</frontend_type>
51
-
52
- <sort_order>17</sort_order>
53
- <show_in_default>1</show_in_default>
54
- <show_in_website>1</show_in_website>
55
- <show_in_store>1</show_in_store>
56
- </order_mgmt_api>
57
- <apiuser translate="label">
58
- <label>API username</label>
59
- <frontend_type>text</frontend_type>
60
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
61
- <sort_order>20</sort_order>
62
- <show_in_default>1</show_in_default>
63
- <show_in_website>1</show_in_website>
64
- <show_in_store>1</show_in_store>
65
- </apiuser>
66
- <apipass translate="label">
67
- <label>API password</label>
68
- <frontend_type>password</frontend_type>
69
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
70
- <sort_order>30</sort_order>
71
- <show_in_default>1</show_in_default>
72
- <show_in_website>1</show_in_website>
73
- <show_in_store>1</show_in_store>
74
- </apipass>
75
- <ftpuser translate="label">
76
- <label>SFTP username</label>
77
- <frontend_type>text</frontend_type>
78
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
79
- <sort_order>40</sort_order>
80
- <show_in_default>1</show_in_default>
81
- <show_in_website>1</show_in_website>
82
- <show_in_store>1</show_in_store>
83
- </ftpuser>
84
- <ftppass translate="label">
85
- <label>SFTP password</label>
86
- <frontend_type>password</frontend_type>
87
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
88
- <sort_order>50</sort_order>
89
- <show_in_default>1</show_in_default>
90
- <show_in_website>1</show_in_website>
91
- <show_in_store>1</show_in_store>
92
- </ftppass>
93
- <ftphost translate="label">
94
- <label>SFTP hostname</label>
95
- <frontend_type>text</frontend_type>
96
- <sort_order>60</sort_order>
97
- <show_in_default>1</show_in_default>
98
- <show_in_website>1</show_in_website>
99
- <show_in_store>1</show_in_store>
100
- </ftphost>
101
- <ftpport translate="label">
102
- <label>SFTP port</label>
103
- <frontend_type>text</frontend_type>
104
- <sort_order>70</sort_order>
105
- <show_in_default>1</show_in_default>
106
- <show_in_website>1</show_in_website>
107
- <show_in_store>1</show_in_store>
108
- </ftpport>
109
- <ftpdir translate="label">
110
- <label>SFTP catalog directory</label>
111
- <frontend_type>text</frontend_type>
112
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
113
- <sort_order>80</sort_order>
114
- <show_in_default>1</show_in_default>
115
- <show_in_website>1</show_in_website>
116
- <show_in_store>1</show_in_store>
117
- </ftpdir>
118
- <catalog_diff translate="label">
119
- <label>Catalog update period (hours, min 1 hour)</label>
120
- <frontend_type>text</frontend_type>
121
- <sort_order>90</sort_order>
122
- <show_in_default>1</show_in_default>
123
- <show_in_website>1</show_in_website>
124
- <show_in_store>1</show_in_store>
125
- </catalog_diff>
126
- <catalog_full translate="label">
127
- <label>Full catalog upload period (days)</label>
128
- <frontend_type>text</frontend_type>
129
- <sort_order>100</sort_order>
130
- <show_in_default>1</show_in_default>
131
- <show_in_website>1</show_in_website>
132
- <show_in_store>1</show_in_store>
133
- </catalog_full>
134
- <catalog_size translate="label">
135
- <label>Maximum Records Per File</label>
136
- <frontend_type>text</frontend_type>
137
- <validate>validate-number</validate>
138
- <sort_order>105</sort_order>
139
- <show_in_default>1</show_in_default>
140
- <show_in_website>1</show_in_website>
141
- <show_in_store>1</show_in_store>
142
- </catalog_size>
143
- <catalog_sender_id translate="label">
144
- <label>Catalog Sender ID</label>
145
- <frontend_type>text</frontend_type>
146
-
147
- <sort_order>106</sort_order>
148
- <show_in_default>1</show_in_default>
149
- <show_in_website>1</show_in_website>
150
- <show_in_store>1</show_in_store>
151
- </catalog_sender_id>
152
- <admin_email translate="label">
153
- <label>Admin Email</label>
154
- <frontend_type>text</frontend_type>
155
- <validate>validate-email</validate>
156
- <sort_order>110</sort_order>
157
- <show_in_default>1</show_in_default>
158
- <show_in_website>1</show_in_website>
159
- <show_in_store>1</show_in_store>
160
- </admin_email>
161
- <catalog_encryption_enabled translate="label">
162
- <label>Catalog Encryption Enabled</label>
163
- <frontend_type>select</frontend_type>
164
- <source_model>adminhtml/system_config_source_yesno</source_model>
165
- <sort_order>115</sort_order>
166
- <show_in_default>1</show_in_default>
167
- <show_in_website>1</show_in_website>
168
- <show_in_store>1</show_in_store>
169
- </catalog_encryption_enabled>
170
- <encryption_public_key translate="label">
171
- <label>Catalog Encryption Public Key</label>
172
- <frontend_type>textarea</frontend_type>
173
- <sort_order>120</sort_order>
174
- <show_in_default>1</show_in_default>
175
- <show_in_website>1</show_in_website>
176
- <show_in_store>1</show_in_store>
177
- </encryption_public_key>
178
- <notify_catalog_ok translate="label">
179
- <label>Notify on Successful Catalog Export</label>
180
- <frontend_type>select</frontend_type>
181
- <source_model>adminhtml/system_config_source_yesno</source_model>
182
- <sort_order>121</sort_order>
183
- <show_in_default>1</show_in_default>
184
- <show_in_website>1</show_in_website>
185
- <show_in_store>1</show_in_store>
186
- </notify_catalog_ok>
187
- <notify_catalog_err translate="label">
188
- <label>Notify on Catalog Export Failure</label>
189
- <frontend_type>select</frontend_type>
190
- <source_model>adminhtml/system_config_source_yesno</source_model>
191
- <sort_order>122</sort_order>
192
- <show_in_default>1</show_in_default>
193
- <show_in_website>1</show_in_website>
194
- <show_in_store>1</show_in_store>
195
- </notify_catalog_err>
196
- <asn_generation_enabled translate="label">
197
- <label>Generate ASN</label>
198
- <frontend_type>select</frontend_type>
199
- <source_model>adminhtml/system_config_source_yesno</source_model>
200
- <sort_order>125</sort_order>
201
- <show_in_default>1</show_in_default>
202
- <show_in_website>1</show_in_website>
203
- <show_in_store>1</show_in_store>
204
- </asn_generation_enabled>
205
-
206
- <!--
207
- If the free_shipping_enable flag enable, the system will check free_shipping_subtotal to give free shipping
208
- otherwise will use shopping cart price rule behaviour
209
- -->
210
- <free_shipping_enable translate="label">
211
- <label>Free shipping with minimum order amount</label>
212
- <frontend_type>select</frontend_type>
213
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
214
- <sort_order>160</sort_order>
215
- <show_in_default>1</show_in_default>
216
- <show_in_website>1</show_in_website>
217
- <show_in_store>1</show_in_store>
218
- </free_shipping_enable>
219
- <free_shipping_subtotal translate="label">
220
- <label>Minimum order amount for free shipping</label>
221
- <frontend_type>text</frontend_type>
222
- <sort_order>170</sort_order>
223
- <show_in_default>1</show_in_default>
224
- <show_in_website>1</show_in_website>
225
- <show_in_store>1</show_in_store>
226
- </free_shipping_subtotal>
227
- <free_tax_enable translate="label">
228
- <label>Enable zero tax for customer</label>
229
- <frontend_type>select</frontend_type>
230
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
231
- <sort_order>175</sort_order>
232
- <show_in_default>1</show_in_default>
233
- <show_in_website>1</show_in_website>
234
- <show_in_store>1</show_in_store>
235
- </free_tax_enable>
236
-
237
- <sort_order translate="label">
238
- <label>Sort order</label>
239
- <frontend_type>text</frontend_type>
240
- <sort_order>230</sort_order>
241
- <show_in_default>1</show_in_default>
242
- <show_in_website>1</show_in_website>
243
- <show_in_store>1</show_in_store>
244
- </sort_order>
245
- <title translate="label">
246
- <label>Title</label>
247
- <frontend_type>text</frontend_type>
248
- <sort_order>240</sort_order>
249
- <show_in_default>1</show_in_default>
250
- <show_in_website>1</show_in_website>
251
- <show_in_store>1</show_in_store>
252
- </title>
253
- <!-- added by BigPixel 6/5/2012 -->
254
- <handlingfee translate="label">
255
- <label>Handling Fee</label>
256
- <frontend_type>text</frontend_type>
257
- <sort_order>241</sort_order>
258
- <show_in_default>1</show_in_default>
259
- <show_in_website>1</show_in_website>
260
- <show_in_store>1</show_in_store>
261
- </handlingfee>
262
- <handlingoption translate="label">
263
- <label>Handling Fee Apply As</label>
264
- <frontend_type>select</frontend_type>
265
- <source_model>pb_pbgsp/handlingoptions</source_model>
266
- <sort_order>242</sort_order>
267
- <show_in_default>1</show_in_default>
268
- <show_in_website>1</show_in_website>
269
- <show_in_store>1</show_in_store>
270
- </handlingoption>
271
- <domestic_shipping_fee translate="label">
272
- <label>Domestic Shipping Fee</label>
273
- <frontend_type>text</frontend_type>
274
- <sort_order>243</sort_order>
275
- <show_in_default>1</show_in_default>
276
- <show_in_website>1</show_in_website>
277
- <show_in_store>1</show_in_store>
278
- </domestic_shipping_fee>
279
- <domestic_shipping_option translate="label">
280
- <label>Apply Domestic shipping fee as</label>
281
- <frontend_type>select</frontend_type>
282
- <source_model>pb_pbgsp/handlingoptions</source_model>
283
- <sort_order>244</sort_order>
284
- <show_in_default>1</show_in_default>
285
- <show_in_website>1</show_in_website>
286
- <show_in_store>1</show_in_store>
287
- </domestic_shipping_option>
288
- <delivery_adjustment_min_days translate="label">
289
- <label>Minimum Delivery Days to PB Hub</label>
290
- <frontend_type>text</frontend_type>
291
- <validate>validate-number</validate>
292
- <sort_order>245</sort_order>
293
- <show_in_default>1</show_in_default>
294
- <show_in_website>1</show_in_website>
295
- <show_in_store>1</show_in_store>
296
- </delivery_adjustment_min_days>
297
- <delivery_adjustment_max_days translate="label">
298
- <label>Maximum Delivery Days to PB Hub</label>
299
- <frontend_type>text</frontend_type>
300
- <validate>validate-number</validate>
301
- <sort_order>246</sort_order>
302
- <show_in_default>1</show_in_default>
303
- <show_in_website>1</show_in_website>
304
- <show_in_store>1</show_in_store>
305
- </delivery_adjustment_max_days>
306
- <!-- added by BigPixel 6/5/2012 -->
307
- <sallowspecific translate="label">
308
- <label>Ship to applicable countries</label>
309
- <frontend_type>select</frontend_type>
310
- <sort_order>250</sort_order>
311
- <frontend_class>shipping-applicable-country</frontend_class>
312
- <source_model>adminhtml/system_config_source_shipping_allspecificcountries</source_model>
313
- <show_in_default>1</show_in_default>
314
- <show_in_website>1</show_in_website>
315
- <show_in_store>1</show_in_store>
316
- </sallowspecific>
317
- <specificcountry translate="label">
318
- <label>Ship to Specific countries</label>
319
- <frontend_type>multiselect</frontend_type>
320
- <sort_order>251</sort_order>
321
- <source_model>adminhtml/system_config_source_country</source_model>
322
- <show_in_default>1</show_in_default>
323
- <show_in_website>1</show_in_website>
324
- <show_in_store>1</show_in_store>
325
- </specificcountry>
326
- <showmethod translate="label">
327
- <label>Show Method if Not Applicable</label>
328
- <frontend_type>select</frontend_type>
329
- <sort_order>260</sort_order>
330
- <frontend_class>shipping-skip-hide</frontend_class>
331
- <source_model>adminhtml/system_config_source_yesno</source_model>
332
- <show_in_default>1</show_in_default>
333
- <show_in_website>1</show_in_website>
334
- <show_in_store>0</show_in_store>
335
- </showmethod>
336
- <specificerrmsg translate="label">
337
- <label>Displayed Error Message</label>
338
- <frontend_type>textarea</frontend_type>
339
- <sort_order>270</sort_order>
340
- <show_in_default>1</show_in_default>
341
- <show_in_website>1</show_in_website>
342
- <show_in_store>1</show_in_store>
343
- </specificerrmsg>
344
- <!-- test comments -->
345
- <trackinglink translate="label">
346
- <label>Enable Tracking Links</label>
347
- <frontend_type>select</frontend_type>
348
- <source_model>adminhtml/system_config_source_yesno</source_model>
349
- <sort_order>271</sort_order>
350
- <show_in_default>1</show_in_default>
351
- <show_in_website>1</show_in_website>
352
- <show_in_store>1</show_in_store>
353
- </trackinglink>
354
- <suppress_domestic_tracking translate="label">
355
- <label>Suppress Domestic Leg Tracking</label>
356
- <frontend_type>select</frontend_type>
357
- <sort_order>280</sort_order>
358
- <frontend_class>shipping-skip-hide</frontend_class>
359
- <source_model>adminhtml/system_config_source_yesno</source_model>
360
- <show_in_default>1</show_in_default>
361
- <show_in_website>1</show_in_website>
362
- <show_in_store>1</show_in_store>
363
- </suppress_domestic_tracking>
364
- <custom_shipment_email_subject translate="label">
365
- <label>Custom Shipment Email Subject</label>
366
- <frontend_type>text</frontend_type>
367
-
368
- <sort_order>281</sort_order>
369
- <show_in_default>1</show_in_default>
370
- <show_in_website>1</show_in_website>
371
- <show_in_store>1</show_in_store>
372
- </custom_shipment_email_subject>
373
- <custom_shipment_email_template>
374
- <label>Custom Shipment Email</label>
375
- <frontend_type>textarea</frontend_type>
376
- <sort_order>282</sort_order>
377
- <show_in_default>1</show_in_default>
378
- <show_in_website>1</show_in_website>
379
- <show_in_store>1</show_in_store>
380
- </custom_shipment_email_template>
381
- <separate_log_file translate="label">
382
- <label>Log in separate file</label>
383
- <frontend_type>select</frontend_type>
384
- <sort_order>283</sort_order>
385
- <frontend_class>shipping-skip-hide</frontend_class>
386
- <source_model>adminhtml/system_config_source_yesno</source_model>
387
- <show_in_default>1</show_in_default>
388
- <show_in_website>1</show_in_website>
389
- <show_in_store>1</show_in_store>
390
- </separate_log_file>
391
- <return_address_street1 translate="label">
392
- <label>Return Address Street 1</label>
393
- <frontend_type>text</frontend_type>
394
-
395
- <sort_order>284</sort_order>
396
- <show_in_default>1</show_in_default>
397
- <show_in_website>1</show_in_website>
398
- <show_in_store>1</show_in_store>
399
- </return_address_street1>
400
- <return_address_city translate="label">
401
- <label>Return Address City</label>
402
- <frontend_type>text</frontend_type>
403
-
404
- <sort_order>285</sort_order>
405
- <show_in_default>1</show_in_default>
406
- <show_in_website>1</show_in_website>
407
- <show_in_store>1</show_in_store>
408
- </return_address_city>
409
- <return_address_state translate="label">
410
- <label>Province/State</label>
411
- <frontend_type>text</frontend_type>
412
-
413
- <sort_order>286</sort_order>
414
- <show_in_default>1</show_in_default>
415
- <show_in_website>1</show_in_website>
416
- <show_in_store>1</show_in_store>
417
- </return_address_state>
418
- <return_address_country translate="label">
419
- <label>Country</label>
420
- <frontend_type>select</frontend_type>
421
- <source_model>adminhtml/system_config_source_country</source_model>
422
- <sort_order>287</sort_order>
423
- <show_in_default>1</show_in_default>
424
- <show_in_website>1</show_in_website>
425
- <show_in_store>1</show_in_store>
426
- </return_address_country>
427
- <return_address_zip translate="label">
428
- <label>Zip or Postal Code</label>
429
- <frontend_type>text</frontend_type>
430
-
431
- <sort_order>288</sort_order>
432
- <show_in_default>1</show_in_default>
433
- <show_in_website>1</show_in_website>
434
- <show_in_store>1</show_in_store>
435
- </return_address_zip>
436
- </fields>
437
- </pbgsp>
438
- </groups>
439
- </carriers>
440
-
441
- </sections>
442
- </config>
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <sections>
4
+ <carriers>
5
+ <groups>
6
+ <pbgsp translate="label" module="shipping">
7
+ <label>Pitney Bowes PBGSP</label>
8
+ <frontend_type>text</frontend_type>
9
+ <sort_order>13</sort_order>
10
+ <show_in_default>1</show_in_default>
11
+ <show_in_website>1</show_in_website>
12
+ <show_in_store>1</show_in_store>
13
+ <fields>
14
+ <active translate="label">
15
+ <label>Enabled</label>
16
+ <frontend_type>select</frontend_type>
17
+ <source_model>adminhtml/system_config_source_yesno</source_model>
18
+ <sort_order>1</sort_order>
19
+ <show_in_default>1</show_in_default>
20
+ <show_in_website>1</show_in_website>
21
+ <show_in_store>1</show_in_store>
22
+ </active>
23
+ <merchantcode translate="label">
24
+ <label>Merchant Code</label>
25
+ <frontend_type>text</frontend_type>
26
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
27
+ <sort_order>10</sort_order>
28
+ <show_in_default>1</show_in_default>
29
+ <show_in_website>1</show_in_website>
30
+ <show_in_store>1</show_in_store>
31
+ </merchantcode>
32
+ <authorization_endpoint translate="label">
33
+ <label>Authorization Endpoint</label>
34
+ <!-- <frontend_type>select</frontend_type>
35
+ <source_model>pb_pbgsp/authapioptions</source_model>-->
36
+ <frontend_type>text</frontend_type>
37
+ <sort_order>15</sort_order>
38
+ <show_in_default>1</show_in_default>
39
+ <show_in_website>1</show_in_website>
40
+ <show_in_store>1</show_in_store>
41
+ </authorization_endpoint>
42
+ <checkout_endpoint translate="label">
43
+ <label>Checkout Endpoint</label>
44
+ <frontend_type>text</frontend_type>
45
+ <sort_order>16</sort_order>
46
+ <show_in_default>1</show_in_default>
47
+ <show_in_website>1</show_in_website>
48
+ <show_in_store>1</show_in_store>
49
+ </checkout_endpoint>
50
+ <order_mgmt_api translate="label">
51
+ <label>ASN Endpoint</label>
52
+ <frontend_type>text</frontend_type>
53
+
54
+ <sort_order>17</sort_order>
55
+ <show_in_default>1</show_in_default>
56
+ <show_in_website>1</show_in_website>
57
+ <show_in_store>1</show_in_store>
58
+ </order_mgmt_api>
59
+ <apiuser translate="label">
60
+ <label>API username</label>
61
+ <frontend_type>text</frontend_type>
62
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
63
+ <sort_order>20</sort_order>
64
+ <show_in_default>1</show_in_default>
65
+ <show_in_website>1</show_in_website>
66
+ <show_in_store>1</show_in_store>
67
+ </apiuser>
68
+ <apipass translate="label">
69
+ <label>API password</label>
70
+ <frontend_type>password</frontend_type>
71
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
72
+ <sort_order>30</sort_order>
73
+ <show_in_default>1</show_in_default>
74
+ <show_in_website>1</show_in_website>
75
+ <show_in_store>1</show_in_store>
76
+ </apipass>
77
+ <ftpuser translate="label">
78
+ <label>SFTP username</label>
79
+ <frontend_type>text</frontend_type>
80
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
81
+ <sort_order>40</sort_order>
82
+ <show_in_default>1</show_in_default>
83
+ <show_in_website>1</show_in_website>
84
+ <show_in_store>1</show_in_store>
85
+ </ftpuser>
86
+ <ftppass translate="label">
87
+ <label>SFTP password</label>
88
+ <frontend_type>password</frontend_type>
89
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
90
+ <sort_order>50</sort_order>
91
+ <show_in_default>1</show_in_default>
92
+ <show_in_website>1</show_in_website>
93
+ <show_in_store>1</show_in_store>
94
+ </ftppass>
95
+ <ftphost translate="label">
96
+ <label>SFTP hostname</label>
97
+ <frontend_type>text</frontend_type>
98
+ <sort_order>60</sort_order>
99
+ <show_in_default>1</show_in_default>
100
+ <show_in_website>1</show_in_website>
101
+ <show_in_store>1</show_in_store>
102
+ </ftphost>
103
+ <ftpport translate="label">
104
+ <label>SFTP port</label>
105
+ <frontend_type>text</frontend_type>
106
+ <sort_order>70</sort_order>
107
+ <show_in_default>1</show_in_default>
108
+ <show_in_website>1</show_in_website>
109
+ <show_in_store>1</show_in_store>
110
+ </ftpport>
111
+ <ftpdir translate="label">
112
+ <label>SFTP catalog directory</label>
113
+ <frontend_type>text</frontend_type>
114
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
115
+ <sort_order>80</sort_order>
116
+ <show_in_default>1</show_in_default>
117
+ <show_in_website>1</show_in_website>
118
+ <show_in_store>1</show_in_store>
119
+ </ftpdir>
120
+ <catalog_diff translate="label">
121
+ <label>Catalog update period (hours, min 1 hour)</label>
122
+ <frontend_type>text</frontend_type>
123
+ <sort_order>90</sort_order>
124
+ <show_in_default>1</show_in_default>
125
+ <show_in_website>1</show_in_website>
126
+ <show_in_store>1</show_in_store>
127
+ </catalog_diff>
128
+ <catalog_full translate="label">
129
+ <label>Full catalog upload period (days)</label>
130
+ <frontend_type>text</frontend_type>
131
+ <sort_order>100</sort_order>
132
+ <show_in_default>1</show_in_default>
133
+ <show_in_website>1</show_in_website>
134
+ <show_in_store>1</show_in_store>
135
+ </catalog_full>
136
+ <catalog_size translate="label">
137
+ <label>Maximum Records Per File</label>
138
+ <frontend_type>text</frontend_type>
139
+ <validate>validate-number</validate>
140
+ <sort_order>105</sort_order>
141
+ <show_in_default>1</show_in_default>
142
+ <show_in_website>1</show_in_website>
143
+ <show_in_store>1</show_in_store>
144
+ </catalog_size>
145
+ <catalog_sender_id translate="label">
146
+ <label>Catalog Sender ID</label>
147
+ <frontend_type>text</frontend_type>
148
+
149
+ <sort_order>106</sort_order>
150
+ <show_in_default>1</show_in_default>
151
+ <show_in_website>1</show_in_website>
152
+ <show_in_store>1</show_in_store>
153
+ </catalog_sender_id>
154
+ <admin_email translate="label">
155
+ <label>Admin Email</label>
156
+ <frontend_type>text</frontend_type>
157
+ <validate>validate-email</validate>
158
+ <sort_order>110</sort_order>
159
+ <show_in_default>1</show_in_default>
160
+ <show_in_website>1</show_in_website>
161
+ <show_in_store>1</show_in_store>
162
+ </admin_email>
163
+ <catalog_encryption_enabled translate="label">
164
+ <label>Catalog Encryption Enabled</label>
165
+ <frontend_type>select</frontend_type>
166
+ <source_model>adminhtml/system_config_source_yesno</source_model>
167
+ <sort_order>115</sort_order>
168
+ <show_in_default>1</show_in_default>
169
+ <show_in_website>1</show_in_website>
170
+ <show_in_store>1</show_in_store>
171
+ </catalog_encryption_enabled>
172
+ <encryption_public_key translate="label">
173
+ <label>Catalog Encryption Public Key</label>
174
+ <frontend_type>textarea</frontend_type>
175
+ <sort_order>120</sort_order>
176
+ <show_in_default>1</show_in_default>
177
+ <show_in_website>1</show_in_website>
178
+ <show_in_store>1</show_in_store>
179
+ </encryption_public_key>
180
+ <notify_catalog_ok translate="label">
181
+ <label>Notify on Successful Catalog Export</label>
182
+ <frontend_type>select</frontend_type>
183
+ <source_model>adminhtml/system_config_source_yesno</source_model>
184
+ <sort_order>121</sort_order>
185
+ <show_in_default>1</show_in_default>
186
+ <show_in_website>1</show_in_website>
187
+ <show_in_store>1</show_in_store>
188
+ </notify_catalog_ok>
189
+ <notify_catalog_err translate="label">
190
+ <label>Notify on Catalog Export Failure</label>
191
+ <frontend_type>select</frontend_type>
192
+ <source_model>adminhtml/system_config_source_yesno</source_model>
193
+ <sort_order>122</sort_order>
194
+ <show_in_default>1</show_in_default>
195
+ <show_in_website>1</show_in_website>
196
+ <show_in_store>1</show_in_store>
197
+ </notify_catalog_err>
198
+ <asn_generation_enabled translate="label">
199
+ <label>Generate ASN</label>
200
+ <frontend_type>select</frontend_type>
201
+ <source_model>adminhtml/system_config_source_yesno</source_model>
202
+ <sort_order>125</sort_order>
203
+ <show_in_default>1</show_in_default>
204
+ <show_in_website>1</show_in_website>
205
+ <show_in_store>1</show_in_store>
206
+ </asn_generation_enabled>
207
+
208
+ <!--
209
+ If the free_shipping_enable flag enable, the system will check free_shipping_subtotal to give free shipping
210
+ otherwise will use shopping cart price rule behaviour
211
+ -->
212
+ <free_shipping_enable translate="label">
213
+ <label>Free shipping with minimum order amount</label>
214
+ <frontend_type>select</frontend_type>
215
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
216
+ <sort_order>160</sort_order>
217
+ <show_in_default>1</show_in_default>
218
+ <show_in_website>1</show_in_website>
219
+ <show_in_store>1</show_in_store>
220
+ </free_shipping_enable>
221
+ <free_shipping_subtotal translate="label">
222
+ <label>Minimum order amount for free shipping</label>
223
+ <frontend_type>text</frontend_type>
224
+ <sort_order>170</sort_order>
225
+ <show_in_default>1</show_in_default>
226
+ <show_in_website>1</show_in_website>
227
+ <show_in_store>1</show_in_store>
228
+ </free_shipping_subtotal>
229
+ <free_tax_enable translate="label">
230
+ <label>Enable zero tax for customer</label>
231
+ <frontend_type>select</frontend_type>
232
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
233
+ <sort_order>175</sort_order>
234
+ <show_in_default>1</show_in_default>
235
+ <show_in_website>1</show_in_website>
236
+ <show_in_store>1</show_in_store>
237
+ </free_tax_enable>
238
+
239
+ <sort_order translate="label">
240
+ <label>Sort order</label>
241
+ <frontend_type>text</frontend_type>
242
+ <sort_order>230</sort_order>
243
+ <show_in_default>1</show_in_default>
244
+ <show_in_website>1</show_in_website>
245
+ <show_in_store>1</show_in_store>
246
+ </sort_order>
247
+ <title translate="label">
248
+ <label>Title</label>
249
+ <validate>required-entry</validate>
250
+ <frontend_type>text</frontend_type>
251
+ <validate>required-entry</validate>
252
+ <sort_order>240</sort_order>
253
+ <show_in_default>1</show_in_default>
254
+ <show_in_website>1</show_in_website>
255
+ <show_in_store>1</show_in_store>
256
+ </title>
257
+ <!-- added by BigPixel 6/5/2012 -->
258
+ <handlingfee translate="label">
259
+ <label>Handling Fee</label>
260
+ <frontend_type>text</frontend_type>
261
+ <sort_order>241</sort_order>
262
+ <show_in_default>1</show_in_default>
263
+ <show_in_website>1</show_in_website>
264
+ <show_in_store>1</show_in_store>
265
+ </handlingfee>
266
+ <handlingoption translate="label">
267
+ <label>Handling Fee Apply As</label>
268
+ <frontend_type>select</frontend_type>
269
+ <source_model>pb_pbgsp/handlingoptions</source_model>
270
+ <sort_order>242</sort_order>
271
+ <show_in_default>1</show_in_default>
272
+ <show_in_website>1</show_in_website>
273
+ <show_in_store>1</show_in_store>
274
+ </handlingoption>
275
+ <domestic_shipping_fee translate="label">
276
+ <label>Domestic Shipping Fee</label>
277
+ <frontend_type>text</frontend_type>
278
+ <sort_order>243</sort_order>
279
+ <show_in_default>1</show_in_default>
280
+ <show_in_website>1</show_in_website>
281
+ <show_in_store>1</show_in_store>
282
+ </domestic_shipping_fee>
283
+ <domestic_shipping_option translate="label">
284
+ <label>Apply Domestic shipping fee as</label>
285
+ <frontend_type>select</frontend_type>
286
+ <source_model>pb_pbgsp/handlingoptions</source_model>
287
+ <sort_order>244</sort_order>
288
+ <show_in_default>1</show_in_default>
289
+ <show_in_website>1</show_in_website>
290
+ <show_in_store>1</show_in_store>
291
+ </domestic_shipping_option>
292
+ <delivery_adjustment_min_days translate="label">
293
+ <label>Minimum Delivery Days to PB Hub</label>
294
+ <frontend_type>text</frontend_type>
295
+ <validate>validate-number</validate>
296
+ <sort_order>245</sort_order>
297
+ <show_in_default>1</show_in_default>
298
+ <show_in_website>1</show_in_website>
299
+ <show_in_store>1</show_in_store>
300
+ </delivery_adjustment_min_days>
301
+ <delivery_adjustment_max_days translate="label">
302
+ <label>Maximum Delivery Days to PB Hub</label>
303
+ <frontend_type>text</frontend_type>
304
+ <validate>validate-number</validate>
305
+ <sort_order>246</sort_order>
306
+ <show_in_default>1</show_in_default>
307
+ <show_in_website>1</show_in_website>
308
+ <show_in_store>1</show_in_store>
309
+ </delivery_adjustment_max_days>
310
+ <!-- added by BigPixel 6/5/2012 -->
311
+ <sallowspecific translate="label">
312
+ <label>Ship to applicable countries</label>
313
+ <frontend_type>select</frontend_type>
314
+ <sort_order>250</sort_order>
315
+ <frontend_class>shipping-applicable-country</frontend_class>
316
+ <source_model>adminhtml/system_config_source_shipping_allspecificcountries</source_model>
317
+ <show_in_default>1</show_in_default>
318
+ <show_in_website>1</show_in_website>
319
+ <show_in_store>1</show_in_store>
320
+ </sallowspecific>
321
+ <specificcountry translate="label">
322
+ <label>Ship to Specific countries</label>
323
+ <frontend_type>multiselect</frontend_type>
324
+ <sort_order>251</sort_order>
325
+ <source_model>adminhtml/system_config_source_country</source_model>
326
+ <show_in_default>1</show_in_default>
327
+ <show_in_website>1</show_in_website>
328
+ <show_in_store>1</show_in_store>
329
+ </specificcountry>
330
+ <showmethod translate="label">
331
+ <label>Show Method if Not Applicable</label>
332
+ <frontend_type>select</frontend_type>
333
+ <sort_order>260</sort_order>
334
+ <frontend_class>shipping-skip-hide</frontend_class>
335
+ <source_model>adminhtml/system_config_source_yesno</source_model>
336
+ <show_in_default>1</show_in_default>
337
+ <show_in_website>1</show_in_website>
338
+ <show_in_store>0</show_in_store>
339
+ </showmethod>
340
+ <specificerrmsg translate="label">
341
+ <label>Displayed Error Message</label>
342
+ <frontend_type>textarea</frontend_type>
343
+ <sort_order>270</sort_order>
344
+ <show_in_default>1</show_in_default>
345
+ <show_in_website>1</show_in_website>
346
+ <show_in_store>1</show_in_store>
347
+ </specificerrmsg>
348
+ <!-- test comments -->
349
+ <trackinglink translate="label">
350
+ <label>Enable Tracking Links</label>
351
+ <frontend_type>select</frontend_type>
352
+ <source_model>adminhtml/system_config_source_yesno</source_model>
353
+ <sort_order>271</sort_order>
354
+ <show_in_default>1</show_in_default>
355
+ <show_in_website>1</show_in_website>
356
+ <show_in_store>1</show_in_store>
357
+ </trackinglink>
358
+ <suppress_domestic_tracking translate="label">
359
+ <label>Suppress Domestic Leg Tracking</label>
360
+ <frontend_type>select</frontend_type>
361
+ <sort_order>280</sort_order>
362
+ <frontend_class>shipping-skip-hide</frontend_class>
363
+ <source_model>adminhtml/system_config_source_yesno</source_model>
364
+ <show_in_default>1</show_in_default>
365
+ <show_in_website>1</show_in_website>
366
+ <show_in_store>1</show_in_store>
367
+ </suppress_domestic_tracking>
368
+ <custom_shipment_email_subject translate="label">
369
+ <label>Custom Shipment Email Subject</label>
370
+ <frontend_type>text</frontend_type>
371
+
372
+ <sort_order>281</sort_order>
373
+ <show_in_default>1</show_in_default>
374
+ <show_in_website>1</show_in_website>
375
+ <show_in_store>1</show_in_store>
376
+ </custom_shipment_email_subject>
377
+ <custom_shipment_email_template>
378
+ <label>Custom Shipment Email</label>
379
+ <frontend_type>textarea</frontend_type>
380
+ <sort_order>282</sort_order>
381
+ <show_in_default>1</show_in_default>
382
+ <show_in_website>1</show_in_website>
383
+ <show_in_store>1</show_in_store>
384
+ </custom_shipment_email_template>
385
+ <separate_log_file translate="label">
386
+ <label>Log in separate file</label>
387
+ <frontend_type>select</frontend_type>
388
+ <sort_order>283</sort_order>
389
+ <frontend_class>shipping-skip-hide</frontend_class>
390
+ <source_model>adminhtml/system_config_source_yesno</source_model>
391
+ <show_in_default>1</show_in_default>
392
+ <show_in_website>1</show_in_website>
393
+ <show_in_store>1</show_in_store>
394
+ </separate_log_file>
395
+ <return_address_street1 translate="label">
396
+ <label>Return Address Street 1</label>
397
+ <frontend_type>text</frontend_type>
398
+
399
+ <sort_order>284</sort_order>
400
+ <show_in_default>1</show_in_default>
401
+ <show_in_website>1</show_in_website>
402
+ <show_in_store>1</show_in_store>
403
+ </return_address_street1>
404
+ <return_address_city translate="label">
405
+ <label>Return Address City</label>
406
+ <frontend_type>text</frontend_type>
407
+
408
+ <sort_order>285</sort_order>
409
+ <show_in_default>1</show_in_default>
410
+ <show_in_website>1</show_in_website>
411
+ <show_in_store>1</show_in_store>
412
+ </return_address_city>
413
+ <return_address_state translate="label">
414
+ <label>Province/State</label>
415
+ <frontend_type>text</frontend_type>
416
+
417
+ <sort_order>286</sort_order>
418
+ <show_in_default>1</show_in_default>
419
+ <show_in_website>1</show_in_website>
420
+ <show_in_store>1</show_in_store>
421
+ </return_address_state>
422
+ <return_address_country translate="label">
423
+ <label>Country</label>
424
+ <frontend_type>select</frontend_type>
425
+ <source_model>adminhtml/system_config_source_country</source_model>
426
+ <sort_order>287</sort_order>
427
+ <show_in_default>1</show_in_default>
428
+ <show_in_website>1</show_in_website>
429
+ <show_in_store>1</show_in_store>
430
+ </return_address_country>
431
+ <return_address_zip translate="label">
432
+ <label>Zip or Postal Code</label>
433
+ <frontend_type>text</frontend_type>
434
+
435
+ <sort_order>288</sort_order>
436
+ <show_in_default>1</show_in_default>
437
+ <show_in_website>1</show_in_website>
438
+ <show_in_store>1</show_in_store>
439
+ </return_address_zip>
440
+ </fields>
441
+ </pbgsp>
442
+ </groups>
443
+ </carriers>
444
+
445
+ </sections>
446
+ </config>
app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-install-1.0.0.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-upgrade-1.0.0-1.0.1.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /**
3
- * Product: Pb_Pbgsp (1.1.1)
4
- * Packaged: 2015-09-14T12:11:20+00:00
5
- * Last Modified: 2015-09-9T12:10:00+00:00
6
 
7
 
8
 
1
  <?php
2
  /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
 
7
 
8
 
app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-upgrade-1.1.1-1.1.2.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Product: Pb_Pbgsp (1.1.2)
4
+ * Packaged: 2015-09-23T12:09:53+00:00
5
+ * Last Modified: 2015-09-14T12:11:20+00:00
6
+
7
+
8
+
9
+
10
+ * File: app/code/local/Pb/Pbgsp/sql/pbgsp_setup/mysql4-install-1.0.0.php
11
+ * Copyright: Copyright (c) 2015 Pitney Bowes <info@pb.com> / All rights reserved.
12
+ */
13
+
14
+
15
+ $installer = $this;
16
+
17
+ $installer->startSetup();
18
+
19
+ $installer->run("
20
+
21
+ Alter TABLE {$this->getTable('pb_pbgsp/inboundparcel')} add `mage_order_shipment_number` varchar(50) null;
22
+
23
+
24
+
25
+ ");
26
+
27
+ $installer->endSetup();
28
+ ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>pitneybowes_gsp</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -24,12 +24,14 @@ To learn more, go to &lt;a href="http://www.pb.com/ecom"&gt;http://www.pb.com/ec
24
  </description>
25
  <notes>Patch release for Magento Connect.&#xD;
26
  &#xD;
27
- 1. Corrected currency conversion logic to not request rate from PB but run conversion directly in Magento&#xD;
 
 
28
  </notes>
29
  <authors><author><name>Raymond Lai</name><user>r3lai</user><email>raymond.lai@pb.com</email></author></authors>
30
- <date>2015-09-14</date>
31
- <time>15:29:34</time>
32
- <contents><target name="magelocal"><dir name="Pb"><dir name="Pbgsp"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Invoice"><file name="Totals.php" hash="788a0e5bf0941d4b265da63e5bbecef7"/></dir><file name="Totals.php" hash="55178fffd6e0c3db4f0f312d3d170c10"/></dir></dir></dir><dir name="Checkout"><dir name="Shipping"><dir name="Method"><file name="Available.php" hash="495b06946c86581c496d6c1d7e7901b3"/></dir></dir></dir><file name="Form.php" hash="0906c5435d3d1e9c46a43a99f1fd6432"/><dir name="Sales"><dir name="Order"><dir name="Invoice"><file name="Totals.php" hash="42c54d2c76b233cdbdbe3aaf97713f69"/></dir><file name="Totals.php" hash="3db1d69d5c6c210ebddda93bb4dbe750"/></dir></dir></dir><dir name="Model"><file name="Api.php" hash="f4c8888bc8630d008d1b8098be4ca794"/><dir name="Carrier"><file name="ShippingMethod.php" hash="b8e3daffbfe33cf8760ad14bee4db4e7"/></dir><dir name="Catalog"><file name="Category.php" hash="ba51735b8b4f3e7dd35177c418f9e827"/><file name="Cron.php" hash="8c11dad65e3020e2cc3d22c76fcc6fa5"/><file name="File.php" hash="e93273f2d2c929990a9de662430ce370"/><file name="Product.php" hash="e2d754fdef2b31a6f30ceb7b8ba9f2ff"/></dir><file name="Credentials.php" hash="bb9d0a95affc03a515e7feb24a2134a4"/><dir name="Creditmemo"><file name="Duty.php" hash="c8790c84af41ffb26b44edca7d5b8e85"/></dir><file name="Handlingoptions.php" hash="68652fd26fb06052179dce1779914031"/><file name="Helper.php" hash="67e07e6021e063f6acaf05cfe6d7c3a5"/><file name="Inboundparcel.php" hash="7b43a7b7ca28fa1c6c7adcaa0c67fec1"/><dir name="Invoice"><file name="Duty.php" hash="0352fa7d2b2403193174407c7475920e"/></dir><file name="Messages.php" hash="27614cf16f0f5545cfef883ac8ee70c3"/><dir name="Mysql4"><dir name="Inboundparcel"><file name="Collection.php" hash="6ad90b0c8beefb689b9bb78eaadf68a9"/></dir><file name="Inboundparcel.php" hash="c0bd32e7d49e78c7f0f78f5e3e7f668e"/><dir name="Ordernumber"><file name="Collection.php" hash="84990ff42a4dc11a298210d509d68365"/></dir><file name="Ordernumber.php" hash="4ec366f16174f8ac4b377843e7da81d6"/><dir name="Variable"><file name="Collection.php" hash="d88141a9575ed237bf472f17d52f552a"/></dir><file name="Variable.php" hash="9039c9c6f0e2264e860b249f2d095ef0"/></dir><file name="Observer.php" hash="f0112abc1f8dfff0ae9e4987af145310"/><file name="Ordernumber.php" hash="51e1457db359eea8fd1d3b0fde10228a"/><dir name="Pdf"><file name="Tax.php" hash="872473e6e951d5fafbfb8420fbc7d1ad"/></dir><dir name="Quote"><file name="Duty.php" hash="f6422a051a27677a4d9f048192e9a748"/></dir><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="afd4e4c3f2f1fc7af319c9e544fafa84"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Shipment.php" hash="6c180e855b4380e73c2f90a81e989688"/></dir></dir><file name="Util.php" hash="62814a0c24ef9c2ad3bfe1e3c9ce69c0"/><file name="Variable.php" hash="591cd6627ae1cac2b77242b634d61bb5"/></dir><dir name="data"><dir name="pb_pbgsp_setup"><file name="data-install-1.0.0.php" hash="10cf523cdab6bc88f68c4f2f6c606c37"/></dir></dir><dir name="etc"><file name="config.xml" hash="548805c68d24476613f77b71e45957c8"/><file name="system.xml" hash="32456da492543f56536323a99fd4cc00"/></dir><dir name="sql"><dir name="pbgsp_setup"><file name="mysql4-install-1.0.0.php" hash="fed5d68e07ed66f46c2f12b6dbcea13a"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="3c0f0e0528d6f1dae4317c3029b9c040"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Pb_Pbgsp.xml" hash="8475d60d4719f8ea7761a4ca39016e48"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Pb_Clearpath.csv" hash="aa4b7a650feb1709a34b6c053b56811c"/><dir name="template"><dir name="email"><file name="pbgsp_shipment_new.html" hash="2cc5cdbeaa719f4dab6a7c9e29fd6574"/></dir></dir></dir></target><target name="mageweb"><dir name="."><file name="ReadMe.txt" hash="2486ee6c53a12f3a03438058e1f67300"/></dir></target></contents>
33
  <compatible/>
34
  <dependencies><required><php><min>5.1.0</min><max>5.6.0</max></php></required></dependencies>
35
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>pitneybowes_gsp</name>
4
+ <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
24
  </description>
25
  <notes>Patch release for Magento Connect.&#xD;
26
  &#xD;
27
+ 1. Integrated validation for title field in configuration page to resolve PHP 5.3 will warning when there is an empty string&#xD;
28
+ &#xD;
29
+ 2. Added a cron job to check for shipped PB orders that have no ASNs (tracking numbers) and attempt to create.&#xD;
30
  </notes>
31
  <authors><author><name>Raymond Lai</name><user>r3lai</user><email>raymond.lai@pb.com</email></author></authors>
32
+ <date>2015-09-23</date>
33
+ <time>09:12:23</time>
34
+ <contents><target name="magelocal"><dir name="Pb"><dir name="Pbgsp"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Invoice"><file name="Totals.php" hash="8ab84a0f0cb90a789c070c56a8aa98a6"/></dir><file name="Totals.php" hash="1e8e96536ee19bb5dd63ab6eda700643"/></dir></dir></dir><dir name="Checkout"><dir name="Shipping"><dir name="Method"><file name="Available.php" hash="af424c7537c48e18fe6263d74c54e1fe"/></dir></dir></dir><file name="Form.php" hash="58e83cab0de71d6cc5afec9a60afd09c"/><dir name="Sales"><dir name="Order"><dir name="Invoice"><file name="Totals.php" hash="9338271819f701d9d5c262bf1169309c"/></dir><file name="Totals.php" hash="637038d37fd4177cd6709d446bc9b3af"/></dir></dir></dir><dir name="Model"><file name="Api.php" hash="742f69113031ce0634221c3984f72de8"/><file name="Authapioptions.php" hash="8cd4e0e89c1bc6b5ca12d502386c89a2"/><dir name="Carrier"><file name="ShippingMethod.php" hash="23731ef28af943b98882a578806a7dce"/></dir><dir name="Catalog"><file name="Category.php" hash="2e5ccc49d8db68b842e55f17a3133bed"/><file name="Cron.php" hash="2e6558d7ef8f1eb67e698c01cdbbf443"/><file name="File.php" hash="802a1e04cdcbfa03c751134967ee8d97"/><file name="Product.php" hash="be61ca172bea55d211378e115094412c"/></dir><file name="Credentials.php" hash="e803b610c868d6fab41453181d6601b7"/><dir name="Creditmemo"><file name="Duty.php" hash="b9386a05a58fec625a882124b7b7eaaf"/></dir><file name="Handlingoptions.php" hash="9fd861980e227ee515c3fa5b1d1c4367"/><file name="Helper.php" hash="b593554885558b7869b061531c9f4635"/><file name="Inboundparcel.php" hash="6e8359494a8835920af4fc9952da4fd8"/><dir name="Invoice"><file name="Duty.php" hash="746f327895d0a17d20d254cb734bebe9"/></dir><file name="Messages.php" hash="050a5919049d5c1384a199d7c74e684e"/><dir name="Mysql4"><dir name="Inboundparcel"><file name="Collection.php" hash="b69d5f58ae74f5e0c5e0795bc05cd634"/></dir><file name="Inboundparcel.php" hash="88086d87454e4387ac06e2122b014aa0"/><dir name="Ordernumber"><file name="Collection.php" hash="25f36a5eda8d948af55a71714600f899"/></dir><file name="Ordernumber.php" hash="1090339fc2d318bc8e3cf584e3eae613"/><dir name="Variable"><file name="Collection.php" hash="f4adfab8b49a87146790c086732b3c61"/></dir><file name="Variable.php" hash="c4eb21689279b74abdb0bc8ddc7b8bf3"/></dir><file name="Observer.php" hash="2780be538ad88d58f3c051189324832c"/><file name="Ordernumber.php" hash="503d6eaee5d7b8a5d2864ce89278d5be"/><dir name="Pdf"><file name="Tax.php" hash="808dfb5b91f55f988f56f81efbe5a60f"/></dir><dir name="Quote"><file name="Duty.php" hash="9498d9f2139c3cd1efd6fa09a797a9ca"/></dir><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="390c18c3ac49dcb2e58c02e008bfabf3"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Shipment.php" hash="d539276b76e18e29650e752e90cca8c8"/></dir></dir><file name="Util.php" hash="fab2ec90f3811b9d06e82d846d9a677e"/><file name="Variable.php" hash="726abe7a2799e908c533e2291e6c2731"/></dir><dir name="data"><dir name="pb_pbgsp_setup"><file name="data-install-1.0.0.php" hash="acc1c1d2b3bd26a689a16362e17e6156"/></dir></dir><dir name="etc"><file name="config.xml" hash="5eb8e33a378e9efca63147a53842789e"/><file name="system.xml" hash="d5903ba4e10cf079e83c630ee64915fd"/></dir><dir name="sql"><dir name="pbgsp_setup"><file name="mysql4-install-1.0.0.php" hash="83386f7fcdfeff8ab43c97604584d977"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="a10ace43727a9c10b8a1a7299dfc32db"/><file name="mysql4-upgrade-1.1.1-1.1.2.php" hash="f6e63f3b2d72f949039e4a9b8141215c"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Pb_Pbgsp.xml" hash="8475d60d4719f8ea7761a4ca39016e48"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Pb_Clearpath.csv" hash="aa4b7a650feb1709a34b6c053b56811c"/><dir name="template"><dir name="email"><file name="pbgsp_shipment_new.html" hash="2cc5cdbeaa719f4dab6a7c9e29fd6574"/></dir></dir></dir></target><target name="mageweb"><dir name="."><file name="ReadMe.txt" hash="9d657805471840b8eeba8c2c5e84870c"/></dir></target></contents>
35
  <compatible/>
36
  <dependencies><required><php><min>5.1.0</min><max>5.6.0</max></php></required></dependencies>
37
  </package>