diglin_ricento - Version 1.0.15

Version Notes

## Version 1.0.15
- 8cc97f0 [ENHANCE] Delete old jobs in the SQL way (no collection), speed up the delete and may prevent mysql error
- 571d315 Open new window for a link located into the product list and jumping into ricardo.ch website
- d6be0f1 [BUGFIX] Change the translation string from Ricardo to ricardo.ch
- 195c744 Cosmetic code improvements
- ddd1ff0 Fix an issue with deleting product item from a listing
- 7a71702 Revert deleted xml file to generate magento connect package
- 7fc6abb Update order dispatcher to get error messages
- 6804aba Update Hint.php

## Version 1.0.14
- Fix an issue revealed after fixes done in version 1.0.13 related to getting sales options and rules from products listing item during getting new orders

## Version 1.0.13
- Important fix for price products (and sales options & rules in general) when several listing processes running at same time

## Version 1.0.12
- 7485ad0 Prevent Exception while editing product if API problem appear while conditions options
- 2927622 Add translation for frontend, change payment info template
- 29069ea Fix wrong variable name for payment method instruction
- 1738457 add payment block info in frontend area too for email generated from backend
- 259f885 Fix issue with products grid and massaction
- 8d37514 Update readme file
- ea18812 Redirect to edit page if error occur
- 0fe5a3c Implement Bank information display if ricardo.ch payment method Bank transfer is used, Remove the cleanup listing log as it is duplicate with the job cleanup
- 9cd82a8 Change order of the tab display 1) Synchronization 2) Listing Log instead of the opposite
- bc809c0 Fix random security error message on fresh install

## Version 1.0.10
- e2304ab Change the status of an item to stop if the item has not been sold. It will stop the complete list if all items are stopped.
- e2c0676 Set website Id while saving new customer even if store id was also provided to be sure that the user is saved into the correct website
- 0d01b4a Fix missing log url in message
- ff1005c Skip required option when creating an order, also for custom option
- 9b48ef6 Fix missing home number

## Version 1.0.9
- Fix issue with some optional API property set to 0 (like template Id)
- 0c1eb42 Revert temporary success / error in dispatcher list , improve translations of string in product grid
- 74c3284 Show a small message in sync grid while running or chunk running to allow to differentiate both kind of sync
- 68eed7f Raise to 400 items to trigger in dispatch
- 1d3a839 Prevent create a new job while having a chunk running sync list
- 3241ef0 Change the way to handle the bucket of items in the dispatcher, fix a bug while triggering the order dispatcher and getting the list of listed items
- adcbc59 Improve message display in sync grid
- 6b6c45e Fix issue with "Until Sold" feature
- 2f48ea4 Improve the way to set/get successful or error log item
- 86fcc17 Display Product list name in the sync log grid instead to put it as message
- 1219b09 Fix issue with products grid and configurable products having article inserted also as simple article
- 95efdca Fix duplicate collection item error
- 4d38ed3 Make the option Schedule Reactivation "Until Sold" better explicit and working
- 03bc9cd Update code documentation
- 658c9f6 In some cases, picture's extension is not recognized so change the logic to determine if it exists or not Catch Exception and log them in cron class

## Version 1.0.8
- b5f1afa Update translations file
- c0d3fbb Fix issue with dispatcher and completed status
- 27c48c9 Fix interface issue (invisible language was also required input) with language selection and payment method "other" which needs a payment description and shipping description field if shipping "other" is selected
- 9e0be11 Improve debugging content when dispatcher mets errors
- b994fa0 Improve grid translations for products
- 84baa1b Change order of token DEV/PROD configuration fields
- 868e576 Fix issue with product price max limit (should be only for "Buy now" and payment method with credit card)
- 379a51b Fix issue with too long strings saved into DB if error occurred
- 0eb9f8d Cosmetic code changes
- 79ce926 Change translation
- 356c909 Fix issue with job message and json encoding (some loop appeared in some use cases)
- 738f316 Better judge if some values must be retrieved from the API depending if the extension is configured or not
- cd34d94 Prevent loop when doing the dispatch
- 14d3beb fix uninstall file txt with wrong language folder package
- a5e6350 Fix translation issue in the sync grid
- 90a2f7c Fix issue if extension is disabled with payment and shipping methods
- 33055cc Add nl2br for description

## Version 1.0.7
- 42f18da Prevent warning messages for some variables, Prevent Exception when picture doesn't exist in preview, set per default the dev mode to 1 because user receives BETA API Token first and some people doesn't set correctly the configuration
- 29767d9 Add more condition to display error in case of wrong API configuration and coming from banner notification
- 57da567 Invite user to check his configuration if a problem occurs
- c514cb0 Merge branch 'develop'

## Version 1.0.6
- 6a6ca4f Do not set the status of the parent configurable product when list on ricardo.ch
- eb0d25a Handle correctly errors if done in the backend notification banner
- 68f812a add short description as fallback product description
- bb0c931 change redirect url and add error message
- c4fbe49 Check and List action: save also product listing information
- 349218a Merge branch 'develop' of git://github.com/diglin/ricento into develop
- f467eb4 Fix issue with grid of products after filter reset (missing form key hidden field)
- 4cc8e3b Revert changes done for RIC-102, display products item w/o any error
- afb9215 Add new url to register to the API
- c0b50e9 In case errors are coming from the API but it is at backend notification level, we catch the error and display it as session error message
- 7d0c803 Merge branch 'develop' of github.com:diglin/ricento into develop
- 068a409 allow to delete a job even if it is running, fix some typo translations, allow to save when clicking on "check and list" button from a product listing

## Version 1.0.5
- c1b3c90 Merge branch 'develop'
- 9f59a2f Fix definitely issue RIC-102 with product grid display
- 3c3547a Fix issue RIC-102: product grid display in product listing with some configuration provide error cause of the collection and duplicate items found
- 5d1706e Merge pull request #1 from diglin/develop

## Version 1.0.4
- ebaec62 Remove the filter collection to not get "not visible" products. Don't remember the reason of this filter, hope it doesn't have consequence with order creation (normally no)
- 90e2a93 Merge branch 'develop'

## Version 1.0.3
- c55a6dd Fix issue with wrong store id, should not be website id while getting storeConfig
- 00c2960 Update README.md

## Version 1.0.2
- 880dbfd Fix issue if API not yet configured and Product Edit Page is requested from the backend
- 5841d06 Update gitsubmodule (replace bitbucket with github)
- be2b77a Update readme file
- 9384e3c Update doc

Download this release

Release Info

Developer diglin
Extension diglin_ricento
Version 1.0.15
Comparing to
See all releases


Code changes from version 1.0.14 to 1.0.15

Files changed (84) hide show
  1. app/code/community/Diglin/Ricento/.DS_Store +0 -0
  2. app/code/community/Diglin/Ricento/Block/Adminhtml/Config/Source/Hint.php +1 -1
  3. app/code/community/Diglin/Ricento/Block/Adminhtml/Products/Listing/Edit/Tabs/Selloptions.php +2 -2
  4. app/code/community/Diglin/Ricento/Model/.DS_Store +0 -0
  5. app/code/community/Diglin/Ricento/Model/Cron.php +13 -4
  6. app/code/community/Diglin/Ricento/Model/Dispatcher/Order.php +18 -9
  7. app/code/community/Diglin/Ricento/Model/Products/Listing.php +36 -2
  8. app/code/community/Diglin/Ricento/controllers/Adminhtml/Products/ListingController.php +5 -5
  9. app/code/community/Diglin/Ricento/sql/ricento_setup/install-1.0.0.php +2 -2
  10. app/locale/de_CH/Diglin_Ricento.csv +1 -1
  11. app/locale/de_DE/Diglin_Ricento.csv +1 -1
  12. app/locale/en_US/Diglin_Ricento.csv +1 -1
  13. app/locale/fr_FR/Diglin_Ricento.csv +1 -1
  14. lib/Diglin/Ricardo/Api.php +9 -57
  15. lib/Diglin/Ricardo/Composer/Magento.php +3 -3
  16. lib/Diglin/Ricardo/Config.php +3 -7
  17. lib/Diglin/Ricardo/Core/ApiInterface.php +1 -5
  18. lib/Diglin/Ricardo/Core/ConfigInterface.php +1 -5
  19. lib/Diglin/Ricardo/Core/Helper.php +6 -9
  20. lib/Diglin/Ricardo/Enums/AbstractEnums.php +1 -1
  21. lib/Diglin/Ricardo/Enums/Article/ArticlesTypes.php +1 -1
  22. lib/Diglin/Ricardo/Enums/Article/CloseListStatus.php +1 -1
  23. lib/Diglin/Ricardo/Enums/Article/InternalReferenceType.php +1 -1
  24. lib/Diglin/Ricardo/Enums/Article/PromotionCode.php +1 -1
  25. lib/Diglin/Ricardo/Enums/Article/Warranty.php +1 -1
  26. lib/Diglin/Ricardo/Enums/ArticleErrors.php +1 -1
  27. lib/Diglin/Ricardo/Enums/Customer/ArticleTypeFilter.php +1 -1
  28. lib/Diglin/Ricardo/Enums/Customer/OpenArticlesSortBy.php +1 -1
  29. lib/Diglin/Ricardo/Enums/Customer/PaidStatusFilter.php +1 -1
  30. lib/Diglin/Ricardo/Enums/Customer/ShippedStatusFilter.php +1 -1
  31. lib/Diglin/Ricardo/Enums/Customer/SoldArticlesSortBy.php +1 -1
  32. lib/Diglin/Ricardo/Enums/CustomerErrors.php +1 -1
  33. lib/Diglin/Ricardo/Enums/GeneralErrors.php +1 -1
  34. lib/Diglin/Ricardo/Enums/PaymentMethods.php +1 -1
  35. lib/Diglin/Ricardo/Enums/PictureErrors.php +1 -1
  36. lib/Diglin/Ricardo/Enums/SecurityErrors.php +1 -1
  37. lib/Diglin/Ricardo/Enums/System/CategoryArticleType.php +1 -1
  38. lib/Diglin/Ricardo/Enums/System/CategoryBrandingFilter.php +1 -1
  39. lib/Diglin/Ricardo/Enums/System/LanguageCode.php +2 -2
  40. lib/Diglin/Ricardo/Exceptions/ArticleException.php +1 -4
  41. lib/Diglin/Ricardo/Exceptions/CurlException.php +1 -4
  42. lib/Diglin/Ricardo/Exceptions/CustomerException.php +1 -4
  43. lib/Diglin/Ricardo/Exceptions/ExceptionAbstract.php +1 -1
  44. lib/Diglin/Ricardo/Exceptions/GeneralException.php +1 -4
  45. lib/Diglin/Ricardo/Exceptions/PictureException.php +1 -4
  46. lib/Diglin/Ricardo/Exceptions/SecurityException.php +1 -4
  47. lib/Diglin/Ricardo/Managers/Customer.php +1 -5
  48. lib/Diglin/Ricardo/Managers/ManagerAbstract.php +1 -1
  49. lib/Diglin/Ricardo/Managers/ParameterAbstract.php +2 -6
  50. lib/Diglin/Ricardo/Managers/Security.php +5 -4
  51. lib/Diglin/Ricardo/Managers/Sell.php +1 -5
  52. lib/Diglin/Ricardo/Managers/Sell/Parameter/AddArticlePicturesParameter.php +1 -1
  53. lib/Diglin/Ricardo/Managers/Sell/Parameter/AppendArticleDescriptionParameter.php +3 -1
  54. lib/Diglin/Ricardo/Managers/Sell/Parameter/AppendDescriptionParameter.php +1 -1
  55. lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticleDeliveryParameter.php +1 -1
  56. lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticleDescriptionParameter.php +3 -1
  57. lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticleInformationParameter.php +3 -5
  58. lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticleInternalReferenceParameter.php +1 -1
  59. lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticlePictureParameter.php +1 -1
  60. lib/Diglin/Ricardo/Managers/Sell/Parameter/CloseArticleParameter.php +1 -1
  61. lib/Diglin/Ricardo/Managers/Sell/Parameter/CloseArticlesParameter.php +1 -1
  62. lib/Diglin/Ricardo/Managers/Sell/Parameter/DeletePlannedArticleParameter.php +1 -1
  63. lib/Diglin/Ricardo/Managers/Sell/Parameter/DeletePlannedArticlesParameter.php +1 -1
  64. lib/Diglin/Ricardo/Managers/Sell/Parameter/InsertArticleParameter.php +1 -1
  65. lib/Diglin/Ricardo/Managers/Sell/Parameter/InsertArticlesParameter.php +1 -1
  66. lib/Diglin/Ricardo/Managers/Sell/Parameter/UpdateArticleParameter.php +1 -1
  67. lib/Diglin/Ricardo/Managers/Sell/Parameter/UpdateArticlePicturesParameter.php +1 -1
  68. lib/Diglin/Ricardo/Managers/SellerAccount.php +1 -1
  69. lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/ArticlesParameter.php +1 -1
  70. lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/ClosedArticlesParameter.php +1 -1
  71. lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/OpenArticlesParameter.php +1 -1
  72. lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/PlannedArticleParameter.php +1 -1
  73. lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/PlannedArticlesParameter.php +1 -1
  74. lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/SoldArticlesParameter.php +3 -3
  75. lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/UnsoldArticlesParameter.php +1 -1
  76. lib/Diglin/Ricardo/Managers/System.php +8 -7
  77. lib/Diglin/Ricardo/Service.php +10 -36
  78. lib/Diglin/Ricardo/Services/Customer.php +1 -1
  79. lib/Diglin/Ricardo/Services/Security.php +1 -1
  80. lib/Diglin/Ricardo/Services/Sell.php +2 -1
  81. lib/Diglin/Ricardo/Services/SellerAccount.php +1 -1
  82. lib/Diglin/Ricardo/Services/ServiceAbstract.php +2 -2
  83. lib/Diglin/Ricardo/Services/System.php +1 -1
  84. package.xml +34 -24
app/code/community/Diglin/Ricento/.DS_Store ADDED
Binary file
app/code/community/Diglin/Ricento/Block/Adminhtml/Config/Source/Hint.php CHANGED
@@ -23,7 +23,7 @@ class Diglin_Ricento_Block_Adminhtml_Config_Source_Hint
23
  {
24
  $html = '<p><a href="http://www.diglin.com/?utm_source=magento&utm_medium=extension&utm_campaign=zopim">'
25
  .'<img style="vertical-align:middle" src="data:image/png;base64,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">'
26
- .'</a> Diglin GmbH | Rütistrasse 14, 8952 Schlieren - Switzerland | <a href="mailto:support@diglin.com?subject=Support Diglin Username">support@diglin.com</a></p>';
27
 
28
  $buttonSignUp = '';
29
  $website = $this->getRequest()->getParam('website');
23
  {
24
  $html = '<p><a href="http://www.diglin.com/?utm_source=magento&utm_medium=extension&utm_campaign=zopim">'
25
  .'<img style="vertical-align:middle" src="data:image/png;base64,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">'
26
+ .'</a> Diglin GmbH | Rütistrasse 14, 8952 Schlieren - Switzerland | <a href="mailto:support@diglin.com?subject=Support Diglin ricardo.ch Extension">support@diglin.com</a></p>';
27
 
28
  $buttonSignUp = '';
29
  $website = $this->getRequest()->getParam('website');
app/code/community/Diglin/Ricento/Block/Adminhtml/Products/Listing/Edit/Tabs/Selloptions.php CHANGED
@@ -49,7 +49,7 @@ class Diglin_Ricento_Block_Adminhtml_Products_Listing_Edit_Tabs_Selloptions
49
  'label' => $this->__('ricardo.ch Category'),
50
  'separator' => ' ',
51
  'values' => array(
52
- array('value' => 1, 'label' => $this->__('Use Magento / ricardo.ch Category mapping (if mapping does not exist, an error message will be triggered while preparing the synchronization to Ricardo)')),
53
  array('value' => 0, 'label' => $this->__('Select ricardo.ch Category'), 'field' => array(
54
  'ricardo_category', 'ricardo_category', array(
55
  'name' => 'sales_options[ricardo_category]',
@@ -293,7 +293,7 @@ class Diglin_Ricento_Block_Adminhtml_Products_Listing_Edit_Tabs_Selloptions
293
  'name' => 'sales_options[customization_template]',
294
  'label' => $this->__('Template'),
295
  'values' => Mage::getSingleton('diglin_ricento/config_source_sales_template')->getAllOptions(),
296
- 'note' => $this->__('To create one go to your <a href="%s">ricardo.ch account</a> into "My Sales".', Diglin_Ricento_Helper_Data::RICARDO_URL)
297
  ));
298
 
299
  /**
49
  'label' => $this->__('ricardo.ch Category'),
50
  'separator' => ' ',
51
  'values' => array(
52
+ array('value' => 1, 'label' => $this->__('Use Magento / ricardo.ch Category mapping (if mapping does not exist, an error message will be triggered while preparing the synchronization to ricardo.ch)')),
53
  array('value' => 0, 'label' => $this->__('Select ricardo.ch Category'), 'field' => array(
54
  'ricardo_category', 'ricardo_category', array(
55
  'name' => 'sales_options[ricardo_category]',
293
  'name' => 'sales_options[customization_template]',
294
  'label' => $this->__('Template'),
295
  'values' => Mage::getSingleton('diglin_ricento/config_source_sales_template')->getAllOptions(),
296
+ 'note' => $this->__('To create one go to your <a onclick="window.open(\'%s\')">ricardo.ch account</a> into "My Sales".', Diglin_Ricento_Helper_Data::RICARDO_URL)
297
  ));
298
 
299
  /**
app/code/community/Diglin/Ricento/Model/.DS_Store ADDED
Binary file
app/code/community/Diglin/Ricento/Model/Cron.php CHANGED
@@ -84,10 +84,19 @@ class Diglin_Ricento_Model_Cron
84
  if (Mage::getStoreConfigFlag(Diglin_Ricento_Helper_Data::CFG_CLEAN_JOBS_ENABLED)) {
85
  $daysKeep = (int)Mage::getStoreConfig(Diglin_Ricento_Helper_Data::CFG_CLEAN_JOBS_KEEP_DAYS);
86
 
87
- $jobsCollection = Mage::getResourceModel('diglin_ricento/sync_job_collection');
88
- $jobsCollection->getSelect()->where('((TO_DAYS(main_table.created_at) + ? < TO_DAYS(now())))', $daysKeep);
89
-
90
- $jobsCollection->walk('delete');
 
 
 
 
 
 
 
 
 
91
  }
92
  return $this;
93
  }
84
  if (Mage::getStoreConfigFlag(Diglin_Ricento_Helper_Data::CFG_CLEAN_JOBS_ENABLED)) {
85
  $daysKeep = (int)Mage::getStoreConfig(Diglin_Ricento_Helper_Data::CFG_CLEAN_JOBS_KEEP_DAYS);
86
 
87
+ try {
88
+ $coreResource = Mage::getSingleton('core/resource');
89
+ $write = $coreResource->getConnection('core_write');
90
+
91
+ $select = $write->select()
92
+ ->from(array('main_table' => $coreResource->getTableName('ricento_sync_job')))
93
+ ->where('((TO_DAYS(main_table.created_at) + ?) < TO_DAYS(now()))', $daysKeep);
94
+
95
+ $query = $select->deleteFromSelect('main_table');
96
+ $write->query($query);
97
+ } catch (Exception $e) {
98
+ Mage::logException($e);
99
+ }
100
  }
101
  return $this;
102
  }
app/code/community/Diglin/Ricento/Model/Dispatcher/Order.php CHANGED
@@ -31,8 +31,6 @@ class Diglin_Ricento_Model_Dispatcher_Order extends Diglin_Ricento_Model_Dispatc
31
  */
32
  public function proceed()
33
  {
34
- $jobType = Diglin_Ricento_Model_Sync_Job::TYPE_ORDER;
35
-
36
  $productsListingResource = Mage::getResourceModel('diglin_ricento/products_listing');
37
 
38
  $readListingConnection = $productsListingResource->getReadConnection();
@@ -65,14 +63,14 @@ class Diglin_Ricento_Model_Dispatcher_Order extends Diglin_Ricento_Model_Dispatc
65
 
66
  // pending progress doesn't make sense here as we cleanup before but keep it to be sure everything ok
67
  $job = Mage::getModel('diglin_ricento/sync_job');
68
- $job->loadByTypeListingIdProgress($jobType, $listingId, array(Diglin_Ricento_Model_Sync_Job::PROGRESS_PENDING, Diglin_Ricento_Model_Sync_Job::PROGRESS_CHUNK_RUNNING));
69
 
70
  if ($job->getId()) {
71
  continue;
72
  }
73
 
74
  $job
75
- ->setJobType($jobType)
76
  ->setProgress(Diglin_Ricento_Model_Sync_Job::PROGRESS_PENDING)
77
  ->setJobMessage(array($job->getJobMessage(true)))
78
  ->save();
@@ -288,7 +286,7 @@ class Diglin_Ricento_Model_Dispatcher_Order extends Diglin_Ricento_Model_Dispatc
288
  }
289
  } else {
290
  Mage::log($transaction->getBuyer(), Zend_Log::ERR, Diglin_Ricento_Helper_Data::LOG_FILE);
291
- throw new Exception($this->_getHelper()->__('Customer creation failed! Ricardo transaction cannot be added.'));
292
  }
293
 
294
  /**
@@ -546,7 +544,7 @@ class Diglin_Ricento_Model_Dispatcher_Order extends Diglin_Ricento_Model_Dispatc
546
 
547
  // Error with a product which is missing or have required options
548
  if (is_string($quoteItem)) {
549
- Mage::throwException($quoteItem); // @todo - do we really want to block the process at this level? Other solution to inform about the error?
550
  }
551
 
552
  $quoteItem
@@ -600,7 +598,7 @@ class Diglin_Ricento_Model_Dispatcher_Order extends Diglin_Ricento_Model_Dispatc
600
 
601
  $quote->addData(array(
602
  'customer_note_notify' => false,
603
- 'customer_note' => $this->_getHelper()->__('Order automatically generated by the Ricardo Extension.'))
604
  );
605
 
606
  $quote->collectTotals()->save();
@@ -635,7 +633,8 @@ class Diglin_Ricento_Model_Dispatcher_Order extends Diglin_Ricento_Model_Dispatc
635
  // $order->setState(Mage_Sales_Model_Order::STATE_CANCELED, Diglin_Ricento_Helper_Data::ORDER_STATUS_CANCEL, $this->_getHelper()->__('Order canceled on ricardo.ch side'), false);
636
  // }
637
 
638
- $quote->setIsActive(false)
 
639
  ->save();
640
 
641
  /**
@@ -651,9 +650,19 @@ class Diglin_Ricento_Model_Dispatcher_Order extends Diglin_Ricento_Model_Dispatc
651
  Mage::app()->getLocale()->revert();
652
  }
653
  } catch (Exception $e) {
 
 
 
 
 
 
 
 
654
  // We store and send the exception but don't block the rest of the process
655
  Mage::log("\n" . $e->__toString(), Zend_Log::ERR, Diglin_Ricento_Helper_Data::LOG_FILE);
656
- Mage::helper('diglin_ricento/tools')->sendAdminNotification($e->__toString());
 
 
657
 
658
  /* @var $errors Mage_Core_Model_Message_Collection */
659
  $errors = $this->_getSession()->getMessages(true);
31
  */
32
  public function proceed()
33
  {
 
 
34
  $productsListingResource = Mage::getResourceModel('diglin_ricento/products_listing');
35
 
36
  $readListingConnection = $productsListingResource->getReadConnection();
63
 
64
  // pending progress doesn't make sense here as we cleanup before but keep it to be sure everything ok
65
  $job = Mage::getModel('diglin_ricento/sync_job');
66
+ $job->loadByTypeListingIdProgress($this->_jobType, $listingId, array(Diglin_Ricento_Model_Sync_Job::PROGRESS_PENDING, Diglin_Ricento_Model_Sync_Job::PROGRESS_CHUNK_RUNNING));
67
 
68
  if ($job->getId()) {
69
  continue;
70
  }
71
 
72
  $job
73
+ ->setJobType($this->_jobType)
74
  ->setProgress(Diglin_Ricento_Model_Sync_Job::PROGRESS_PENDING)
75
  ->setJobMessage(array($job->getJobMessage(true)))
76
  ->save();
286
  }
287
  } else {
288
  Mage::log($transaction->getBuyer(), Zend_Log::ERR, Diglin_Ricento_Helper_Data::LOG_FILE);
289
+ throw new Exception($this->_getHelper()->__('Customer creation failed! ricardo.ch transaction cannot be added.'));
290
  }
291
 
292
  /**
544
 
545
  // Error with a product which is missing or have required options
546
  if (is_string($quoteItem)) {
547
+ Mage::throwException($quoteItem);
548
  }
549
 
550
  $quoteItem
598
 
599
  $quote->addData(array(
600
  'customer_note_notify' => false,
601
+ 'customer_note' => $this->_getHelper()->__('Order automatically generated by the ricardo.ch Extension.'))
602
  );
603
 
604
  $quote->collectTotals()->save();
633
  // $order->setState(Mage_Sales_Model_Order::STATE_CANCELED, Diglin_Ricento_Helper_Data::ORDER_STATUS_CANCEL, $this->_getHelper()->__('Order canceled on ricardo.ch side'), false);
634
  // }
635
 
636
+ $quote
637
+ ->setIsActive(false)
638
  ->save();
639
 
640
  /**
650
  Mage::app()->getLocale()->revert();
651
  }
652
  } catch (Exception $e) {
653
+
654
+ if (!isset($transaction) || !($transaction instanceof Diglin_Ricento_Model_Sales_Transaction)) {
655
+ $transaction = new Varien_Object();
656
+ }
657
+ if (!isset($product) || !($product instanceof Mage_Catalog_Model_Product)) {
658
+ $product = new Varien_Object();
659
+ }
660
+
661
  // We store and send the exception but don't block the rest of the process
662
  Mage::log("\n" . $e->__toString(), Zend_Log::ERR, Diglin_Ricento_Helper_Data::LOG_FILE);
663
+ Mage::helper('diglin_ricento/tools')->sendAdminNotification('Error with ricardo Transaction ID: ' . $transaction->getBidId() . ' - Product ID:' . $product->getId() . "\n" . $e->__toString());
664
+
665
+ //@todo set that the job has an error and save the information in the product listing log
666
 
667
  /* @var $errors Mage_Core_Model_Message_Collection */
668
  $errors = $this->_getSession()->getMessages(true);
app/code/community/Diglin/Ricento/Model/Products/Listing.php CHANGED
@@ -178,7 +178,7 @@ class Diglin_Ricento_Model_Products_Listing extends Mage_Core_Model_Abstract
178
  * @param array $productIds
179
  * @return int[] Returns two values: [number of removed products, number of not removed listed products]
180
  */
181
- public function removeProducts(array $productIds)
182
  {
183
  /** @var $items Diglin_Ricento_Model_Resource_Products_Listing_Item_Collection */
184
  $items = Mage::getResourceModel('diglin_ricento/products_listing_item_collection');
@@ -206,6 +206,40 @@ class Diglin_Ricento_Model_Products_Listing extends Mage_Core_Model_Abstract
206
  return array($numberOfItemsToDelete, $numberOfListedItems);
207
  }
208
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  /**
210
  * @return Diglin_Ricento_Model_Sales_Options
211
  */
@@ -227,4 +261,4 @@ class Diglin_Ricento_Model_Products_Listing extends Mage_Core_Model_Abstract
227
  }
228
  return $this->_shippingPaymentRule;
229
  }
230
- }
178
  * @param array $productIds
179
  * @return int[] Returns two values: [number of removed products, number of not removed listed products]
180
  */
181
+ public function removeProductsByProductIds(array $productIds)
182
  {
183
  /** @var $items Diglin_Ricento_Model_Resource_Products_Listing_Item_Collection */
184
  $items = Mage::getResourceModel('diglin_ricento/products_listing_item_collection');
206
  return array($numberOfItemsToDelete, $numberOfListedItems);
207
  }
208
 
209
+ /**
210
+ * Removes items by item id
211
+ *
212
+ * @param array $itemIds
213
+ * @return int[] Returns two values: [number of removed products, number of not removed listed products]
214
+ */
215
+ public function removeProductsByItemIds(array $itemIds)
216
+ {
217
+ /** @var $items Diglin_Ricento_Model_Resource_Products_Listing_Item_Collection */
218
+ $items = Mage::getResourceModel('diglin_ricento/products_listing_item_collection');
219
+
220
+ /** @var $itemResource Diglin_Ricento_Model_Resource_Products_Listing_Item */
221
+ $itemResource = Mage::getResourceModel('diglin_ricento/products_listing_item');
222
+ $itemResource->beginTransaction();
223
+
224
+ $numberOfListedItems = $items->addFieldToFilter('products_listing_id', $this->getId())
225
+ ->addFieldToFilter('item_id', array('in' => $itemIds))
226
+ ->addFieldToFilter('status', Diglin_Ricento_Helper_Data::STATUS_LISTED)
227
+ ->getSize();
228
+
229
+ $items = Mage::getResourceModel('diglin_ricento/products_listing_item_collection');
230
+ $numberOfItemsToDelete = $items->addFieldToFilter('products_listing_id', $this->getId())
231
+ ->addFieldToFilter('item_id', array('in' => $itemIds))
232
+ ->addFieldToFilter('status', array('neq' => Diglin_Ricento_Helper_Data::STATUS_LISTED))
233
+ ->count();
234
+
235
+ if ($numberOfItemsToDelete) {
236
+ $items->walk('delete');
237
+ }
238
+
239
+ $itemResource->commit();
240
+ return array($numberOfItemsToDelete, $numberOfListedItems);
241
+ }
242
+
243
  /**
244
  * @return Diglin_Ricento_Model_Sales_Options
245
  */
261
  }
262
  return $this->_shippingPaymentRule;
263
  }
264
+ }
app/code/community/Diglin/Ricento/controllers/Adminhtml/Products/ListingController.php CHANGED
@@ -281,7 +281,7 @@ class Diglin_Ricento_Adminhtml_Products_ListingController extends Diglin_Ricento
281
  $this->_redirectUrl($this->_getRefererUrl());
282
  return;
283
  }
284
- $productIds = (array)$this->getRequest()->getPost('product', array());
285
  $productsAdded = 0;
286
  foreach ($productIds as $productId) {
287
  if ($this->_getListing()->addProduct((int)$productId)) {
@@ -304,12 +304,12 @@ class Diglin_Ricento_Adminhtml_Products_ListingController extends Diglin_Ricento
304
  }
305
 
306
  if ($this->getRequest()->isPost()) {
307
- $productIds = array_map('intval', (array) $this->getRequest()->getPost('product', array()));
308
  } else {
309
- $productIds = array_map('intval', (array) $this->getRequest()->getParam('product', array()));
310
  }
311
 
312
- list($productsRemoved, $productsNotRemoved) = $this->_getListing()->removeProducts($productIds);
313
 
314
  if ($productsRemoved) {
315
  $this->_getSession()->addSuccess($this->__('%d products removed from listing', $productsRemoved));
@@ -571,4 +571,4 @@ class Diglin_Ricento_Adminhtml_Products_ListingController extends Diglin_Ricento
571
 
572
  $this->_redirect('*/*/index');
573
  }
574
- }
281
  $this->_redirectUrl($this->_getRefererUrl());
282
  return;
283
  }
284
+ $productIds = (array) $this->getRequest()->getPost('product', array());
285
  $productsAdded = 0;
286
  foreach ($productIds as $productId) {
287
  if ($this->_getListing()->addProduct((int)$productId)) {
304
  }
305
 
306
  if ($this->getRequest()->isPost()) {
307
+ $productIds = array_map('intval', (array) $this->getRequest()->getPost('item', array()));
308
  } else {
309
+ $productIds = array_map('intval', (array) $this->getRequest()->getParam('item', array()));
310
  }
311
 
312
+ list($productsRemoved, $productsNotRemoved) = $this->_getListing()->removeProductsByItemIds($productIds);
313
 
314
  if ($productsRemoved) {
315
  $this->_getSession()->addSuccess($this->__('%d products removed from listing', $productsRemoved));
571
 
572
  $this->_redirect('*/*/index');
573
  }
574
+ }
app/code/community/Diglin/Ricento/sql/ricento_setup/install-1.0.0.php CHANGED
@@ -302,7 +302,7 @@ $installer->addAttributeToGroup(
302
 
303
  // Create Catalog Product Enttities
304
 
305
- $ricardoGroup = 'Ricardo';
306
 
307
  $entityTypeId = $installer->getEntityTypeId(Mage_Catalog_Model_Product::ENTITY);
308
  $attributeSetId = $installer->getDefaultAttributeSetId($entityTypeId);
@@ -445,7 +445,7 @@ $installer->getConnection()->addColumn($salesQuoteTable, 'customer_ricardo_usern
445
  'type' => Varien_Db_Ddl_Table::TYPE_TEXT,
446
  'length' => 255,
447
  'nullable' => true,
448
- 'comment' => 'Ricardo Username'));
449
 
450
  $installer->getConnection()->addColumn($salesQuoteTable, 'customer_ricardo_id', array(
451
  'type' => Varien_Db_Ddl_Table::TYPE_INTEGER,
302
 
303
  // Create Catalog Product Enttities
304
 
305
+ $ricardoGroup = 'ricardo.ch';
306
 
307
  $entityTypeId = $installer->getEntityTypeId(Mage_Catalog_Model_Product::ENTITY);
308
  $attributeSetId = $installer->getDefaultAttributeSetId($entityTypeId);
445
  'type' => Varien_Db_Ddl_Table::TYPE_TEXT,
446
  'length' => 255,
447
  'nullable' => true,
448
+ 'comment' => 'ricardo.ch Username'));
449
 
450
  $installer->getConnection()->addColumn($salesQuoteTable, 'customer_ricardo_id', array(
451
  'type' => Varien_Db_Ddl_Table::TYPE_INTEGER,
app/locale/de_CH/Diglin_Ricento.csv CHANGED
@@ -292,7 +292,7 @@
292
  "Use custom qty","Nutze spezifizierte Menge"
293
  "Customization","Spezifizierung"
294
  "Template","Template"
295
- "To create one go to your <a href=""%s"">ricardo.ch account</a> into ""My Sales"".","Um eines zu erstellen, gehen Sie zu Ihrem <a href=""%s"">ricardo.ch Konto</a> in ""Meine Verkäufe""."
296
  "Promotion","Promotion"
297
  "Privilege Space","Promo-Fenster"
298
  "Privilege space on main category page and search results. More information about this feature <a onclick=\window.open('%s');\"">here</a>""","Promo-Fenster auf der Hauptkategorieseite und Suchergebnisse. Mehr Informationen über dieses Feature finden Sie <a onclick=\window.open('%s');\"">hier</a>"""
292
  "Use custom qty","Nutze spezifizierte Menge"
293
  "Customization","Spezifizierung"
294
  "Template","Template"
295
+ "To create one go to your <a onclick=""window.open(\'%s\')"">ricardo.ch account</a> into ""My Sales"".","Um eines zu erstellen, gehen Sie zu Ihrem <a href=""%s"">ricardo.ch Konto</a> in ""Meine Verkäufe""."
296
  "Promotion","Promotion"
297
  "Privilege Space","Promo-Fenster"
298
  "Privilege space on main category page and search results. More information about this feature <a onclick=\window.open('%s');\"">here</a>""","Promo-Fenster auf der Hauptkategorieseite und Suchergebnisse. Mehr Informationen über dieses Feature finden Sie <a onclick=\window.open('%s');\"">hier</a>"""
app/locale/de_DE/Diglin_Ricento.csv CHANGED
@@ -292,7 +292,7 @@
292
  "Use custom qty","Nutze spezifizierte Menge"
293
  "Customization","Spezifizierung"
294
  "Template","Template"
295
- "To create one go to your <a href=""%s"">ricardo.ch account</a> into ""My Sales"".","Um eines zu erstellen, gehen Sie zu Ihrem <a href=""%s"">ricardo.ch Konto</a> in ""Meine Verkäufe""."
296
  "Promotion","Promotion"
297
  "Privilege Space","Promo-Fenster"
298
  "Privilege space on main category page and search results. More information about this feature <a onclick=\window.open('%s');\"">here</a>""","Promo-Fenster auf der Hauptkategorieseite und Suchergebnisse. Mehr Informationen über dieses Feature finden Sie <a onclick=\window.open('%s');\"">hier</a>"""
292
  "Use custom qty","Nutze spezifizierte Menge"
293
  "Customization","Spezifizierung"
294
  "Template","Template"
295
+ "To create one go to your <a onclick=""window.open(\'%s\')"">ricardo.ch account</a> into ""My Sales"".","Um eines zu erstellen, gehen Sie zu Ihrem <a href=""%s"">ricardo.ch Konto</a> in ""Meine Verkäufe""."
296
  "Promotion","Promotion"
297
  "Privilege Space","Promo-Fenster"
298
  "Privilege space on main category page and search results. More information about this feature <a onclick=\window.open('%s');\"">here</a>""","Promo-Fenster auf der Hauptkategorieseite und Suchergebnisse. Mehr Informationen über dieses Feature finden Sie <a onclick=\window.open('%s');\"">hier</a>"""
app/locale/en_US/Diglin_Ricento.csv CHANGED
@@ -296,7 +296,7 @@
296
  "Use custom qty","Use custom qty"
297
  "Customization","Customization"
298
  "Template","Template"
299
- "To create one go to your <a href=""%s"">ricardo.ch account</a> into ""My Sales"".","To create one go to your <a href=""%s"">ricardo.ch account</a> into ""My Sales""."
300
  "Promotion","Promotion"
301
  "Privilege Space","Privilege Space"
302
  "Privilege space on main category page and search results. More information about this feature <a onclick=\"window.open('%s');\">here</a>","Privilege space on main category page and search results. More information about this feature <a onclick=\"window.open('%s');\">here</a>"
296
  "Use custom qty","Use custom qty"
297
  "Customization","Customization"
298
  "Template","Template"
299
+ "To create one go to your <a onclick=""window.open(\'%s\')"">ricardo.ch account</a> into ""My Sales"".","To create one go to your <a onclick=""window.open(\'%s\')"">ricardo.ch account</a> into ""My Sales""."
300
  "Promotion","Promotion"
301
  "Privilege Space","Privilege Space"
302
  "Privilege space on main category page and search results. More information about this feature <a onclick=\"window.open('%s');\">here</a>","Privilege space on main category page and search results. More information about this feature <a onclick=\"window.open('%s');\">here</a>"
app/locale/fr_FR/Diglin_Ricento.csv CHANGED
@@ -296,7 +296,7 @@
296
  "Use custom qty","Use custom qty"
297
  "Customization","Customization"
298
  "Template","Template"
299
- "To create one go to your <a href=""%s"">ricardo.ch account</a> into ""My Sales"".","To create one go to your <a href=""%s"">ricardo.ch account</a> into ""My Sales""."
300
  "Promotion","Promotion"
301
  "Privilege Space","Privilege Space"
302
  "Privilege space on main category page and search results. More information about this feature <a onclick=\"window.open('%s');\">here</a>","Privilege space on main category page and search results. More information about this feature <a onclick=\"window.open('%s');\">here</a>"
296
  "Use custom qty","Use custom qty"
297
  "Customization","Customization"
298
  "Template","Template"
299
+ "To create one go to your <a onclick=""window.open(\'%s\')"">ricardo.ch account</a> into ""My Sales"".","To create one go to your <a onclick=""window.open(\'%s\')"">ricardo.ch account</a> into ""My Sales""."
300
  "Promotion","Promotion"
301
  "Privilege Space","Privilege Space"
302
  "Privilege space on main category page and search results. More information about this feature <a onclick=\"window.open('%s');\">here</a>","Privilege space on main category page and search results. More information about this feature <a onclick=\"window.open('%s');\">here</a>"
lib/Diglin/Ricardo/Api.php CHANGED
@@ -89,38 +89,16 @@ class Api implements ApiInterface
89
 
90
  $ch = curl_init();
91
  curl_setopt_array($ch, $curlOptions);
92
- $return = json_decode(curl_exec($ch), true);
 
93
 
94
  if ($this->_debug) {
95
- if (isset($curlOptions[CURLOPT_HTTPHEADER])) {
96
- $anonHeaders = array();
97
- foreach ($curlOptions[CURLOPT_HTTPHEADER] as $header) {
98
- if (strpos($header, 'Ricardo-') !== false) {
99
- $sub = strpos($header, ':');
100
- $anonHeaders[] = substr($header, 0, $sub) . ': XXXXXXXX';
101
- } else {
102
- $anonHeaders[] = $header;
103
- }
104
- }
105
- $curlOptions[CURLOPT_HTTPHEADER] = $anonHeaders;
106
- }
107
-
108
  // It may take too much memory here as some parameter are pictures bytes
109
- unset($curlOptions[CURLOPT_POSTFIELDS]);
110
- $this->removePictureBytesData($params);
111
- $this->_lastDebug = json_encode(array(
112
- 'curl_options' => $curlOptions,
113
- 'params' => $params,
114
- 'return' => $return
115
- ));
116
-
117
- if ($this->getConfig()->getLogFilePath()) {
118
- $dir = dirname($this->getConfig()->getLogFilePath());
119
- @mkdir($dir, 0775);
120
- if (is_writable($dir . DIRECTORY_SEPARATOR)) {
121
- file_put_contents($this->getConfig()->getLogFilePath(), print_r($this->_lastDebug, true), FILE_APPEND);
122
- }
123
- }
124
  }
125
 
126
  if (curl_errno($ch)) {
@@ -129,7 +107,7 @@ class Api implements ApiInterface
129
 
130
  curl_close($ch);
131
 
132
- return $return;
133
  }
134
 
135
  /**
@@ -234,30 +212,4 @@ class Api implements ApiInterface
234
  $this->_username = $this->_partnerKey;
235
  return $this;
236
  }
237
-
238
- /**
239
- * @param array $params
240
- * @return bool
241
- */
242
- public function removePictureBytesData(&$params)
243
- {
244
- $srchvalue = 'PictureBytes';
245
- $foundkey = false;
246
-
247
- if (is_array($params) && count($params) > 0) {
248
- $foundkey = array_key_exists($srchvalue, $params);
249
- if ($foundkey === false) {
250
- foreach ($params as $key => &$value) {
251
- if (is_array($value) && count($value) > 0) {
252
- $this->removePictureBytesData($value);
253
- }
254
- }
255
- } else {
256
- $params[$srchvalue] = array('Picture bytes deleted for debug');
257
-
258
- }
259
- }
260
-
261
- return $foundkey;
262
- }
263
- }
89
 
90
  $ch = curl_init();
91
  curl_setopt_array($ch, $curlOptions);
92
+ $return = curl_exec($ch);
93
+ $result = json_decode($return, true);
94
 
95
  if ($this->_debug) {
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  // It may take too much memory here as some parameter are pictures bytes
97
+ $this->_lastDebug = array(
98
+ 'curl_options' => $curlOptions,
99
+ 'params' => print_r($params, true),
100
+ 'return' => $return
101
+ );
 
 
 
 
 
 
 
 
 
 
102
  }
103
 
104
  if (curl_errno($ch)) {
107
 
108
  curl_close($ch);
109
 
110
+ return $result;
111
  }
112
 
113
  /**
212
  $this->_username = $this->_partnerKey;
213
  return $this;
214
  }
215
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/Diglin/Ricardo/Composer/Magento.php CHANGED
@@ -27,8 +27,8 @@ class Magento
27
  $magentoPath = $extras['magento-root-dir'];
28
  if (is_dir($magentoPath . 'lib')) {
29
  if (is_dir($magentoPath . 'lib/Diglin/Ricardo')) {
30
- self::_recursiveRmDir($magentoPath . 'lib/Diglin/Ricardo');
31
- }
32
  self::_recurseCopy(dirname(__DIR__), $magentoPath . 'lib/Diglin/Ricardo');
33
  }
34
  }
@@ -87,4 +87,4 @@ class Magento
87
  }
88
  return rmdir($dir);
89
  }
90
- }
27
  $magentoPath = $extras['magento-root-dir'];
28
  if (is_dir($magentoPath . 'lib')) {
29
  if (is_dir($magentoPath . 'lib/Diglin/Ricardo')) {
30
+ self::_recursiveRmDir($magentoPath . 'lib/Diglin/Ricardo');
31
+ }
32
  self::_recurseCopy(dirname(__DIR__), $magentoPath . 'lib/Diglin/Ricardo');
33
  }
34
  }
87
  }
88
  return rmdir($dir);
89
  }
90
+ }
lib/Diglin/Ricardo/Config.php CHANGED
@@ -31,7 +31,8 @@ class Config extends \Zend_Config implements ConfigInterface
31
  {
32
  parent::__construct($array, $allowModifications);
33
 
34
- if (!$this->getHost() || !$this->getPartnershipKey() || !$this->getPartnershipPasswd()) {
 
35
  throw new \Exception(
36
  sprintf('Default Configuration values are missing: host %s, partnership ID %s or partnership Password %s. Please fix it!', $this->getHost(), $this->getPartnershipKey(), $this->getPartnershipPasswd())
37
  );
@@ -105,9 +106,4 @@ class Config extends \Zend_Config implements ConfigInterface
105
  {
106
  return $this->get('partner_url');
107
  }
108
-
109
- public function getLogFilePath()
110
- {
111
- return $this->get('log_path');
112
- }
113
- }
31
  {
32
  parent::__construct($array, $allowModifications);
33
 
34
+ if (!$this->getHost() || !$this->getPartnershipKey() || !$this->getPartnershipPasswd())
35
+ {
36
  throw new \Exception(
37
  sprintf('Default Configuration values are missing: host %s, partnership ID %s or partnership Password %s. Please fix it!', $this->getHost(), $this->getPartnershipKey(), $this->getPartnershipPasswd())
38
  );
106
  {
107
  return $this->get('partner_url');
108
  }
109
+ }
 
 
 
 
 
lib/Diglin/Ricardo/Core/ApiInterface.php CHANGED
@@ -11,10 +11,6 @@
11
 
12
  namespace Diglin\Ricardo\Core;
13
 
14
- /**
15
- * Interface ApiInterface
16
- * @package Diglin\Ricardo\Core
17
- */
18
  interface ApiInterface
19
  {
20
  /**
@@ -48,4 +44,4 @@ interface ApiInterface
48
  * @return mixed
49
  */
50
  public function getShouldSetPass();
51
- }
11
 
12
  namespace Diglin\Ricardo\Core;
13
 
 
 
 
 
14
  interface ApiInterface
15
  {
16
  /**
44
  * @return mixed
45
  */
46
  public function getShouldSetPass();
47
+ }
lib/Diglin/Ricardo/Core/ConfigInterface.php CHANGED
@@ -10,10 +10,6 @@
10
  */
11
  namespace Diglin\Ricardo\Core;
12
 
13
- /**
14
- * Interface ConfigInterface
15
- * @package Diglin\Ricardo\Core
16
- */
17
  interface ConfigInterface
18
  {
19
  /**
@@ -36,4 +32,4 @@ interface ConfigInterface
36
  * @return mixed
37
  */
38
  public function getPartnershipPasswd();
39
- }
10
  */
11
  namespace Diglin\Ricardo\Core;
12
 
 
 
 
 
13
  interface ConfigInterface
14
  {
15
  /**
32
  * @return mixed
33
  */
34
  public function getPartnershipPasswd();
35
+ }
lib/Diglin/Ricardo/Core/Helper.php CHANGED
@@ -12,10 +12,6 @@ namespace Diglin\Ricardo\Core;
12
 
13
  use Diglin\Ricardo\Enums\PictureExtension;
14
 
15
- /**
16
- * Class Helper
17
- * @package Diglin\Ricardo\Core
18
- */
19
  class Helper
20
  {
21
  /**
@@ -35,7 +31,7 @@ class Helper
35
  }
36
 
37
  preg_match('/(\d{10})(\d{3})([\+\-]\d{4})/', $date, $matches);
38
- return (int)$matches[1];
39
  }
40
 
41
  /**
@@ -46,13 +42,13 @@ class Helper
46
  * @param string $unixTimestamp
47
  * @return string
48
  */
49
- public static function getJsonDate($unixTimestamp = null)
50
  {
51
  if (is_null($unixTimestamp)) {
52
  $unixTimestamp = time();
53
  }
54
 
55
- return '/Date(' . ($unixTimestamp * 1000) . date('O') . ')/';
56
  }
57
 
58
  /**
@@ -65,7 +61,8 @@ class Helper
65
  {
66
  $extension = pathinfo($filename, PATHINFO_EXTENSION);
67
 
68
- switch (strtolower($extension)) {
 
69
  case 'jpg':
70
  case 'jpeg':
71
  $return = PictureExtension::JPG;
@@ -83,4 +80,4 @@ class Helper
83
 
84
  return $return;
85
  }
86
- }
12
 
13
  use Diglin\Ricardo\Enums\PictureExtension;
14
 
 
 
 
 
15
  class Helper
16
  {
17
  /**
31
  }
32
 
33
  preg_match('/(\d{10})(\d{3})([\+\-]\d{4})/', $date, $matches);
34
+ return (int) $matches[1];
35
  }
36
 
37
  /**
42
  * @param string $unixTimestamp
43
  * @return string
44
  */
45
+ public static function getJsonDate ($unixTimestamp = null)
46
  {
47
  if (is_null($unixTimestamp)) {
48
  $unixTimestamp = time();
49
  }
50
 
51
+ return '/Date(' . ($unixTimestamp * 1000) . date('O') . ')/';
52
  }
53
 
54
  /**
61
  {
62
  $extension = pathinfo($filename, PATHINFO_EXTENSION);
63
 
64
+ switch (strtolower($extension))
65
+ {
66
  case 'jpg':
67
  case 'jpeg':
68
  $return = PictureExtension::JPG;
80
 
81
  return $return;
82
  }
83
+ }
lib/Diglin/Ricardo/Enums/AbstractEnums.php CHANGED
@@ -45,4 +45,4 @@ abstract class AbstractEnums
45
  }
46
  return $values;
47
  }
48
- }
45
  }
46
  return $values;
47
  }
48
+ }
lib/Diglin/Ricardo/Enums/Article/ArticlesTypes.php CHANGED
@@ -64,4 +64,4 @@ class ArticlesTypes extends AbstractEnums
64
  array('label' => 'CARS_AND_BIKES', 'value' => self::CARSANDBIKES)
65
  );
66
  }
67
- }
64
  array('label' => 'CARS_AND_BIKES', 'value' => self::CARSANDBIKES)
65
  );
66
  }
67
+ }
lib/Diglin/Ricardo/Enums/Article/CloseListStatus.php CHANGED
@@ -44,4 +44,4 @@ class CloseListStatus extends AbstractEnums
44
  array('label' => 'ARCHIVED', 'value' => self::ARCHIVED),
45
  );
46
  }
47
- }
44
  array('label' => 'ARCHIVED', 'value' => self::ARCHIVED),
45
  );
46
  }
47
+ }
lib/Diglin/Ricardo/Enums/Article/InternalReferenceType.php CHANGED
@@ -29,4 +29,4 @@ class InternalReferenceType extends AbstractEnums
29
  array('label' => 'SELLERSPECIFIC', 'value' => self::SELLERSPECIFIC)
30
  );
31
  }
32
- }
29
  array('label' => 'SELLERSPECIFIC', 'value' => self::SELLERSPECIFIC)
30
  );
31
  }
32
+ }
lib/Diglin/Ricardo/Enums/Article/PromotionCode.php CHANGED
@@ -132,4 +132,4 @@ class PromotionCode extends AbstractEnums
132
  array('label' => 'PLANNEDARTICLE', 'value' => self::PLANNEDARTICLE),
133
  );
134
  }
135
- }
132
  array('label' => 'PLANNEDARTICLE', 'value' => self::PLANNEDARTICLE),
133
  );
134
  }
135
+ }
lib/Diglin/Ricardo/Enums/Article/Warranty.php CHANGED
@@ -32,4 +32,4 @@ class Warranty extends AbstractEnums
32
  array('label' => 'NONE', 'value' => self::NONE)
33
  );
34
  }
35
- }
32
  array('label' => 'NONE', 'value' => self::NONE)
33
  );
34
  }
35
+ }
lib/Diglin/Ricardo/Enums/ArticleErrors.php CHANGED
@@ -295,4 +295,4 @@ class ArticleErrors extends AbstractEnums
295
  array('label' => 'CUMULATIVESHIPPINGNOTALLOWED', 'value' => self::CUMULATIVESHIPPINGNOTALLOWED),
296
  );
297
  }
298
- }
295
  array('label' => 'CUMULATIVESHIPPINGNOTALLOWED', 'value' => self::CUMULATIVESHIPPINGNOTALLOWED),
296
  );
297
  }
298
+ }
lib/Diglin/Ricardo/Enums/Customer/ArticleTypeFilter.php CHANGED
@@ -41,4 +41,4 @@ class ArticleTypeFilter extends AbstractEnums
41
  array('label' => 'FIXEDPRICE', 'value' => self::FIXEDPRICE),
42
  );
43
  }
44
- }
41
  array('label' => 'FIXEDPRICE', 'value' => self::FIXEDPRICE),
42
  );
43
  }
44
+ }
lib/Diglin/Ricardo/Enums/Customer/OpenArticlesSortBy.php CHANGED
@@ -71,4 +71,4 @@ class OpenArticlesSortBy extends AbstractEnums
71
  array('label' => 'SORTBYSHIPPINGFEES', 'value' => self::SORTBYSHIPPINGFEES),
72
  );
73
  }
74
- }
71
  array('label' => 'SORTBYSHIPPINGFEES', 'value' => self::SORTBYSHIPPINGFEES),
72
  );
73
  }
74
+ }
lib/Diglin/Ricardo/Enums/Customer/PaidStatusFilter.php CHANGED
@@ -36,4 +36,4 @@ class PaidStatusFilter extends AbstractEnums
36
  array('label' => 'NOTPAID', 'value' => self::NOTPAID),
37
  );
38
  }
39
- }
36
  array('label' => 'NOTPAID', 'value' => self::NOTPAID),
37
  );
38
  }
39
+ }
lib/Diglin/Ricardo/Enums/Customer/ShippedStatusFilter.php CHANGED
@@ -36,4 +36,4 @@ class ShippedStatusFilter extends AbstractEnums
36
  array('label' => 'NOTSHIPPED', 'value' => self::NOTSHIPPED),
37
  );
38
  }
39
- }
36
  array('label' => 'NOTSHIPPED', 'value' => self::NOTSHIPPED),
37
  );
38
  }
39
+ }
lib/Diglin/Ricardo/Enums/Customer/SoldArticlesSortBy.php CHANGED
@@ -106,4 +106,4 @@ class SoldArticlesSortBy extends AbstractEnums
106
  array('label' => 'SORTBYMOBILEPHONE', 'value' => self::SORTBYMOBILEPHONE),
107
  );
108
  }
109
- }
106
  array('label' => 'SORTBYMOBILEPHONE', 'value' => self::SORTBYMOBILEPHONE),
107
  );
108
  }
109
+ }
lib/Diglin/Ricardo/Enums/CustomerErrors.php CHANGED
@@ -149,4 +149,4 @@ class CustomerErrors extends AbstractEnums
149
  array('label' => 'ACTIVATIONCODESTATUSMANUALLYBLOCKED', 'value' => self::ACTIVATIONCODESTATUSMANUALLYBLOCKED),
150
  );
151
  }
152
- }
149
  array('label' => 'ACTIVATIONCODESTATUSMANUALLYBLOCKED', 'value' => self::ACTIVATIONCODESTATUSMANUALLYBLOCKED),
150
  );
151
  }
152
+ }
lib/Diglin/Ricardo/Enums/GeneralErrors.php CHANGED
@@ -64,4 +64,4 @@ class GeneralErrors extends AbstractEnums
64
  array('label' => 'UNKNOWNCATEGORYNAME', 'value' => self::UNKNOWNCATEGORYNAME),
65
  );
66
  }
67
- }
64
  array('label' => 'UNKNOWNCATEGORYNAME', 'value' => self::UNKNOWNCATEGORYNAME),
65
  );
66
  }
67
+ }
lib/Diglin/Ricardo/Enums/PaymentMethods.php CHANGED
@@ -33,4 +33,4 @@ class PaymentMethods extends AbstractEnums
33
  array('label' => 'TYPE_OTHER', 'value' => self::TYPE_OTHER)
34
  );
35
  }
36
- }
33
  array('label' => 'TYPE_OTHER', 'value' => self::TYPE_OTHER)
34
  );
35
  }
36
+ }
lib/Diglin/Ricardo/Enums/PictureErrors.php CHANGED
@@ -40,4 +40,4 @@ class PictureErrors extends AbstractEnums
40
  array('label' => 'ERRORRESIZINGLOGOPICTURE', 'value' => self::ERRORRESIZINGLOGOPICTURE),
41
  );
42
  }
43
- }
40
  array('label' => 'ERRORRESIZINGLOGOPICTURE', 'value' => self::ERRORRESIZINGLOGOPICTURE),
41
  );
42
  }
43
+ }
lib/Diglin/Ricardo/Enums/SecurityErrors.php CHANGED
@@ -90,4 +90,4 @@ class SecurityErrors extends AbstractEnums
90
  array('label' => 'TOKEN_AUTHORIZATION', 'value' => self::TOKEN_AUTHORIZATION),
91
  );
92
  }
93
- }
90
  array('label' => 'TOKEN_AUTHORIZATION', 'value' => self::TOKEN_AUTHORIZATION),
91
  );
92
  }
93
+ }
lib/Diglin/Ricardo/Enums/System/CategoryArticleType.php CHANGED
@@ -41,4 +41,4 @@ class CategoryArticleType extends AbstractEnums
41
  array('label' => 'CLASSIFIED', 'value' => self::CLASSIFIED),
42
  );
43
  }
44
- }
41
  array('label' => 'CLASSIFIED', 'value' => self::CLASSIFIED),
42
  );
43
  }
44
+ }
lib/Diglin/Ricardo/Enums/System/CategoryBrandingFilter.php CHANGED
@@ -37,4 +37,4 @@ class CategoryBrandingFilter extends AbstractEnums
37
  array('label' => 'ONLYBRANDING', 'value' => self::ONLYBRANDING)
38
  );
39
  }
40
- }
37
  array('label' => 'ONLYBRANDING', 'value' => self::ONLYBRANDING)
38
  );
39
  }
40
+ }
lib/Diglin/Ricardo/Enums/System/LanguageCode.php CHANGED
@@ -22,9 +22,9 @@ class LanguageCode extends AbstractEnums
22
 
23
  const SWITZERLANDFRANDDE = 1;
24
 
25
- const SWITZERLANDDE = 2;
26
 
27
- const SWITZERLANDFR = 3;
28
 
29
  const DENMARK = 12;
30
 
22
 
23
  const SWITZERLANDFRANDDE = 1;
24
 
25
+ const SWITZERLANDDE = 2;
26
 
27
+ const SWITZERLANDFR = 3;
28
 
29
  const DENMARK = 12;
30
 
lib/Diglin/Ricardo/Exceptions/ArticleException.php CHANGED
@@ -14,7 +14,4 @@ namespace Diglin\Ricardo\Exceptions;
14
  * Class ArticleException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
- class ArticleException extends ExceptionAbstract
18
- {
19
-
20
- }
14
  * Class ArticleException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
+ class ArticleException extends ExceptionAbstract {}
 
 
 
lib/Diglin/Ricardo/Exceptions/CurlException.php CHANGED
@@ -14,7 +14,4 @@ namespace Diglin\Ricardo\Exceptions;
14
  * Class CurlException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
- class CurlException extends ExceptionAbstract
18
- {
19
-
20
- }
14
  * Class CurlException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
+ class CurlException extends ExceptionAbstract {}
 
 
 
lib/Diglin/Ricardo/Exceptions/CustomerException.php CHANGED
@@ -14,7 +14,4 @@ namespace Diglin\Ricardo\Exceptions;
14
  * Class CustomerException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
- class CustomerException extends ExceptionAbstract
18
- {
19
-
20
- }
14
  * Class CustomerException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
+ class CustomerException extends ExceptionAbstract {}
 
 
 
lib/Diglin/Ricardo/Exceptions/ExceptionAbstract.php CHANGED
@@ -44,4 +44,4 @@ class ExceptionAbstract extends \Exception
44
 
45
  return $defaultMessage;
46
  }
47
- }
44
 
45
  return $defaultMessage;
46
  }
47
+ }
lib/Diglin/Ricardo/Exceptions/GeneralException.php CHANGED
@@ -14,7 +14,4 @@ namespace Diglin\Ricardo\Exceptions;
14
  * Class GeneralException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
- class GeneralException extends ExceptionAbstract
18
- {
19
-
20
- }
14
  * Class GeneralException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
+ class GeneralException extends ExceptionAbstract {}
 
 
 
lib/Diglin/Ricardo/Exceptions/PictureException.php CHANGED
@@ -14,7 +14,4 @@ namespace Diglin\Ricardo\Exceptions;
14
  * Class PictureException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
- class PictureException extends ExceptionAbstract
18
- {
19
-
20
- }
14
  * Class PictureException
15
  * @package Diglin\Ricardo\Exceptions
16
  */
17
+ class PictureException extends ExceptionAbstract {}
 
 
 
lib/Diglin/Ricardo/Exceptions/SecurityException.php CHANGED
@@ -15,7 +15,4 @@ namespace Diglin\Ricardo\Exceptions;
15
  * @package Diglin\Ricardo\Exceptions
16
  * @link https://ws.ricardo.ch/RicardoApi/documentation/html/T_Ricardo_Enums_SecurityErrors.htm
17
  */
18
- class SecurityException extends ExceptionAbstract
19
- {
20
-
21
- }
15
  * @package Diglin\Ricardo\Exceptions
16
  * @link https://ws.ricardo.ch/RicardoApi/documentation/html/T_Ricardo_Enums_SecurityErrors.htm
17
  */
18
+ class SecurityException extends ExceptionAbstract {}
 
 
 
lib/Diglin/Ricardo/Managers/Customer.php CHANGED
@@ -10,10 +10,6 @@
10
  */
11
  namespace Diglin\Ricardo\Managers;
12
 
13
- /**
14
- * Class Customer
15
- * @package Diglin\Ricardo\Managers
16
- */
17
  class Customer extends ManagerAbstract
18
  {
19
  /**
@@ -37,4 +33,4 @@ class Customer extends ManagerAbstract
37
 
38
  return $this->_currentCustomer;
39
  }
40
- }
10
  */
11
  namespace Diglin\Ricardo\Managers;
12
 
 
 
 
 
13
  class Customer extends ManagerAbstract
14
  {
15
  /**
33
 
34
  return $this->_currentCustomer;
35
  }
36
+ }
lib/Diglin/Ricardo/Managers/ManagerAbstract.php CHANGED
@@ -154,4 +154,4 @@ abstract class ManagerAbstract
154
  {
155
  return $this->_serviceManager->get($this->_serviceName)->getTypeOfToken();
156
  }
157
- }
154
  {
155
  return $this->_serviceManager->get($this->_serviceName)->getTypeOfToken();
156
  }
157
+ }
lib/Diglin/Ricardo/Managers/ParameterAbstract.php CHANGED
@@ -10,10 +10,6 @@
10
  */
11
  namespace Diglin\Ricardo\Managers;
12
 
13
- /**
14
- * Class ParameterAbstract
15
- * @package Diglin\Ricardo\Managers
16
- */
17
  abstract class ParameterAbstract implements \ArrayAccess
18
  {
19
  /**
@@ -84,7 +80,7 @@ abstract class ParameterAbstract implements \ArrayAccess
84
  }
85
 
86
  // skip empty value for properties which are optional
87
- if (is_null($value) && in_array(substr($property->getName(), 1, strlen($property->getName())), $this->_optionalProperties)) {
88
  continue;
89
  }
90
 
@@ -196,4 +192,4 @@ abstract class ParameterAbstract implements \ArrayAccess
196
  return isset($this->_data[$offset]) ? $this->_data[$offset] : null;
197
  }
198
  }
199
- }
10
  */
11
  namespace Diglin\Ricardo\Managers;
12
 
 
 
 
 
13
  abstract class ParameterAbstract implements \ArrayAccess
14
  {
15
  /**
80
  }
81
 
82
  // skip empty value for properties which are optional
83
+ if (empty($value) && in_array(substr($property->getName(), 1, strlen($property->getName())), $this->_optionalProperties)) {
84
  continue;
85
  }
86
 
192
  return isset($this->_data[$offset]) ? $this->_data[$offset] : null;
193
  }
194
  }
195
+ }
lib/Diglin/Ricardo/Managers/Security.php CHANGED
@@ -197,7 +197,6 @@ class Security extends ManagerAbstract
197
  foreach ($query as &$item) {
198
  list($key, $value) = explode('=', $item);
199
  if ($key == 'partnerurl') {
200
- // Add the missing partner url parameter, it is returned empty
201
  $value = $this->_serviceManager->getConfig()->getPartnerUrl();
202
  }
203
  $outQuery[$key] = $value;
@@ -343,7 +342,7 @@ class Security extends ManagerAbstract
343
  curl_exec($ch);
344
 
345
  if (curl_errno($ch)) {
346
- throw new \Exception('Error to get the login form page to save Ricardo Authorization: ' . curl_errno($ch));
347
  }
348
 
349
  // Step 2 - Send the user authentification to the web form to get the rights to use the credential token
@@ -381,7 +380,7 @@ class Security extends ManagerAbstract
381
  $return = curl_exec($ch);
382
 
383
  if (curl_errno($ch)) {
384
- throw new \Exception('Error while saving the form into Ricardo Authorization page: ' . curl_errno($ch));
385
  }
386
 
387
  curl_close($ch);
@@ -605,4 +604,6 @@ class Security extends ManagerAbstract
605
  {
606
  return (bool) $this->_credentialTokenRefreshed;
607
  }
608
- }
 
 
197
  foreach ($query as &$item) {
198
  list($key, $value) = explode('=', $item);
199
  if ($key == 'partnerurl') {
 
200
  $value = $this->_serviceManager->getConfig()->getPartnerUrl();
201
  }
202
  $outQuery[$key] = $value;
342
  curl_exec($ch);
343
 
344
  if (curl_errno($ch)) {
345
+ throw new \Exception ('Error to get the login form page to save Ricardo Authorization: ' . curl_errno($ch));
346
  }
347
 
348
  // Step 2 - Send the user authentification to the web form to get the rights to use the credential token
380
  $return = curl_exec($ch);
381
 
382
  if (curl_errno($ch)) {
383
+ throw new \Exception ('Error while saving the form into Ricardo Authorization page: ' . curl_errno($ch));
384
  }
385
 
386
  curl_close($ch);
604
  {
605
  return (bool) $this->_credentialTokenRefreshed;
606
  }
607
+
608
+
609
+ }
lib/Diglin/Ricardo/Managers/Sell.php CHANGED
@@ -22,10 +22,6 @@ use Diglin\Ricardo\Managers\Sell\Parameter\InsertArticlesParameter;
22
  use Diglin\Ricardo\Managers\Sell\Parameter\UpdateArticleParameter;
23
  use Diglin\Ricardo\Managers\Sell\Parameter\UpdateArticlePicturesParameter;
24
 
25
- /**
26
- * Class Sell
27
- * @package Diglin\Ricardo\Managers
28
- */
29
  class Sell extends ManagerAbstract
30
  {
31
  /**
@@ -147,4 +143,4 @@ class Sell extends ManagerAbstract
147
  $this->_proceed('UpdateArticlePictures', $parameter); // no value returned
148
  return $this;
149
  }
150
- }
22
  use Diglin\Ricardo\Managers\Sell\Parameter\UpdateArticleParameter;
23
  use Diglin\Ricardo\Managers\Sell\Parameter\UpdateArticlePicturesParameter;
24
 
 
 
 
 
25
  class Sell extends ManagerAbstract
26
  {
27
  /**
143
  $this->_proceed('UpdateArticlePictures', $parameter); // no value returned
144
  return $this;
145
  }
146
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/AddArticlePicturesParameter.php CHANGED
@@ -99,4 +99,4 @@ class AddArticlePicturesParameter extends ParameterAbstract
99
  {
100
  return $this->_pictures;
101
  }
102
- }
99
  {
100
  return $this->_pictures;
101
  }
102
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/AppendArticleDescriptionParameter.php CHANGED
@@ -99,4 +99,6 @@ class AppendArticleDescriptionParameter extends ParameterAbstract
99
  {
100
  return $this->_descriptions;
101
  }
102
- }
 
 
99
  {
100
  return $this->_descriptions;
101
  }
102
+
103
+
104
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/AppendDescriptionParameter.php CHANGED
@@ -78,4 +78,4 @@ class AppendDescriptionParameter extends ParameterAbstract
78
  {
79
  return $this->_languageId;
80
  }
81
- }
78
  {
79
  return $this->_languageId;
80
  }
81
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticleDeliveryParameter.php CHANGED
@@ -139,4 +139,4 @@ class ArticleDeliveryParameter extends ParameterAbstract
139
  {
140
  return (bool) $this->_isDeliveryFree;
141
  }
142
- }
139
  {
140
  return (bool) $this->_isDeliveryFree;
141
  }
142
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticleDescriptionParameter.php CHANGED
@@ -195,4 +195,6 @@ class ArticleDescriptionParameter extends ParameterAbstract
195
  {
196
  return $this->_warrantyDescription;
197
  }
198
- }
 
 
195
  {
196
  return $this->_warrantyDescription;
197
  }
198
+
199
+
200
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticleInformationParameter.php CHANGED
@@ -315,8 +315,6 @@ class ArticleInformationParameter extends ParameterAbstract
315
  }
316
 
317
  /**
318
- * Must be set to "true" if templateId is provided
319
- *
320
  * @param boolean $isCustomerTemplate
321
  * @return $this
322
  */
@@ -479,8 +477,6 @@ class ArticleInformationParameter extends ParameterAbstract
479
  }
480
 
481
  /**
482
- * setIsCustomerTemplate must be set to true if you set the templateId here
483
- *
484
  * @param int $templateId
485
  * @return $this
486
  */
@@ -515,4 +511,6 @@ class ArticleInformationParameter extends ParameterAbstract
515
  {
516
  return (int) $this->_warrantyId;
517
  }
518
- }
 
 
315
  }
316
 
317
  /**
 
 
318
  * @param boolean $isCustomerTemplate
319
  * @return $this
320
  */
477
  }
478
 
479
  /**
 
 
480
  * @param int $templateId
481
  * @return $this
482
  */
511
  {
512
  return (int) $this->_warrantyId;
513
  }
514
+
515
+
516
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticleInternalReferenceParameter.php CHANGED
@@ -67,4 +67,4 @@ class ArticleInternalReferenceParameter extends ParameterAbstract
67
  {
68
  return $this->_internalReferenceTypeId;
69
  }
70
- }
67
  {
68
  return $this->_internalReferenceTypeId;
69
  }
70
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/ArticlePictureParameter.php CHANGED
@@ -90,4 +90,4 @@ class ArticlePictureParameter extends ParameterAbstract
90
  {
91
  return $this->_pictureIndex;
92
  }
93
- }
90
  {
91
  return $this->_pictureIndex;
92
  }
93
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/CloseArticleParameter.php CHANGED
@@ -68,4 +68,4 @@ class CloseArticleParameter extends ParameterAbstract
68
  {
69
  return $this->_articleId;
70
  }
71
- }
68
  {
69
  return $this->_articleId;
70
  }
71
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/CloseArticlesParameter.php CHANGED
@@ -80,4 +80,4 @@ class CloseArticlesParameter extends ParameterAbstract
80
  {
81
  return $this->_articleIds;
82
  }
83
- }
80
  {
81
  return $this->_articleIds;
82
  }
83
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/DeletePlannedArticleParameter.php CHANGED
@@ -94,4 +94,4 @@ class DeletePlannedArticleParameter extends ParameterAbstract
94
  {
95
  return $this->_plannedIndex;
96
  }
97
- }
94
  {
95
  return $this->_plannedIndex;
96
  }
97
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/DeletePlannedArticlesParameter.php CHANGED
@@ -80,4 +80,4 @@ class DeletePlannedArticlesParameter extends ParameterAbstract
80
  {
81
  return $this->_articles;
82
  }
83
- }
80
  {
81
  return $this->_articles;
82
  }
83
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/InsertArticleParameter.php CHANGED
@@ -205,4 +205,4 @@ class InsertArticleParameter extends ParameterAbstract
205
  {
206
  return $this->_pictures;
207
  }
208
- }
205
  {
206
  return $this->_pictures;
207
  }
208
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/InsertArticlesParameter.php CHANGED
@@ -74,4 +74,4 @@ class InsertArticlesParameter extends ParameterAbstract
74
  {
75
  return $this->_articles;
76
  }
77
- }
74
  {
75
  return $this->_articles;
76
  }
77
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/UpdateArticleParameter.php CHANGED
@@ -151,4 +151,4 @@ class UpdateArticleParameter extends ParameterAbstract
151
  {
152
  return $this->_descriptions;
153
  }
154
- }
151
  {
152
  return $this->_descriptions;
153
  }
154
+ }
lib/Diglin/Ricardo/Managers/Sell/Parameter/UpdateArticlePicturesParameter.php CHANGED
@@ -123,4 +123,4 @@ class UpdateArticlePicturesParameter extends ParameterAbstract
123
  {
124
  return $this->_pictures;
125
  }
126
- }
123
  {
124
  return $this->_pictures;
125
  }
126
+ }
lib/Diglin/Ricardo/Managers/SellerAccount.php CHANGED
@@ -257,4 +257,4 @@ class SellerAccount extends ManagerAbstract
257
  {
258
  // @todo
259
  }
260
- }
257
  {
258
  // @todo
259
  }
260
+ }
lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/ArticlesParameter.php CHANGED
@@ -124,4 +124,4 @@ class ArticlesParameter extends ParameterAbstract
124
  {
125
  return $this->_lastModificationDate;
126
  }
127
- }
124
  {
125
  return $this->_lastModificationDate;
126
  }
127
+ }
lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/ClosedArticlesParameter.php CHANGED
@@ -75,4 +75,4 @@ class ClosedArticlesParameter extends ParameterAbstract
75
  {
76
  return $this->_lastModificationDate;
77
  }
78
- }
75
  {
76
  return $this->_lastModificationDate;
77
  }
78
+ }
lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/OpenArticlesParameter.php CHANGED
@@ -292,4 +292,4 @@ class OpenArticlesParameter extends ParameterAbstract
292
  {
293
  return (int) $this->_sortBy;
294
  }
295
- }
292
  {
293
  return (int) $this->_sortBy;
294
  }
295
+ }
lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/PlannedArticleParameter.php CHANGED
@@ -98,4 +98,4 @@ class PlannedArticleParameter extends ParameterAbstract
98
  {
99
  return (bool) $this->_withPicture;
100
  }
101
- }
98
  {
99
  return (bool) $this->_withPicture;
100
  }
101
+ }
lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/PlannedArticlesParameter.php CHANGED
@@ -194,4 +194,4 @@ class PlannedArticlesParameter extends ParameterAbstract
194
  {
195
  return $this->_internalReferenceFilter;
196
  }
197
- }
194
  {
195
  return $this->_internalReferenceFilter;
196
  }
197
+ }
lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/SoldArticlesParameter.php CHANGED
@@ -11,7 +11,7 @@
11
  namespace Diglin\Ricardo\Managers\SellerAccount\Parameter;
12
 
13
  use Diglin\Ricardo\Enums\Article\ArticlesTypes;
14
- use Diglin\Ricardo\Enums\Customer\SoldArticlesSortBy;
15
  use Diglin\Ricardo\Enums\Customer\PaidStatusFilter;
16
  use Diglin\Ricardo\Enums\Customer\ShippedStatusFilter;
17
  use \Diglin\Ricardo\Managers\ParameterAbstract;
@@ -100,7 +100,7 @@ class SoldArticlesParameter extends ParameterAbstract
100
  *
101
  * @var int
102
  */
103
- protected $_sortBy = SoldArticlesSortBy::SORTBYENDDATE;
104
 
105
  /**
106
  * Optional
@@ -463,4 +463,4 @@ class SoldArticlesParameter extends ParameterAbstract
463
  {
464
  return (int) $this->_shippedStatusFilter;
465
  }
466
- }
11
  namespace Diglin\Ricardo\Managers\SellerAccount\Parameter;
12
 
13
  use Diglin\Ricardo\Enums\Article\ArticlesTypes;
14
+ use Diglin\Ricardo\Enums\Customer\OpenArticlesSortBy;
15
  use Diglin\Ricardo\Enums\Customer\PaidStatusFilter;
16
  use Diglin\Ricardo\Enums\Customer\ShippedStatusFilter;
17
  use \Diglin\Ricardo\Managers\ParameterAbstract;
100
  *
101
  * @var int
102
  */
103
+ protected $_sortBy;
104
 
105
  /**
106
  * Optional
463
  {
464
  return (int) $this->_shippedStatusFilter;
465
  }
466
+ }
lib/Diglin/Ricardo/Managers/SellerAccount/Parameter/UnsoldArticlesParameter.php CHANGED
@@ -294,4 +294,4 @@ class UnsoldArticlesParameter extends ParameterAbstract
294
  {
295
  return $this->_minimumEndDate;
296
  }
297
- }
294
  {
295
  return $this->_minimumEndDate;
296
  }
297
+ }
lib/Diglin/Ricardo/Managers/System.php CHANGED
@@ -12,6 +12,10 @@ namespace Diglin\Ricardo\Managers;
12
 
13
  use Diglin\Ricardo\Enums\Article\PromotionCode;
14
 
 
 
 
 
15
  /**
16
  * Class System
17
  * @package Diglin\Ricardo\Managers
@@ -232,8 +236,7 @@ class System extends ManagerAbstract
232
  public function getFirstChildsCategories($categoryId, $categoryBrandingFilter = 0, $onlyAllowToSell = true)
233
  {
234
  if (empty($this->_firstChildsCategories)) {
235
- $this->_firstChildsCategories = $this->_proceed(
236
- 'FirstChildsCategories',
237
  array(
238
  'category_branding_filter' => $categoryBrandingFilter,
239
  'only_allow_to_sell' => $onlyAllowToSell,
@@ -320,8 +323,7 @@ class System extends ManagerAbstract
320
  public function getPaymentMethods($onlyAllowToSell = true, $paymentConditionId = null)
321
  {
322
  if (empty($this->_paymentMethods)) {
323
- $this->_paymentMethods = $this->_proceed(
324
- 'PaymentMethods',
325
  array(
326
  'only_allow_to_sell' => $onlyAllowToSell,
327
  'payment_condition_id' => $paymentConditionId
@@ -352,8 +354,7 @@ class System extends ManagerAbstract
352
  public function getPromotions($articleStartDate, $articleType, $categoryId, $displayMandatory)
353
  {
354
  if (empty($this->_promotions)) {
355
- $this->_promotions = $this->_proceed(
356
- 'Promotions',
357
  array(
358
  'article_start_date' => $articleStartDate,
359
  'article_type' => $articleType,
@@ -602,4 +603,4 @@ class System extends ManagerAbstract
602
  $this->_warranties = $warranties;
603
  return $this;
604
  }
605
- }
12
 
13
  use Diglin\Ricardo\Enums\Article\PromotionCode;
14
 
15
+ /**
16
+ * Class System
17
+ * @package Diglin\Ricardo\Managers
18
+ */
19
  /**
20
  * Class System
21
  * @package Diglin\Ricardo\Managers
236
  public function getFirstChildsCategories($categoryId, $categoryBrandingFilter = 0, $onlyAllowToSell = true)
237
  {
238
  if (empty($this->_firstChildsCategories)) {
239
+ $this->_firstChildsCategories = $this->_proceed('FirstChildsCategories',
 
240
  array(
241
  'category_branding_filter' => $categoryBrandingFilter,
242
  'only_allow_to_sell' => $onlyAllowToSell,
323
  public function getPaymentMethods($onlyAllowToSell = true, $paymentConditionId = null)
324
  {
325
  if (empty($this->_paymentMethods)) {
326
+ $this->_paymentMethods = $this->_proceed('PaymentMethods',
 
327
  array(
328
  'only_allow_to_sell' => $onlyAllowToSell,
329
  'payment_condition_id' => $paymentConditionId
354
  public function getPromotions($articleStartDate, $articleType, $categoryId, $displayMandatory)
355
  {
356
  if (empty($this->_promotions)) {
357
+ $this->_promotions = $this->_proceed('Promotions',
 
358
  array(
359
  'article_start_date' => $articleStartDate,
360
  'article_type' => $articleType,
603
  $this->_warranties = $warranties;
604
  return $this;
605
  }
606
+ }
lib/Diglin/Ricardo/Service.php CHANGED
@@ -88,7 +88,7 @@ class Service
88
  }
89
 
90
  if (!($service instanceof ServiceAbstract) && !isset($this->_services[$serviceName])) {
91
- $serviceClass = '\Diglin\Ricardo\Services\\' . $this->_getCleanServiceClassName($service);
92
  if (class_exists($serviceClass)) {
93
  $service = new $serviceClass();
94
  }
@@ -128,7 +128,6 @@ class Service
128
  if (isset($this->_services[$service->getService()])) {
129
  $this->_services[$service->getService()] = $service;
130
  }
131
-
132
  return $this;
133
  }
134
 
@@ -146,7 +145,6 @@ class Service
146
  $this->_services[$serviceName] = null;
147
  unset($this->_services[$serviceName]);
148
  }
149
-
150
  return $this;
151
  }
152
 
@@ -158,21 +156,9 @@ class Service
158
  if (!$this->_securityManager) {
159
  $this->_securityManager = new Security($this, $this->getConfig()->getAllowValidationUrl());
160
  }
161
-
162
  return $this->_securityManager;
163
  }
164
 
165
- /**
166
- * @param \Diglin\Ricardo\Managers\Security $securityManager
167
- * @return $this
168
- */
169
- public function setSecurityManager($securityManager)
170
- {
171
- $this->_securityManager = $securityManager;
172
-
173
- return $this;
174
- }
175
-
176
  /**
177
  * Execute a method on the service and return an array
178
  *
@@ -198,18 +184,15 @@ class Service
198
  }
199
 
200
  if (empty($service['method'])) {
201
- throw new \Exception(printf(
202
- 'Method "%s" of the service "%s" cannot be empty',
203
- $service['method'],
204
- $serviceName
205
- ));
206
  }
207
 
208
  if (!$this->_securityManager) {
209
  $this->_securityManager = $this->getSecurityManager();
210
  }
211
 
212
- switch ($serviceInstance->getTypeOfToken()) {
 
213
  case ServiceAbstract::TOKEN_TYPE_IDENTIFIED:
214
  $token = $this->_securityManager->getToken(ServiceAbstract::TOKEN_TYPE_IDENTIFIED);
215
  $this->getApi()
@@ -241,17 +224,11 @@ class Service
241
  $getResultServiceMethod = $this->_prepareServiceGetResultMethod($serviceMethod);
242
 
243
  if (!is_array($data)) {
244
- throw new \Exception('No data returned from the ricardo.ch API.');
 
 
245
  } else {
246
- if (method_exists($serviceInstance, $getResultServiceMethod) && is_array($data) && !array_key_exists(
247
- 'ErrorCodes',
248
- $data
249
- )
250
- ) {
251
- return $serviceInstance->$getResultServiceMethod((array)$data);
252
- } else {
253
- return $data;
254
- }
255
  }
256
 
257
  } else {
@@ -268,7 +245,7 @@ class Service
268
  */
269
  protected function _getCleanServiceClassName($serviceClassName)
270
  {
271
- return str_replace(' ', '', ucwords(str_replace('_', ' ', $serviceClassName)));
272
  }
273
 
274
  /**
@@ -283,7 +260,6 @@ class Service
283
  if (!strpos($serviceName, 'Service')) {
284
  $serviceName .= 'Service';
285
  }
286
-
287
  return $serviceName;
288
  }
289
 
@@ -298,7 +274,6 @@ class Service
298
  if (strpos(strtolower($method), 'get') === false) {
299
  $method = 'get' . ucfirst($method);
300
  }
301
-
302
  return $method;
303
  }
304
 
@@ -313,7 +288,6 @@ class Service
313
  if (strpos($method, 'Result') === false) {
314
  $method .= 'Result';
315
  }
316
-
317
  return $method;
318
  }
319
- }
88
  }
89
 
90
  if (!($service instanceof ServiceAbstract) && !isset($this->_services[$serviceName])) {
91
+ $serviceClass = '\Diglin\Ricardo\Services\\'. $this->_getCleanServiceClassName($service);
92
  if (class_exists($serviceClass)) {
93
  $service = new $serviceClass();
94
  }
128
  if (isset($this->_services[$service->getService()])) {
129
  $this->_services[$service->getService()] = $service;
130
  }
 
131
  return $this;
132
  }
133
 
145
  $this->_services[$serviceName] = null;
146
  unset($this->_services[$serviceName]);
147
  }
 
148
  return $this;
149
  }
150
 
156
  if (!$this->_securityManager) {
157
  $this->_securityManager = new Security($this, $this->getConfig()->getAllowValidationUrl());
158
  }
 
159
  return $this->_securityManager;
160
  }
161
 
 
 
 
 
 
 
 
 
 
 
 
162
  /**
163
  * Execute a method on the service and return an array
164
  *
184
  }
185
 
186
  if (empty($service['method'])) {
187
+ throw new \Exception(printf('Method "%s" of the service "%s" cannot be empty', $service['method'], $serviceName));
 
 
 
 
188
  }
189
 
190
  if (!$this->_securityManager) {
191
  $this->_securityManager = $this->getSecurityManager();
192
  }
193
 
194
+ switch ($serviceInstance->getTypeOfToken())
195
+ {
196
  case ServiceAbstract::TOKEN_TYPE_IDENTIFIED:
197
  $token = $this->_securityManager->getToken(ServiceAbstract::TOKEN_TYPE_IDENTIFIED);
198
  $this->getApi()
224
  $getResultServiceMethod = $this->_prepareServiceGetResultMethod($serviceMethod);
225
 
226
  if (!is_array($data)) {
227
+ throw new \Exception('Error occurred with the API. Here is the message returned: ' . "\n" . $data . "\n" . print_r($this->getApi()->getLastDebug(), true));
228
+ } else if (method_exists($serviceInstance, $getResultServiceMethod) && is_array($data) && !array_key_exists('ErrorCodes', $data)) {
229
+ return $serviceInstance->$getResultServiceMethod( (array) $data);
230
  } else {
231
+ return $data;
 
 
 
 
 
 
 
 
232
  }
233
 
234
  } else {
245
  */
246
  protected function _getCleanServiceClassName($serviceClassName)
247
  {
248
+ return str_replace(' ', '', ucwords(str_replace('_', ' ',$serviceClassName)));
249
  }
250
 
251
  /**
260
  if (!strpos($serviceName, 'Service')) {
261
  $serviceName .= 'Service';
262
  }
 
263
  return $serviceName;
264
  }
265
 
274
  if (strpos(strtolower($method), 'get') === false) {
275
  $method = 'get' . ucfirst($method);
276
  }
 
277
  return $method;
278
  }
279
 
288
  if (strpos($method, 'Result') === false) {
289
  $method .= 'Result';
290
  }
 
291
  return $method;
292
  }
293
+ }
lib/Diglin/Ricardo/Services/Customer.php CHANGED
@@ -86,4 +86,4 @@ class Customer extends ServiceAbstract
86
  }
87
  return false;
88
  }
89
- }
86
  }
87
  return false;
88
  }
89
+ }
lib/Diglin/Ricardo/Services/Security.php CHANGED
@@ -286,4 +286,4 @@ class Security extends ServiceAbstract
286
 
287
  return array();
288
  }
289
- }
286
 
287
  return array();
288
  }
289
+ }
lib/Diglin/Ricardo/Services/Sell.php CHANGED
@@ -654,4 +654,5 @@ class Sell extends ServiceAbstract
654
  public function updatePlannedArticlePictures($updatePlannedArticlePicturesParameter)
655
  {
656
  }
657
- }
 
654
  public function updatePlannedArticlePictures($updatePlannedArticlePicturesParameter)
655
  {
656
  }
657
+
658
+ }
lib/Diglin/Ricardo/Services/SellerAccount.php CHANGED
@@ -593,4 +593,4 @@ class SellerAccount extends ServiceAbstract
593
  'params' => array('SetPremiumPackageAutomaticReactivationParameter' => array())
594
  );
595
  }
596
- }
593
  'params' => array('SetPremiumPackageAutomaticReactivationParameter' => array())
594
  );
595
  }
596
+ }
lib/Diglin/Ricardo/Services/ServiceAbstract.php CHANGED
@@ -40,7 +40,7 @@ abstract class ServiceAbstract
40
  */
41
  public function getService()
42
  {
43
- return $this->_service;
44
  }
45
 
46
  /**
@@ -59,4 +59,4 @@ abstract class ServiceAbstract
59
  {
60
  return $this->_typeOfToken;
61
  }
62
- }
40
  */
41
  public function getService()
42
  {
43
+ return $this->_service;
44
  }
45
 
46
  /**
59
  {
60
  return $this->_typeOfToken;
61
  }
62
+ }
lib/Diglin/Ricardo/Services/System.php CHANGED
@@ -1215,4 +1215,4 @@ class System extends ServiceAbstract
1215
  // 'params' => array()
1216
  // );
1217
  // }
1218
- }
1215
  // 'params' => array()
1216
  // );
1217
  // }
1218
+ }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>diglin_ricento</name>
4
- <version>1.0.14</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -38,30 +38,40 @@
38
  &lt;p&gt;With around 700,000 current offers (auctions and fixed price), 2.5 million brand-name articles on &lt;a href="http://www.ricardoshops"&gt;ricardoshops&lt;/a&gt;.ch, around 100,000 vehicles plus 35,000 parts and accessories on &lt;a href="http://www.autoricardo.ch"&gt;autoricardo.ch&lt;/a&gt; and over 2.3 million members, ricardo.ch is the largest online marketplace in Switzerland. Every three minutes somebody buys an article on &lt;a href="http://www.ricardo.ch"&gt;ricardo.ch&lt;/a&gt; using a mobile device. ricardo.ch AG employs over 140 people in Switzerland and is headquartered in Zug.&lt;/p&gt;&#xD;
39
  &lt;h2&gt;About Diglin&lt;/h2&gt;&#xD;
40
  &lt;p&gt;&lt;a href="http://www.diglin.com"&gt;Diglin&lt;/a&gt; is the Swiss eCommerce Agency per excellence, realizing your eCommerce project with success. It will accompany along the whole life of your eCommerce project at any levels: conception, realization, design, marketing, logistic, data treatment and management, resource optimization, cost efficiency, increase in turnover, etc. Diglin concentrates its activities mainly with the solutions Magento (eCommerce), OroCRM (CRM) and Akeneo (PIM) and work with its partners highly qualified to provide you the best solutions regarding your needs. &lt;/p&gt;</description>
41
- <notes>## Version 1.0.14&#xD;
42
- Fix an issue revealed after fixes done in version 1.0.13 related to getting sales options and rules from products listing item during getting new orders&#xD;
 
 
 
 
 
 
 
 
 
 
43
  &#xD;
44
  ## Version 1.0.13&#xD;
45
- Important fix for price products (and sales options &amp; rules in general) when several listing processes running at same time&#xD;
46
  &#xD;
47
  ## Version 1.0.12&#xD;
48
- 7485ad0 Prevent Exception while editing product if API problem appear while conditions options&#xD;
49
- 2927622 Add translation for frontend, change payment info template&#xD;
50
- 29069ea Fix wrong variable name for payment method instruction&#xD;
51
- 1738457 add payment block info in frontend area too for email generated from backend&#xD;
52
- 259f885 Fix issue with products grid and massaction&#xD;
53
- 8d37514 Update readme file&#xD;
54
- ea18812 Redirect to edit page if error occur&#xD;
55
- 0fe5a3c Implement Bank information display if ricardo.ch payment method Bank transfer is used, Remove the cleanup listing log as it is duplicate with the job cleanup&#xD;
56
- 9cd82a8 Change order of the tab display 1) Synchronization 2) Listing Log instead of the opposite&#xD;
57
- bc809c0 Fix random security error message on fresh install&#xD;
58
  &#xD;
59
  ## Version 1.0.10&#xD;
60
- e2304ab Change the status of an item to stop if the item has not been sold. It will stop the complete list if all items are stopped.&#xD;
61
- e2c0676 Set website Id while saving new customer even if store id was also provided to be sure that the user is saved into the correct website&#xD;
62
- 0d01b4a Fix missing log url in message&#xD;
63
- ff1005c Skip required option when creating an order, also for custom option&#xD;
64
- 9b48ef6 Fix missing home number&#xD;
65
  &#xD;
66
  ## Version 1.0.9&#xD;
67
  - Fix issue with some optional API property set to 0 (like template Id)&#xD;
@@ -79,6 +89,7 @@ ff1005c Skip required option when creating an order, also for custom option&#xD;
79
  - 4d38ed3 Make the option Schedule Reactivation "Until Sold" better explicit and working&#xD;
80
  - 03bc9cd Update code documentation&#xD;
81
  - 658c9f6 In some cases, picture's extension is not recognized so change the logic to determine if it exists or not Catch Exception and log them in cron class&#xD;
 
82
  ## Version 1.0.8&#xD;
83
  - b5f1afa Update translations file&#xD;
84
  - c0d3fbb Fix issue with dispatcher and completed status&#xD;
@@ -136,12 +147,11 @@ ff1005c Skip required option when creating an order, also for custom option&#xD;
136
  - 880dbfd Fix issue if API not yet configured and Product Edit Page is requested from the backend&#xD;
137
  - 5841d06 Update gitsubmodule (replace bitbucket with github)&#xD;
138
  - be2b77a Update readme file&#xD;
139
- - 9384e3c Update doc&#xD;
140
- </notes>
141
  <authors><author><name>diglin</name><user>diglin</user><email>sly@diglin.com</email></author></authors>
142
- <date>2014-12-22</date>
143
- <time>23:18:42</time>
144
- <contents><target name="mageetc"><dir name="modules"><file name="Diglin_Ricento.xml" hash="a86e2b01a2299f2bbb2be1f53ac2e67c"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ricento.xml" hash="c1b82328c179fae58ba58f100e9c8492"/></dir><dir name="template"><dir name="ricento"><dir name="dashboard"><file name="account.phtml" hash="cbbb371ec1f0887422d566b58468fd8d"/><file name="bestsellers.phtml" hash="f57552ae07eb4a76c60d7c1c5f310925"/><file name="lifeturnover.phtml" hash="349fb44e8e299fcedbd6bff3695c4d13"/><file name="news.phtml" hash="bfea8d5c2703f5df8e9b3d7fbe469fb7"/><file name="toolbar.phtml" hash="ff0de2dcf1f1477c358847cffe4e5606"/><dir name="turnover"><file name="graph.phtml" hash="b2e71dbe5066c7bbc2ab770fa3b22000"/></dir><file name="turnover.phtml" hash="18760c73f322091aa7c41d536dc0455a"/></dir><file name="dashboard.phtml" hash="c727260087d512a80c1536b565de76b6"/><file name="iframe.phtml" hash="caf1e6f5d93a40f907f8563bc39ed2a8"/><dir name="js"><dir name="rules"><dir name="validate"><file name="paymentshipping.phtml" hash="4b74753a7661daf4c198a5f92950574f"/></dir></dir><dir name="salesoptions"><dir name="validate"><file name="increment.phtml" hash="7cf5b3bfb2f89a5513f9bc99d640039a"/></dir></dir><dir name="sync"><file name="progress.phtml" hash="bc384c157f7bb197b4b5604fda92e142"/></dir></dir><file name="log.phtml" hash="f60232e3277e2db2ca5d1d7849335961"/><dir name="notifications"><file name="configured.phtml" hash="0356ae8947fb0533179b4315f184bfd0"/><file name="expiration.phtml" hash="a67a026879d7442d5ded273860342a60"/></dir><dir name="payment"><dir name="info"><file name="default.phtml" hash="c1d4e98ba0bf30f501116b923d6d1d01"/><dir name="pdf"><file name="default.phtml" hash="4d6bc784f0ebaccee18fd1d761020025"/></dir></dir></dir><dir name="products"><dir name="category"><file name="children.phtml" hash="fe7c8df894f6f60f5ac2b3b789e748d4"/><file name="mapping.phtml" hash="2801c64d3b5784998204fbcf2125baf2"/></dir><dir name="listing"><dir name="item"><dir name="edit"><file name="form.phtml" hash="87a048b7da1b45b434e8922b11853bdd"/></dir><file name="preview.phtml" hash="eddde5ab418c1e3f147e048b40819992"/></dir></dir></dir><file name="support.phtml" hash="1880a730faf40f0cb5c9bbffcd8ca684"/><dir name="sync"><dir name="check"><file name="popup.phtml" hash="1e5594870fd56a62b56be99f1d18efd3"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ricento"><dir name="payment"><dir name="info"><file name="default.phtml" hash="c1d4e98ba0bf30f501116b923d6d1d01"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="ricento"><dir name="css"><dir name="images"><file name="ajax-loader.gif" hash="73e57937304d89f251e7e540a24b095a"/><file name="arrow_sans_right_32.gif" hash="276b86bab75976c98e3c5202916d927a"/><file name="monotone_check_yes_ok.png" hash="b7b1d4c572e0c2ed10435a802549ae64"/><file name="ricardo_16x16.png" hash="5987591334d1b58f66ae4db2683fa8fd"/><file name="ricardo_32x32.png" hash="0635c69692c26a4bd4707a91336d9b3b"/><file name="settings_icon.png" hash="4bdae9a6199655027b8b8aeee8f80ce4"/><file name="warning_msg_icon.gif" hash="4cf6ec7f59ab09f9c18b3a4301714c6d"/><file name="window_maximize.png" hash="0f9c031e141822fed135270e34b128d5"/><file name="window_minimize.png" hash="62e6795471543a0eff14a07bf271d8d7"/></dir><file name="ricento.css" hash="c714e583ec2cca702f1d660258351c74"/></dir><dir name="images"><file name="KB.png" hash="187e953f8ebf9fe5829ec31427ff853b"/><file name="contact.png" hash="85ed8d8113a897128ab1263e23b69dbb"/><file name="diglin.png" hash="cb24b7fec64fd8f906375d497b7e5e0f"/><file name="diglin@2x.png" hash="0e834d7839f61e789db16c028100b6ff"/><file name="online-support-48.png" hash="70f55fb3bc678875eaf53dfb214d7d3d"/><file name="ricardo.png" hash="21beeb511cf31d16ebc6b9d947806447"/><file name="ricardo@2x.png" hash="af83978f369def1e4e87fc06e4903c61"/><file name="settings-13-48.png" hash="3dc22c1da4f952687699e5fc23028232"/><file name="sinchronize-48.png" hash="15735cf3ca563303d9e981faba075750"/><file name="statistics-48.png" hash="38046c16959de9ee22b1679d4ddf3909"/><file name="view-details-48.png" hash="a8bbab2e728f1723e9e17dce5f939b22"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Diglin"><dir name="Ricento"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Source"><file name="Heading.php" hash="08bfec7a2b10f7d0ac093fde65376088"/><file name="Hint.php" hash="637305b9f7e1c335240a698c0cd01e0b"/></dir></dir><dir name="Dashboard"><file name="Account.php" hash="35f9c924a368fe89988551949edfce2a"/><file name="Bestsellers.php" hash="7c2141de8e0b5c96bd1f980c7bfd3c0d"/><file name="Lifetime.php" hash="03bd7fb6cc59dac28d1e8171a8b663fb"/><file name="News.php" hash="6ee052d661649e532b9d1ca4678a572a"/><file name="Turnover.php" hash="599befc82193fe3c0d8bf40235573b35"/></dir><dir name="Form"><dir name="Element"><dir name="Checkboxes"><file name="Extensible.php" hash="ffb747148d40df54d9fa3fa816a39400"/></dir><dir name="Fieldset"><file name="Inline.php" hash="fdc4b3558f283e64dc93ca7fc19b6649"/></dir><dir name="Radios"><file name="Extensible.php" hash="c9ad2029c98e44564f61c7e93a5b86a6"/></dir></dir></dir><dir name="Log"><file name="Tabs.php" hash="c2f6cc390e147cf9c3d34590cfb6e8fb"/></dir><file name="Log.php" hash="314ce9d39c222b31fcd31d7967332956"/><dir name="Notifications"><file name="Default.php" hash="726bbe880cc3fced92026e3fe9de52cd"/><file name="Expiration.php" hash="04c49b5ebd58f1671f212daa8fea9d3d"/></dir><dir name="Page"><file name="Menu.php" hash="309a5b5f61b865eed6115292a1ba8408"/></dir><dir name="Products"><dir name="Category"><file name="Children.php" hash="4af63f515a1c722e746db4cb025f56ec"/><dir name="Form"><dir name="Renderer"><file name="Categories.php" hash="f743907976f85721289206db1ce867e4"/><file name="Mapping.php" hash="e7d3043e2df114e2fe0da3df56c090c7"/></dir></dir><file name="Mapping.php" hash="0992362283c3561f8f2853149966b539"/><dir name="Tree"><file name="Categories.php" hash="a6bd451c4d6c5a98169a80839cda1066"/><file name="Form.php" hash="fca0061ce0a1e8ab09cd59b8483b9339"/></dir><file name="Tree.php" hash="a8e8d92a06cba9841a10ed3601eefea6"/></dir><dir name="Listing"><dir name="Edit"><file name="Form.php" hash="c221dbbf901ad4b94567a7f20abac341"/><dir name="Tabs"><file name="General.php" hash="66fc6693de1118bbff1c71fd434d4621"/><dir name="Products"><file name="Add.php" hash="1c56ae17350862a716e08d0d90a8c2c6"/><file name="Massaction.php" hash="95eaac9d08a05a4e7c801b2af0918897"/><dir name="Renderer"><file name="Article.php" hash="6b71dd28b3cd47fc33dc262aa699be21"/><file name="Configured.php" hash="752384f9403d947710ca200e3033315d"/><file name="Customoptions.php" hash="1528f1ece06428ecae827463db2e43ac"/><file name="Inventory.php" hash="f8b93de58674e27b3f41ade861973332"/><file name="Name.php" hash="df67409ce61c7b0db64afbf72cbb9dcd"/><file name="Status.php" hash="1b0d3a7fffde53b529e46778acc1ca79"/></dir></dir><file name="Products.php" hash="f201f3f7e3c13a6f897eea197ae23430"/><file name="Rules.php" hash="2e8ecfebc9273e462981f98dbc5fa324"/><file name="Selloptions.php" hash="1b5014a5a6022e7eec87afe78126d087"/></dir><file name="Tabs.php" hash="2c32080a6452c787ee425970ae20b4ec"/></dir><file name="Edit.php" hash="2ae88e5e2370ca022e3527458a0480f6"/><dir name="Form"><file name="Abstract.php" hash="7f3cfbb2f2e2d5f2f5b93aae7f4cb863"/></dir><dir name="Grid"><dir name="Renderer"><file name="Status.php" hash="d46908619652be3858d11d6c1bbf6829"/><file name="Total.php" hash="f36fa67a80cc6cf21827ad6ec56c0e0f"/></dir></dir><file name="Grid.php" hash="35d5b0bef35a6bf24a8eebb01be3ef3f"/><dir name="Item"><dir name="Edit"><file name="Form.php" hash="8126675b354e5db8b3c87719a3e3f14a"/><dir name="Tabs"><file name="Rules.php" hash="a3529886f663e7ff5997e12dbcb3c0d1"/><file name="Selloptions.php" hash="371f56454019bd9c367283647a826575"/></dir><file name="Tabs.php" hash="ee77e446bf1ecd743248373f3ce0423d"/></dir><file name="Edit.php" hash="344f46df840b4d7a9986708fa27439de"/><file name="Preview.php" hash="bc0367dd7ef6b6e07ec8c45af3829cd6"/></dir><dir name="Log"><file name="Grid.php" hash="4d48ec10eff2ec85157103817e6c836f"/></dir><file name="Log.php" hash="faa3d6f967a81979971dfb1adc1983a9"/><dir name="New"><file name="Form.php" hash="33ba643084f9ecea6410f4eec4e09d56"/></dir><file name="New.php" hash="756ccaf1d944562504dadc9ca46db8d7"/></dir><file name="Listing.php" hash="cf27b8ad9d2cd31d5bb334be4a2a08e0"/></dir><dir name="Sync"><dir name="Log"><dir name="Grid"><dir name="Renderer"><file name="Progress.php" hash="c2334533853a0e7b671981d65d71be5c"/><file name="Title.php" hash="dc6ccd1225f015e971c672b0e1809f8f"/></dir></dir><file name="Grid.php" hash="bdddd85b20194062adc38ecb425b6ccc"/></dir></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Button.php" hash="1bb855e3f7fea3a563480360d5cc3c75"/></dir></dir></dir></dir></dir><dir name="Payment"><file name="Info.php" hash="506632bcf1c329b764c508872573b425"/></dir></dir><dir name="Controller"><dir name="Adminhtml"><file name="Action.php" hash="57c677fd84a8093e2c877a678baa8195"/><dir name="Products"><file name="Listing.php" hash="cd1e5fbd6434a7c85f956f26e0253c57"/></dir></dir></dir><file name="Exception.php" hash="14ed2052208b67845a908677c064abb1"/><dir name="Helper"><file name="Api.php" hash="5dbd8a731c8fdfdabb77a4126cb82931"/><dir name="Dashboard"><file name="Turnover.php" hash="2412ced6939a78c9fbffcb9b73863551"/></dir><file name="Data.php" hash="4a0a48a55f796693de6c87ffe457c528"/><file name="Price.php" hash="bf57d4ee942825cc7bf5102b9896e7db"/><file name="Tools.php" hash="ee9f03491e70d15d34b57fd02dbe8004"/></dir><dir name="Model"><dir name="Api"><dir name="Services"><file name="Abstract.php" hash="d602f7cb37216de6e571bd7f3c483e71"/><file name="Customer.php" hash="ef947fdcc2ed93fc32847386c45eaa26"/><file name="Security.php" hash="875bbd67f05efd34474f3a3b36fa31e8"/><file name="Sell.php" hash="b315e0360002e31de4e038d9ab978df7"/><file name="Selleraccount.php" hash="c4d8346f84fa02b756190c484ffa58bf"/><file name="System.php" hash="fbf16e64ad7b435e1e6d7bdae6e24d78"/></dir><file name="Token.php" hash="d21221d3d3a32bca4ebeed03cfe442e5"/></dir><dir name="Config"><dir name="Source"><file name="Abstract.php" hash="d633868d1927b3a9014ed3dcfbfd1999"/><file name="Categories.php" hash="6b17c67f90ec63b9f3be7f9843740dca"/><file name="Languages.php" hash="014852a76af2dee1a7337dbf9f493b85"/><dir name="Products"><dir name="Listing"><file name="Log.php" hash="146dfc2c14e8a3a86e01d164126cb4b2"/><file name="Status.php" hash="a3f2771923122051a408443f843d6528"/></dir></dir><dir name="Rules"><file name="Payment.php" hash="b6e01b940a147482aaffb328faf34b95"/><dir name="Shipping"><file name="Availability.php" hash="45207d4f2178550378a51f7ff7fd3e49"/><file name="Calculation.php" hash="10222fd3941506e2b3828797d6aa1f9d"/><file name="Packages.php" hash="7f994b97c678dfb20fde6725124e2acc"/></dir><file name="Shipping.php" hash="eec3b38d9cfe649a17092a2b5a1098d1"/></dir><dir name="Sales"><file name="Currency.php" hash="bbe5bcd94ed0f0bb7c5ded58f13ec457"/><file name="Days.php" hash="f5b51b4710d51265e815d048e5ef9edc"/><dir name="Order"><file name="Status.php" hash="a1ea817067ed8f1c4d178f7a6dd5b3b0"/></dir><dir name="Price"><file name="Method.php" hash="bb9985ba73579b5bd8aa94f9222d51fc"/><file name="Source.php" hash="9b752e09a0f72ce6127171cabb2290c1"/></dir><dir name="Product"><dir name="Condition"><file name="Source.php" hash="e448f60cd3124c09f299bd8ef9168fa0"/></dir><file name="Condition.php" hash="96e0ec65f1b10170284719922ae84bff"/></dir><file name="Promotion.php" hash="f89dab74f940fbd5e28e27f63a5c1064"/><file name="Reactivation.php" hash="e5e2ef320bf6f752b01f9407b1e02dae"/><file name="Template.php" hash="f4a307a49f48ff8ec4b2358bddf2242e"/><file name="Type.php" hash="07c4b022b55806d75ffe742ea4ea16f7"/><file name="Warranty.php" hash="da1985c05eb6aca67c153f23fe27ddaa"/></dir><file name="Status.php" hash="1b1fcb6cfc9dc71afe164d9557b5e84c"/><file name="Store.php" hash="640451943c245fee5ba5fd777b670c95"/><dir name="Sync"><file name="Progress.php" hash="51c7f312d30a1527cb2706a1006605b0"/><file name="Status.php" hash="b5be2dc9a11875746d2356d773db354f"/><file name="Type.php" hash="5950c0f75d201fd1d09c4fd5c5656b20"/></dir><file name="Website.php" hash="0fcb2be469c740658f7eacbf2af47a7b"/></dir></dir><file name="Cron.php" hash="24bceab1c9fd45ad1f3403237aae8cf7"/><dir name="Dispatcher"><file name="Abstract.php" hash="1d69d6b87f61f36152ce38503920707d"/><dir name="Check"><file name="List.php" hash="0b1fda4f5390f41c4e53fa81a316bfdc"/></dir><file name="List.php" hash="bbd329613819a10ad0d09c7e6ddc9066"/><file name="Order.php" hash="dd60dac9994435aa4bbff9db5b6075dd"/><file name="Relist.php" hash="6de5133b423023dd909df746291773e2"/><file name="Stop.php" hash="ff2a79fa58af07345db28eb6043d9afd"/><dir name="Sync"><file name="List.php" hash="74c96c13baadeebdc8a1c1badeb27b6f"/></dir></dir><file name="Dispatcher.php" hash="280b437329ae21c21c7616779692cdea"/><dir name="Entity"><dir name="Attribute"><dir name="Source"><file name="Conditions.php" hash="d80e42261c1597130d6f3741bf7b993f"/></dir></dir></dir><file name="Filter.php" hash="febacb31efaa37f0e99b1797bab8afbf"/><file name="Observer.php" hash="93e619838275f09033f564a15c462b32"/><dir name="Products"><dir name="Category"><file name="Mapping.php" hash="448ef8c2ab5a6700c1b42abd3762b5f1"/></dir><file name="Category.php" hash="177aae06b7476161a422baa1b5b8374f"/><dir name="Listing"><dir name="Item"><file name="Product.php" hash="497a989792d3113656ab47f803cff0f9"/></dir><file name="Item.php" hash="e75a6c3112fc4aa2bd680c6b0165b12b"/><file name="Log.php" hash="213f2f5286f4a3713bcdd82598df7dfd"/></dir><file name="Listing.php" hash="037991b2173924cc791ae82be50b3485"/></dir><dir name="Resource"><dir name="Api"><dir name="Token"><file name="Collection.php" hash="51992d17b564fcdb718abce2414747eb"/></dir><file name="Token.php" hash="25e5f057c82bb6d392b52266f3811ea9"/></dir><dir name="Products"><dir name="Listing"><file name="Collection.php" hash="c94d554760695abc4a6b945689000de8"/><dir name="Item"><file name="Collection.php" hash="01ea05bfc2f1022b2d992691ef5db2bc"/></dir><file name="Item.php" hash="416ed617dd27b8e8c0758a0b9fb8c772"/><dir name="Log"><file name="Collection.php" hash="f2eebe0149612f2f4bcad4ecfc6832a7"/></dir><file name="Log.php" hash="da8bbef1cd2ddd9c85219079cc9031f2"/></dir><file name="Listing.php" hash="26072a6c3021b2f10505da7134745e88"/></dir><dir name="Rule"><file name="Collection.php" hash="c0b7fd1edbd8f04de226db160d31a257"/></dir><file name="Rule.php" hash="b63218516887316c215293ae6b218b12"/><dir name="Sales"><dir name="Options"><file name="Collection.php" hash="1698f27eb16b0aba54153c3287e9db7d"/></dir><file name="Options.php" hash="9d395a536cf85c1baf7dde67f1d1db77"/><dir name="Transaction"><file name="Collection.php" hash="422a9d85188b164b7de9ce0a9c22c01e"/></dir><file name="Transaction.php" hash="55383dcec4d82916a0dc3c54e90fa0d1"/></dir><dir name="Sync"><file name="Abstract.php" hash="85e1e086f6c76a98418ef0c5ac161f39"/><dir name="Job"><file name="Collection.php" hash="1c56905d1de46ee27d224f8b8da119d5"/><dir name="Listing"><file name="Collection.php" hash="4cdd08535ffe4f9eeebc3c3e3c327e34"/></dir><file name="Listing.php" hash="afa885ade1269a9bdbb9747f6ad3bbf9"/></dir><file name="Job.php" hash="4c2dd8603055fda0b19796fe01fc428e"/></dir></dir><file name="Rule.php" hash="547206351e7b2402c208fd98e321d4d3"/><dir name="Sales"><dir name="Method"><file name="Payment.php" hash="f2a637375d0e8efafa8938af3a1f54e9"/><file name="Shipping.php" hash="51dd4b48adb8c9a658a0c6b0c6e156c0"/></dir><file name="Options.php" hash="3d5117fbc8a2fa156b97c7ce68a18cb6"/><file name="Transaction.php" hash="c2af2e5d450aa454ce71aaa1a9ee8557"/></dir><file name="SplAutoloader.php" hash="bc9cb1855a56db83b8698402787f39ba"/><dir name="Sync"><file name="Abstract.php" hash="c0371fa7a0482830662a903d0f041fc1"/><dir name="Job"><file name="Listing.php" hash="8387ebd4f89d40eff688bb7276521925"/></dir><file name="Job.php" hash="9fd818d7d612dd609b99bc1f1d1f45ac"/></dir><dir name="Validate"><dir name="Products"><file name="Item.php" hash="509fbb6d221959591e3a83f7e31b64ad"/></dir><dir name="Rules"><file name="Methods.php" hash="e2d03b4a3bdd04d0a7911282e92b8bfe"/></dir><dir name="Sales"><file name="Increment.php" hash="00b2c74b940a5e7335fdf0c199cde10d"/></dir></dir></dir><dir name="Test"><dir name="Model"><dir name="Rule"><dir name="Validate"><dir name="expectations"><file name="testPaymentMethodCombinations.yaml" hash="c1070f1ae555a8c32a7761980e589857"/></dir><dir name="providers"><file name="testPaymentMethodCombinations.yaml" hash="0dfd5c1d335e10540607a391b33a9a2c"/></dir></dir><file name="Validate.php" hash="9d369f952bedd01ad64a1014c9e27dca"/></dir><dir name="Sales"><dir name="Validate"><dir name="Increment"><dir name="expectations"><file name="testStartPriceIncrementCombination.yaml" hash="15ffe7bd8373cda25aed179c08171881"/></dir><dir name="providers"><file name="testStartPriceIncrementCombination.yaml" hash="345726c8c358be678a93c38fbff504dc"/></dir></dir><file name="Increment.php" hash="2f8ee9ec5574ae9688a40c4aafd5e045"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AccountController.php" hash="fd601c339bdd79f25092047369be1a49"/><file name="ApiController.php" hash="1bc8739d959318b71010447c4922ad60"/><file name="DashboardController.php" hash="71051cad0c634f3e458a1dd42a5a1eb2"/><file name="IndexController.php" hash="4f56e2f094e4815f0aa20896f2cebef0"/><file name="LogController.php" hash="5cbeae3b75580b6f608f3820b28044b4"/><dir name="Products"><file name="CategoryController.php" hash="3230bd66ea28032d7077d818af686628"/><dir name="Listing"><file name="ItemController.php" hash="2fef6f6a09a150d7ede6f5b11856c514"/></dir><file name="ListingController.php" hash="63d1752bd0d14c6dd6f50bc95107a6c3"/></dir><file name="SupportController.php" hash="50890a85a9d928b3d7d3417a7602e7ab"/><file name="SyncController.php" hash="c4d42be28806ef823d2fec44b9ea4e21"/></dir></dir><dir name="data"><dir name="ricento_setup"><file name="data-install-1.0.0.php" hash="55aaf8155dc995759ffd1f0b30fbdebc"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="e96e002be5f66f94487957bfb799b1a7"/><file name="config.xml" hash="735966a4738b624260ba0bd524aececb"/><file name="jstranslator.xml" hash="2bc1f6e366db7a341ff61e3c99cd1484"/><file name="system.xml" hash="c941345547cfa36b98acb4499bbf4933"/><file name="uninstall.txt" hash="660b44580246f818f8e22f4c5a530c9b"/></dir><dir name="sql"><dir name="ricento_setup"><file name="install-1.0.0.php" hash="365b98c8ebcabad38ecf376d0d0ffa1d"/><file name="uninstall.php" hash="c35f23459d2e9877f6fba74344ec0f13"/><file name="upgrade-1.0.8-1.0.9.php" hash="5bb2647c796fdcc83cf486462b68f47b"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Diglin_Ricento.csv" hash="6ae3a1db77eb5adf391a272cea41fe45"/><dir name="template"><dir name="email"><dir name="ricento"><file name="admin_message.html" hash="40225dc7f1b06dae985c230bc4f3d0b7"/><file name="private_message.html" hash="3b2ea2a457b176194d91aeb54a05bb47"/></dir></dir></dir></dir><dir name="fr_FR"><file name="Diglin_Ricento.csv" hash="617f2b622a4c20c02e0bc9773c6fbf89"/><dir name="template"><dir name="email"><dir name="ricento"><file name="admin_message.html" hash="40225dc7f1b06dae985c230bc4f3d0b7"/><file name="private_message.html" hash="3b2ea2a457b176194d91aeb54a05bb47"/></dir></dir></dir></dir><dir name="de_DE"><file name="Diglin_Ricento.csv" hash="9e7f00782203e5e856ad5c6f0cc9546f"/><dir name="template"><dir name="email"><dir name="ricento"><file name="admin_message.html" hash="40225dc7f1b06dae985c230bc4f3d0b7"/><file name="private_message.html" hash="3b2ea2a457b176194d91aeb54a05bb47"/></dir></dir></dir></dir><dir name="de_CH"><file name="Diglin_Ricento.csv" hash="77556e47a7f2d2d2d7749a16e41fb099"/><dir name="template"><dir name="email"><dir name="ricento"><file name="admin_message.html" hash="40225dc7f1b06dae985c230bc4f3d0b7"/><file name="private_message.html" hash="3b2ea2a457b176194d91aeb54a05bb47"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="ricento"><file name="Countable.js" hash="dc66f2e57b917e39f897f254bcc8ec1b"/><file name="adminhtml.js" hash="bcc6440ab53ba812d8925834b6e8dc90"/><dir name="livepipe-ui"><file name="livepipe.js" hash="d15a0747cdc197a7f7081d5be4f20d01"/><file name="progressbar.js" hash="2153c666af9b91c65111124665cb57f7"/></dir></dir></dir></target><target name="magelib"><dir name="Diglin"><dir name="Ricardo"><file name="Api.php" hash="bd9e1934b4dc688a9769ac393dcf2772"/><dir name="Composer"><file name="Magento.php" hash="5ae2f104bf67b8a98b88e8f77b1a6507"/></dir><file name="Config.php" hash="4c388deb17dd9ab0bac88b9f48b72bb9"/><dir name="Core"><file name="ApiInterface.php" hash="50f48deff14ecc9b84a860148577d254"/><file name="ConfigInterface.php" hash="4c20a5b9501fb1f67ba8f30b9394b49b"/><file name="Helper.php" hash="eff1b9a3329da2e99ef0eeea47345bf7"/></dir><dir name="Enums"><file name="AbstractEnums.php" hash="2ab0ffae9f6a6d28eca38fa5c51eb43c"/><dir name="Article"><file name="ArticlesTypes.php" hash="36034dbfe821a56ce535ecaac67a8ca6"/><file name="CloseListStatus.php" hash="f58b33fac2ff7477db60336995ef8d75"/><file name="InternalReferenceType.php" hash="1de601af4eb7c63b5e8275fd184c0788"/><file name="PromotionCode.php" hash="9a64d93c5bd0401396ef01a3d541a662"/><file name="Warranty.php" hash="530ab807995a8c040461d14d015733ca"/></dir><file name="ArticleErrors.php" hash="6c099cf0331b4069c57bca21f10c56a7"/><dir name="Customer"><file name="ArticleTypeFilter.php" hash="432d52575ae05d23e7b5dd2bbd3d959d"/><file name="OpenArticlesSortBy.php" hash="67b28a232a8741e65663e118210f782a"/><file name="PaidStatusFilter.php" hash="8fe8af18cd1e656f6a72e00f129c31c9"/><file name="ShippedStatusFilter.php" hash="637dee86ee3e74affdc7a3030ffbb9ea"/><file name="SoldArticlesSortBy.php" hash="c71b5ab528c78d5a04cf85f90ba194d1"/></dir><file name="CustomerErrors.php" hash="3e20ef07c8d2640ba7b603dafd0d687a"/><file name="GeneralErrors.php" hash="fc832bf15014e481b5448ae41cdecf7d"/><file name="PaymentMethods.php" hash="88082ee68df61e4934342324103a3beb"/><file name="PictureErrors.php" hash="0f3d3d6994fc14c8e17bf78fc837de09"/><file name="PictureExtension.php" hash="14e0240efdf297cd357e0a125e6199ef"/><file name="SecurityErrors.php" hash="a1589457cb5f87255948f167527337d0"/><dir name="System"><file name="CategoryArticleType.php" hash="4d1f61042c6a38308e670951afffe052"/><file name="CategoryBrandingFilter.php" hash="a69d22acf577970d4f66ae3b83fafe2e"/><file name="LanguageCode.php" hash="0bfeeb41cd02e1d12054fbf9195803ad"/><file name="LanguageId.php" hash="7cd2923825bb2243a7e322150514647d"/></dir></dir><dir name="Exceptions"><file name="ArticleException.php" hash="d93882c3118c4fef4e33a555326f760a"/><file name="CurlException.php" hash="73e161304703e1a3dcb772a73a9a4688"/><file name="CustomerException.php" hash="d87ab7986f06b0c36ba6df31f785a765"/><file name="ExceptionAbstract.php" hash="3ca01773538fba7f523168db78f26539"/><file name="GeneralException.php" hash="a2a35b8341084d39090bd5277e25398f"/><file name="PictureException.php" hash="d34d80cf22cdd49fbb2c39df3a53e8a4"/><file name="SecurityException.php" hash="efe89d07a7d95feb92d76bf2c6b1f07c"/></dir><dir name="Managers"><file name="Customer.php" hash="7e71589a1e87e744339e1d1f4bd22d4f"/><file name="ManagerAbstract.php" hash="a01967622075916539b0d461057f5902"/><file name="ParameterAbstract.php" hash="46644283c9a8fff01c4cd9977e9ee4d5"/><file name="Security.php" hash="32a591063dd86b4d78daf0f1847baef2"/><dir name="Sell"><dir name="Parameter"><file name="AddArticlePicturesParameter.php" hash="2b1d79884d279ae633d03301e1e18b03"/><file name="AppendArticleDescriptionParameter.php" hash="91db44f16669920005549a6d2b83889c"/><file name="AppendDescriptionParameter.php" hash="a7d15430ffe6758608017d14b3ef6f34"/><file name="ArticleDeliveryParameter.php" hash="fdb99e7e1447f6cad0933c02d6b7faf0"/><file name="ArticleDescriptionParameter.php" hash="128ce0d83e76bd6b56d4318bb3e5816d"/><file name="ArticleInformationParameter.php" hash="9471cb4112aef394d1694ee81f462e5c"/><file name="ArticleInternalReferenceParameter.php" hash="d0792d1303ddb6104c8382f312b84d2c"/><file name="ArticlePictureParameter.php" hash="edfb4a30c3d59f5c35462fc541342e74"/><file name="CloseArticleParameter.php" hash="5339d351cdd765ac11a771932ff1d96c"/><file name="CloseArticlesParameter.php" hash="e9450427ec181253213e15d158431219"/><file name="DeletePlannedArticleParameter.php" hash="b656ae4b5c6b1b13b31533a8f81f18aa"/><file name="DeletePlannedArticlesParameter.php" hash="fcdd2cee7059583a51d84a3eaf4055da"/><file name="InsertArticleParameter.php" hash="8adbf3d8685ea81b2db339ec92805b41"/><file name="InsertArticlesParameter.php" hash="230f8270f82001af478b14aef9ec62f3"/><file name="UpdateArticleParameter.php" hash="ec85f19c98b21677f8d66f8058230ee3"/><file name="UpdateArticlePicturesParameter.php" hash="7299e03cb47e030ad279689ae35784be"/></dir></dir><file name="Sell.php" hash="c3a77b18e856634c005c7010c658b582"/><dir name="SellerAccount"><dir name="Parameter"><file name="ArticlesParameter.php" hash="e265ddf4a1bdfb88bdf0c4d2cf51363b"/><file name="ClosedArticlesParameter.php" hash="f96b08b506a8ec4a5d2be3a60c030800"/><file name="OpenArticlesParameter.php" hash="05528888d6e418c0e9dd02db0d978ed1"/><file name="PlannedArticleParameter.php" hash="b1dfaf6793e1b5d38766e6840ce8112b"/><file name="PlannedArticlesParameter.php" hash="db496ae7d7b6c1eaa26311939a74db68"/><file name="SoldArticlesParameter.php" hash="dd7e5df153e32513461d7a8086b0084f"/><file name="UnsoldArticlesParameter.php" hash="9be34df175d2f78d67850d430df3091e"/></dir></dir><file name="SellerAccount.php" hash="05e483863db7d17e05e2c5e7681a37ba"/><file name="System.php" hash="a640022e24e0cf0a6f0db96220c608b1"/></dir><file name="Service.php" hash="9a9ebf44159e9c844f6ddbf23b13f831"/><dir name="Services"><file name="Customer.php" hash="18051871e7dd20c0b99cc528eb8d499c"/><file name="Security.php" hash="3fbb77843da1e1281cca73b605f39f6c"/><file name="Sell.php" hash="dc7b2eff458a053fddbe076c8467dbcb"/><file name="SellerAccount.php" hash="68e924d20a5875575fea950cd96c700a"/><file name="ServiceAbstract.php" hash="4a013eb17d3742933baf850274ec1881"/><file name="System.php" hash="b06eca8e96d1e22d093725fc5a0574ff"/></dir></dir></dir></target></contents>
145
  <compatible/>
146
  <dependencies><required><php><min>5.3.2</min><max>5.6.0</max></php></required></dependencies>
147
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>diglin_ricento</name>
4
+ <version>1.0.15</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
38
  &lt;p&gt;With around 700,000 current offers (auctions and fixed price), 2.5 million brand-name articles on &lt;a href="http://www.ricardoshops"&gt;ricardoshops&lt;/a&gt;.ch, around 100,000 vehicles plus 35,000 parts and accessories on &lt;a href="http://www.autoricardo.ch"&gt;autoricardo.ch&lt;/a&gt; and over 2.3 million members, ricardo.ch is the largest online marketplace in Switzerland. Every three minutes somebody buys an article on &lt;a href="http://www.ricardo.ch"&gt;ricardo.ch&lt;/a&gt; using a mobile device. ricardo.ch AG employs over 140 people in Switzerland and is headquartered in Zug.&lt;/p&gt;&#xD;
39
  &lt;h2&gt;About Diglin&lt;/h2&gt;&#xD;
40
  &lt;p&gt;&lt;a href="http://www.diglin.com"&gt;Diglin&lt;/a&gt; is the Swiss eCommerce Agency per excellence, realizing your eCommerce project with success. It will accompany along the whole life of your eCommerce project at any levels: conception, realization, design, marketing, logistic, data treatment and management, resource optimization, cost efficiency, increase in turnover, etc. Diglin concentrates its activities mainly with the solutions Magento (eCommerce), OroCRM (CRM) and Akeneo (PIM) and work with its partners highly qualified to provide you the best solutions regarding your needs. &lt;/p&gt;</description>
41
+ <notes>## Version 1.0.15&#xD;
42
+ - 8cc97f0 [ENHANCE] Delete old jobs in the SQL way (no collection), speed up the delete and may prevent mysql error&#xD;
43
+ - 571d315 Open new window for a link located into the product list and jumping into ricardo.ch website&#xD;
44
+ - d6be0f1 [BUGFIX] Change the translation string from Ricardo to ricardo.ch&#xD;
45
+ - 195c744 Cosmetic code improvements&#xD;
46
+ - ddd1ff0 Fix an issue with deleting product item from a listing&#xD;
47
+ - 7a71702 Revert deleted xml file to generate magento connect package&#xD;
48
+ - 7fc6abb Update order dispatcher to get error messages&#xD;
49
+ - 6804aba Update Hint.php&#xD;
50
+ &#xD;
51
+ ## Version 1.0.14&#xD;
52
+ - Fix an issue revealed after fixes done in version 1.0.13 related to getting sales options and rules from products listing item during getting new orders&#xD;
53
  &#xD;
54
  ## Version 1.0.13&#xD;
55
+ - Important fix for price products (and sales options &amp; rules in general) when several listing processes running at same time&#xD;
56
  &#xD;
57
  ## Version 1.0.12&#xD;
58
+ - 7485ad0 Prevent Exception while editing product if API problem appear while conditions options&#xD;
59
+ - 2927622 Add translation for frontend, change payment info template&#xD;
60
+ - 29069ea Fix wrong variable name for payment method instruction&#xD;
61
+ - 1738457 add payment block info in frontend area too for email generated from backend&#xD;
62
+ - 259f885 Fix issue with products grid and massaction&#xD;
63
+ - 8d37514 Update readme file&#xD;
64
+ - ea18812 Redirect to edit page if error occur&#xD;
65
+ - 0fe5a3c Implement Bank information display if ricardo.ch payment method Bank transfer is used, Remove the cleanup listing log as it is duplicate with the job cleanup&#xD;
66
+ - 9cd82a8 Change order of the tab display 1) Synchronization 2) Listing Log instead of the opposite&#xD;
67
+ - bc809c0 Fix random security error message on fresh install&#xD;
68
  &#xD;
69
  ## Version 1.0.10&#xD;
70
+ - e2304ab Change the status of an item to stop if the item has not been sold. It will stop the complete list if all items are stopped.&#xD;
71
+ - e2c0676 Set website Id while saving new customer even if store id was also provided to be sure that the user is saved into the correct website&#xD;
72
+ - 0d01b4a Fix missing log url in message&#xD;
73
+ - ff1005c Skip required option when creating an order, also for custom option&#xD;
74
+ - 9b48ef6 Fix missing home number&#xD;
75
  &#xD;
76
  ## Version 1.0.9&#xD;
77
  - Fix issue with some optional API property set to 0 (like template Id)&#xD;
89
  - 4d38ed3 Make the option Schedule Reactivation "Until Sold" better explicit and working&#xD;
90
  - 03bc9cd Update code documentation&#xD;
91
  - 658c9f6 In some cases, picture's extension is not recognized so change the logic to determine if it exists or not Catch Exception and log them in cron class&#xD;
92
+ &#xD;
93
  ## Version 1.0.8&#xD;
94
  - b5f1afa Update translations file&#xD;
95
  - c0d3fbb Fix issue with dispatcher and completed status&#xD;
147
  - 880dbfd Fix issue if API not yet configured and Product Edit Page is requested from the backend&#xD;
148
  - 5841d06 Update gitsubmodule (replace bitbucket with github)&#xD;
149
  - be2b77a Update readme file&#xD;
150
+ - 9384e3c Update doc</notes>
 
151
  <authors><author><name>diglin</name><user>diglin</user><email>sly@diglin.com</email></author></authors>
152
+ <date>2015-01-28</date>
153
+ <time>23:17:21</time>
154
+ <contents><target name="mageetc"><dir name="modules"><file name="Diglin_Ricento.xml" hash="a86e2b01a2299f2bbb2be1f53ac2e67c"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="ricento.xml" hash="c1b82328c179fae58ba58f100e9c8492"/></dir><dir name="template"><dir name="ricento"><dir name="dashboard"><file name="account.phtml" hash="cbbb371ec1f0887422d566b58468fd8d"/><file name="bestsellers.phtml" hash="f57552ae07eb4a76c60d7c1c5f310925"/><file name="lifeturnover.phtml" hash="349fb44e8e299fcedbd6bff3695c4d13"/><file name="news.phtml" hash="bfea8d5c2703f5df8e9b3d7fbe469fb7"/><file name="toolbar.phtml" hash="ff0de2dcf1f1477c358847cffe4e5606"/><dir name="turnover"><file name="graph.phtml" hash="b2e71dbe5066c7bbc2ab770fa3b22000"/></dir><file name="turnover.phtml" hash="18760c73f322091aa7c41d536dc0455a"/></dir><file name="dashboard.phtml" hash="c727260087d512a80c1536b565de76b6"/><file name="iframe.phtml" hash="caf1e6f5d93a40f907f8563bc39ed2a8"/><dir name="js"><dir name="rules"><dir name="validate"><file name="paymentshipping.phtml" hash="4b74753a7661daf4c198a5f92950574f"/></dir></dir><dir name="salesoptions"><dir name="validate"><file name="increment.phtml" hash="7cf5b3bfb2f89a5513f9bc99d640039a"/></dir></dir><dir name="sync"><file name="progress.phtml" hash="bc384c157f7bb197b4b5604fda92e142"/></dir></dir><file name="log.phtml" hash="f60232e3277e2db2ca5d1d7849335961"/><dir name="notifications"><file name="configured.phtml" hash="0356ae8947fb0533179b4315f184bfd0"/><file name="expiration.phtml" hash="a67a026879d7442d5ded273860342a60"/></dir><dir name="payment"><dir name="info"><file name="default.phtml" hash="c1d4e98ba0bf30f501116b923d6d1d01"/><dir name="pdf"><file name="default.phtml" hash="4d6bc784f0ebaccee18fd1d761020025"/></dir></dir></dir><dir name="products"><dir name="category"><file name="children.phtml" hash="fe7c8df894f6f60f5ac2b3b789e748d4"/><file name="mapping.phtml" hash="2801c64d3b5784998204fbcf2125baf2"/></dir><dir name="listing"><dir name="item"><dir name="edit"><file name="form.phtml" hash="87a048b7da1b45b434e8922b11853bdd"/></dir><file name="preview.phtml" hash="eddde5ab418c1e3f147e048b40819992"/></dir></dir></dir><file name="support.phtml" hash="1880a730faf40f0cb5c9bbffcd8ca684"/><dir name="sync"><dir name="check"><file name="popup.phtml" hash="1e5594870fd56a62b56be99f1d18efd3"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ricento"><dir name="payment"><dir name="info"><file name="default.phtml" hash="c1d4e98ba0bf30f501116b923d6d1d01"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="ricento"><dir name="css"><dir name="images"><file name="ajax-loader.gif" hash="73e57937304d89f251e7e540a24b095a"/><file name="arrow_sans_right_32.gif" hash="276b86bab75976c98e3c5202916d927a"/><file name="monotone_check_yes_ok.png" hash="b7b1d4c572e0c2ed10435a802549ae64"/><file name="ricardo_16x16.png" hash="5987591334d1b58f66ae4db2683fa8fd"/><file name="ricardo_32x32.png" hash="0635c69692c26a4bd4707a91336d9b3b"/><file name="settings_icon.png" hash="4bdae9a6199655027b8b8aeee8f80ce4"/><file name="warning_msg_icon.gif" hash="4cf6ec7f59ab09f9c18b3a4301714c6d"/><file name="window_maximize.png" hash="0f9c031e141822fed135270e34b128d5"/><file name="window_minimize.png" hash="62e6795471543a0eff14a07bf271d8d7"/></dir><file name="ricento.css" hash="c714e583ec2cca702f1d660258351c74"/></dir><dir name="images"><file name="KB.png" hash="187e953f8ebf9fe5829ec31427ff853b"/><file name="contact.png" hash="85ed8d8113a897128ab1263e23b69dbb"/><file name="diglin.png" hash="cb24b7fec64fd8f906375d497b7e5e0f"/><file name="diglin@2x.png" hash="0e834d7839f61e789db16c028100b6ff"/><file name="online-support-48.png" hash="70f55fb3bc678875eaf53dfb214d7d3d"/><file name="ricardo.png" hash="21beeb511cf31d16ebc6b9d947806447"/><file name="ricardo@2x.png" hash="af83978f369def1e4e87fc06e4903c61"/><file name="settings-13-48.png" hash="3dc22c1da4f952687699e5fc23028232"/><file name="sinchronize-48.png" hash="15735cf3ca563303d9e981faba075750"/><file name="statistics-48.png" hash="38046c16959de9ee22b1679d4ddf3909"/><file name="view-details-48.png" hash="a8bbab2e728f1723e9e17dce5f939b22"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Diglin"><dir name="Ricento"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Source"><file name="Heading.php" hash="08bfec7a2b10f7d0ac093fde65376088"/><file name="Hint.php" hash="3f098b83c4526393d42013ffba77fcf8"/></dir></dir><dir name="Dashboard"><file name="Account.php" hash="35f9c924a368fe89988551949edfce2a"/><file name="Bestsellers.php" hash="7c2141de8e0b5c96bd1f980c7bfd3c0d"/><file name="Lifetime.php" hash="03bd7fb6cc59dac28d1e8171a8b663fb"/><file name="News.php" hash="6ee052d661649e532b9d1ca4678a572a"/><file name="Turnover.php" hash="599befc82193fe3c0d8bf40235573b35"/></dir><dir name="Form"><dir name="Element"><dir name="Checkboxes"><file name="Extensible.php" hash="ffb747148d40df54d9fa3fa816a39400"/></dir><dir name="Fieldset"><file name="Inline.php" hash="fdc4b3558f283e64dc93ca7fc19b6649"/></dir><dir name="Radios"><file name="Extensible.php" hash="c9ad2029c98e44564f61c7e93a5b86a6"/></dir></dir></dir><dir name="Log"><file name="Tabs.php" hash="c2f6cc390e147cf9c3d34590cfb6e8fb"/></dir><file name="Log.php" hash="314ce9d39c222b31fcd31d7967332956"/><dir name="Notifications"><file name="Default.php" hash="726bbe880cc3fced92026e3fe9de52cd"/><file name="Expiration.php" hash="04c49b5ebd58f1671f212daa8fea9d3d"/></dir><dir name="Page"><file name="Menu.php" hash="309a5b5f61b865eed6115292a1ba8408"/></dir><dir name="Products"><dir name="Category"><file name="Children.php" hash="4af63f515a1c722e746db4cb025f56ec"/><dir name="Form"><dir name="Renderer"><file name="Categories.php" hash="f743907976f85721289206db1ce867e4"/><file name="Mapping.php" hash="e7d3043e2df114e2fe0da3df56c090c7"/></dir></dir><file name="Mapping.php" hash="0992362283c3561f8f2853149966b539"/><dir name="Tree"><file name="Categories.php" hash="a6bd451c4d6c5a98169a80839cda1066"/><file name="Form.php" hash="fca0061ce0a1e8ab09cd59b8483b9339"/></dir><file name="Tree.php" hash="a8e8d92a06cba9841a10ed3601eefea6"/></dir><dir name="Listing"><dir name="Edit"><file name="Form.php" hash="c221dbbf901ad4b94567a7f20abac341"/><dir name="Tabs"><file name="General.php" hash="66fc6693de1118bbff1c71fd434d4621"/><dir name="Products"><file name="Add.php" hash="1c56ae17350862a716e08d0d90a8c2c6"/><file name="Massaction.php" hash="95eaac9d08a05a4e7c801b2af0918897"/><dir name="Renderer"><file name="Article.php" hash="6b71dd28b3cd47fc33dc262aa699be21"/><file name="Configured.php" hash="752384f9403d947710ca200e3033315d"/><file name="Customoptions.php" hash="1528f1ece06428ecae827463db2e43ac"/><file name="Inventory.php" hash="f8b93de58674e27b3f41ade861973332"/><file name="Name.php" hash="df67409ce61c7b0db64afbf72cbb9dcd"/><file name="Status.php" hash="1b0d3a7fffde53b529e46778acc1ca79"/></dir></dir><file name="Products.php" hash="f201f3f7e3c13a6f897eea197ae23430"/><file name="Rules.php" hash="2e8ecfebc9273e462981f98dbc5fa324"/><file name="Selloptions.php" hash="19ad6cfddb7684c8803f1c4e89a8587c"/></dir><file name="Tabs.php" hash="2c32080a6452c787ee425970ae20b4ec"/></dir><file name="Edit.php" hash="2ae88e5e2370ca022e3527458a0480f6"/><dir name="Form"><file name="Abstract.php" hash="7f3cfbb2f2e2d5f2f5b93aae7f4cb863"/></dir><dir name="Grid"><dir name="Renderer"><file name="Status.php" hash="d46908619652be3858d11d6c1bbf6829"/><file name="Total.php" hash="f36fa67a80cc6cf21827ad6ec56c0e0f"/></dir></dir><file name="Grid.php" hash="35d5b0bef35a6bf24a8eebb01be3ef3f"/><dir name="Item"><dir name="Edit"><file name="Form.php" hash="8126675b354e5db8b3c87719a3e3f14a"/><dir name="Tabs"><file name="Rules.php" hash="a3529886f663e7ff5997e12dbcb3c0d1"/><file name="Selloptions.php" hash="371f56454019bd9c367283647a826575"/></dir><file name="Tabs.php" hash="ee77e446bf1ecd743248373f3ce0423d"/></dir><file name="Edit.php" hash="344f46df840b4d7a9986708fa27439de"/><file name="Preview.php" hash="bc0367dd7ef6b6e07ec8c45af3829cd6"/></dir><dir name="Log"><file name="Grid.php" hash="4d48ec10eff2ec85157103817e6c836f"/></dir><file name="Log.php" hash="faa3d6f967a81979971dfb1adc1983a9"/><dir name="New"><file name="Form.php" hash="33ba643084f9ecea6410f4eec4e09d56"/></dir><file name="New.php" hash="756ccaf1d944562504dadc9ca46db8d7"/></dir><file name="Listing.php" hash="cf27b8ad9d2cd31d5bb334be4a2a08e0"/></dir><dir name="Sync"><dir name="Log"><dir name="Grid"><dir name="Renderer"><file name="Progress.php" hash="c2334533853a0e7b671981d65d71be5c"/><file name="Title.php" hash="dc6ccd1225f015e971c672b0e1809f8f"/></dir></dir><file name="Grid.php" hash="bdddd85b20194062adc38ecb425b6ccc"/></dir></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Button.php" hash="1bb855e3f7fea3a563480360d5cc3c75"/></dir></dir></dir></dir></dir><dir name="Payment"><file name="Info.php" hash="506632bcf1c329b764c508872573b425"/></dir></dir><dir name="Controller"><dir name="Adminhtml"><file name="Action.php" hash="57c677fd84a8093e2c877a678baa8195"/><dir name="Products"><file name="Listing.php" hash="cd1e5fbd6434a7c85f956f26e0253c57"/></dir></dir></dir><file name="Exception.php" hash="14ed2052208b67845a908677c064abb1"/><dir name="Helper"><file name="Api.php" hash="5dbd8a731c8fdfdabb77a4126cb82931"/><dir name="Dashboard"><file name="Turnover.php" hash="2412ced6939a78c9fbffcb9b73863551"/></dir><file name="Data.php" hash="4a0a48a55f796693de6c87ffe457c528"/><file name="Price.php" hash="bf57d4ee942825cc7bf5102b9896e7db"/><file name="Tools.php" hash="ee9f03491e70d15d34b57fd02dbe8004"/></dir><dir name="Model"><dir name="Api"><dir name="Services"><file name="Abstract.php" hash="d602f7cb37216de6e571bd7f3c483e71"/><file name="Customer.php" hash="ef947fdcc2ed93fc32847386c45eaa26"/><file name="Security.php" hash="875bbd67f05efd34474f3a3b36fa31e8"/><file name="Sell.php" hash="b315e0360002e31de4e038d9ab978df7"/><file name="Selleraccount.php" hash="c4d8346f84fa02b756190c484ffa58bf"/><file name="System.php" hash="fbf16e64ad7b435e1e6d7bdae6e24d78"/></dir><file name="Token.php" hash="d21221d3d3a32bca4ebeed03cfe442e5"/></dir><dir name="Config"><dir name="Source"><file name="Abstract.php" hash="d633868d1927b3a9014ed3dcfbfd1999"/><file name="Categories.php" hash="6b17c67f90ec63b9f3be7f9843740dca"/><file name="Languages.php" hash="014852a76af2dee1a7337dbf9f493b85"/><dir name="Products"><dir name="Listing"><file name="Log.php" hash="146dfc2c14e8a3a86e01d164126cb4b2"/><file name="Status.php" hash="a3f2771923122051a408443f843d6528"/></dir></dir><dir name="Rules"><file name="Payment.php" hash="b6e01b940a147482aaffb328faf34b95"/><dir name="Shipping"><file name="Availability.php" hash="45207d4f2178550378a51f7ff7fd3e49"/><file name="Calculation.php" hash="10222fd3941506e2b3828797d6aa1f9d"/><file name="Packages.php" hash="7f994b97c678dfb20fde6725124e2acc"/></dir><file name="Shipping.php" hash="eec3b38d9cfe649a17092a2b5a1098d1"/></dir><dir name="Sales"><file name="Currency.php" hash="bbe5bcd94ed0f0bb7c5ded58f13ec457"/><file name="Days.php" hash="f5b51b4710d51265e815d048e5ef9edc"/><dir name="Order"><file name="Status.php" hash="a1ea817067ed8f1c4d178f7a6dd5b3b0"/></dir><dir name="Price"><file name="Method.php" hash="bb9985ba73579b5bd8aa94f9222d51fc"/><file name="Source.php" hash="9b752e09a0f72ce6127171cabb2290c1"/></dir><dir name="Product"><dir name="Condition"><file name="Source.php" hash="e448f60cd3124c09f299bd8ef9168fa0"/></dir><file name="Condition.php" hash="96e0ec65f1b10170284719922ae84bff"/></dir><file name="Promotion.php" hash="f89dab74f940fbd5e28e27f63a5c1064"/><file name="Reactivation.php" hash="e5e2ef320bf6f752b01f9407b1e02dae"/><file name="Template.php" hash="f4a307a49f48ff8ec4b2358bddf2242e"/><file name="Type.php" hash="07c4b022b55806d75ffe742ea4ea16f7"/><file name="Warranty.php" hash="da1985c05eb6aca67c153f23fe27ddaa"/></dir><file name="Status.php" hash="1b1fcb6cfc9dc71afe164d9557b5e84c"/><file name="Store.php" hash="640451943c245fee5ba5fd777b670c95"/><dir name="Sync"><file name="Progress.php" hash="51c7f312d30a1527cb2706a1006605b0"/><file name="Status.php" hash="b5be2dc9a11875746d2356d773db354f"/><file name="Type.php" hash="5950c0f75d201fd1d09c4fd5c5656b20"/></dir><file name="Website.php" hash="0fcb2be469c740658f7eacbf2af47a7b"/></dir></dir><file name="Cron.php" hash="a4cc7242820b826d560bae78aa6e5b60"/><dir name="Dispatcher"><file name="Abstract.php" hash="1d69d6b87f61f36152ce38503920707d"/><dir name="Check"><file name="List.php" hash="0b1fda4f5390f41c4e53fa81a316bfdc"/></dir><file name="List.php" hash="bbd329613819a10ad0d09c7e6ddc9066"/><file name="Order.php" hash="c677547e4b750695569957042b30c0f1"/><file name="Relist.php" hash="6de5133b423023dd909df746291773e2"/><file name="Stop.php" hash="ff2a79fa58af07345db28eb6043d9afd"/><dir name="Sync"><file name="List.php" hash="74c96c13baadeebdc8a1c1badeb27b6f"/></dir></dir><file name="Dispatcher.php" hash="280b437329ae21c21c7616779692cdea"/><dir name="Entity"><dir name="Attribute"><dir name="Source"><file name="Conditions.php" hash="d80e42261c1597130d6f3741bf7b993f"/></dir></dir></dir><file name="Filter.php" hash="febacb31efaa37f0e99b1797bab8afbf"/><file name="Observer.php" hash="93e619838275f09033f564a15c462b32"/><dir name="Products"><dir name="Category"><file name="Mapping.php" hash="448ef8c2ab5a6700c1b42abd3762b5f1"/></dir><file name="Category.php" hash="177aae06b7476161a422baa1b5b8374f"/><dir name="Listing"><dir name="Item"><file name="Product.php" hash="497a989792d3113656ab47f803cff0f9"/></dir><file name="Item.php" hash="e75a6c3112fc4aa2bd680c6b0165b12b"/><file name="Log.php" hash="213f2f5286f4a3713bcdd82598df7dfd"/></dir><file name="Listing.php" hash="a63586823497b0885d783f9c8a0ae284"/></dir><dir name="Resource"><dir name="Api"><dir name="Token"><file name="Collection.php" hash="51992d17b564fcdb718abce2414747eb"/></dir><file name="Token.php" hash="25e5f057c82bb6d392b52266f3811ea9"/></dir><dir name="Products"><dir name="Listing"><file name="Collection.php" hash="c94d554760695abc4a6b945689000de8"/><dir name="Item"><file name="Collection.php" hash="01ea05bfc2f1022b2d992691ef5db2bc"/></dir><file name="Item.php" hash="416ed617dd27b8e8c0758a0b9fb8c772"/><dir name="Log"><file name="Collection.php" hash="f2eebe0149612f2f4bcad4ecfc6832a7"/></dir><file name="Log.php" hash="da8bbef1cd2ddd9c85219079cc9031f2"/></dir><file name="Listing.php" hash="26072a6c3021b2f10505da7134745e88"/></dir><dir name="Rule"><file name="Collection.php" hash="c0b7fd1edbd8f04de226db160d31a257"/></dir><file name="Rule.php" hash="b63218516887316c215293ae6b218b12"/><dir name="Sales"><dir name="Options"><file name="Collection.php" hash="1698f27eb16b0aba54153c3287e9db7d"/></dir><file name="Options.php" hash="9d395a536cf85c1baf7dde67f1d1db77"/><dir name="Transaction"><file name="Collection.php" hash="422a9d85188b164b7de9ce0a9c22c01e"/></dir><file name="Transaction.php" hash="55383dcec4d82916a0dc3c54e90fa0d1"/></dir><dir name="Sync"><file name="Abstract.php" hash="85e1e086f6c76a98418ef0c5ac161f39"/><dir name="Job"><file name="Collection.php" hash="1c56905d1de46ee27d224f8b8da119d5"/><dir name="Listing"><file name="Collection.php" hash="4cdd08535ffe4f9eeebc3c3e3c327e34"/></dir><file name="Listing.php" hash="afa885ade1269a9bdbb9747f6ad3bbf9"/></dir><file name="Job.php" hash="4c2dd8603055fda0b19796fe01fc428e"/></dir></dir><file name="Rule.php" hash="547206351e7b2402c208fd98e321d4d3"/><dir name="Sales"><dir name="Method"><file name="Payment.php" hash="f2a637375d0e8efafa8938af3a1f54e9"/><file name="Shipping.php" hash="51dd4b48adb8c9a658a0c6b0c6e156c0"/></dir><file name="Options.php" hash="3d5117fbc8a2fa156b97c7ce68a18cb6"/><file name="Transaction.php" hash="c2af2e5d450aa454ce71aaa1a9ee8557"/></dir><file name="SplAutoloader.php" hash="bc9cb1855a56db83b8698402787f39ba"/><dir name="Sync"><file name="Abstract.php" hash="c0371fa7a0482830662a903d0f041fc1"/><dir name="Job"><file name="Listing.php" hash="8387ebd4f89d40eff688bb7276521925"/></dir><file name="Job.php" hash="9fd818d7d612dd609b99bc1f1d1f45ac"/></dir><dir name="Validate"><dir name="Products"><file name="Item.php" hash="509fbb6d221959591e3a83f7e31b64ad"/></dir><dir name="Rules"><file name="Methods.php" hash="e2d03b4a3bdd04d0a7911282e92b8bfe"/></dir><dir name="Sales"><file name="Increment.php" hash="00b2c74b940a5e7335fdf0c199cde10d"/></dir></dir><file name=".DS_Store" hash="6c934be8ac18813ba4aef0df4b5604db"/></dir><dir name="Test"><dir name="Model"><dir name="Rule"><dir name="Validate"><dir name="expectations"><file name="testPaymentMethodCombinations.yaml" hash="c1070f1ae555a8c32a7761980e589857"/></dir><dir name="providers"><file name="testPaymentMethodCombinations.yaml" hash="0dfd5c1d335e10540607a391b33a9a2c"/></dir></dir><file name="Validate.php" hash="9d369f952bedd01ad64a1014c9e27dca"/></dir><dir name="Sales"><dir name="Validate"><dir name="Increment"><dir name="expectations"><file name="testStartPriceIncrementCombination.yaml" hash="15ffe7bd8373cda25aed179c08171881"/></dir><dir name="providers"><file name="testStartPriceIncrementCombination.yaml" hash="345726c8c358be678a93c38fbff504dc"/></dir></dir><file name="Increment.php" hash="2f8ee9ec5574ae9688a40c4aafd5e045"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AccountController.php" hash="fd601c339bdd79f25092047369be1a49"/><file name="ApiController.php" hash="1bc8739d959318b71010447c4922ad60"/><file name="DashboardController.php" hash="71051cad0c634f3e458a1dd42a5a1eb2"/><file name="IndexController.php" hash="4f56e2f094e4815f0aa20896f2cebef0"/><file name="LogController.php" hash="5cbeae3b75580b6f608f3820b28044b4"/><dir name="Products"><file name="CategoryController.php" hash="3230bd66ea28032d7077d818af686628"/><dir name="Listing"><file name="ItemController.php" hash="2fef6f6a09a150d7ede6f5b11856c514"/></dir><file name="ListingController.php" hash="78881c3389e73e071508242160a31d80"/></dir><file name="SupportController.php" hash="50890a85a9d928b3d7d3417a7602e7ab"/><file name="SyncController.php" hash="c4d42be28806ef823d2fec44b9ea4e21"/></dir></dir><dir name="data"><dir name="ricento_setup"><file name="data-install-1.0.0.php" hash="55aaf8155dc995759ffd1f0b30fbdebc"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="e96e002be5f66f94487957bfb799b1a7"/><file name="config.xml" hash="735966a4738b624260ba0bd524aececb"/><file name="jstranslator.xml" hash="2bc1f6e366db7a341ff61e3c99cd1484"/><file name="system.xml" hash="c941345547cfa36b98acb4499bbf4933"/><file name="uninstall.txt" hash="660b44580246f818f8e22f4c5a530c9b"/></dir><dir name="sql"><dir name="ricento_setup"><file name="install-1.0.0.php" hash="922a83929b1ea4102c1699b140389732"/><file name="uninstall.php" hash="c35f23459d2e9877f6fba74344ec0f13"/><file name="upgrade-1.0.8-1.0.9.php" hash="5bb2647c796fdcc83cf486462b68f47b"/></dir></dir><file name=".DS_Store" hash="81bea160bf906aaa7721a83a89727a76"/></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Diglin_Ricento.csv" hash="d618a7087272b32947dfe96548386b35"/><dir name="template"><dir name="email"><dir name="ricento"><file name="admin_message.html" hash="40225dc7f1b06dae985c230bc4f3d0b7"/><file name="private_message.html" hash="3b2ea2a457b176194d91aeb54a05bb47"/></dir></dir></dir></dir><dir name="fr_FR"><file name="Diglin_Ricento.csv" hash="0025cff69d4841fe77257b70feb63965"/><dir name="template"><dir name="email"><dir name="ricento"><file name="admin_message.html" hash="40225dc7f1b06dae985c230bc4f3d0b7"/><file name="private_message.html" hash="3b2ea2a457b176194d91aeb54a05bb47"/></dir></dir></dir></dir><dir name="de_DE"><file name="Diglin_Ricento.csv" hash="47e171f9d2a9ba1b64e21c7f27a24f2e"/><dir name="template"><dir name="email"><dir name="ricento"><file name="admin_message.html" hash="40225dc7f1b06dae985c230bc4f3d0b7"/><file name="private_message.html" hash="3b2ea2a457b176194d91aeb54a05bb47"/></dir></dir></dir></dir><dir name="de_CH"><file name="Diglin_Ricento.csv" hash="b11c75fa23b6bcfa1d2017b5bbd980cb"/><dir name="template"><dir name="email"><dir name="ricento"><file name="admin_message.html" hash="40225dc7f1b06dae985c230bc4f3d0b7"/><file name="private_message.html" hash="3b2ea2a457b176194d91aeb54a05bb47"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="ricento"><file name="Countable.js" hash="dc66f2e57b917e39f897f254bcc8ec1b"/><file name="adminhtml.js" hash="bcc6440ab53ba812d8925834b6e8dc90"/><dir name="livepipe-ui"><file name="livepipe.js" hash="d15a0747cdc197a7f7081d5be4f20d01"/><file name="progressbar.js" hash="2153c666af9b91c65111124665cb57f7"/></dir></dir></dir></target><target name="magelib"><dir name="Diglin"><dir name="Ricardo"><file name="Api.php" hash="9dc28851bfba08935d0f8c8815bd403b"/><dir name="Composer"><file name="Magento.php" hash="e3e5dd4afabd641b5d1c310646515068"/></dir><file name="Config.php" hash="63c6d6673a8dafd40c461564fef10c80"/><dir name="Core"><file name="ApiInterface.php" hash="8eec9064a7f28a9a90189d860dcf847c"/><file name="ConfigInterface.php" hash="7c583ee209e0f3526d4a5ffc764d4bfc"/><file name="Helper.php" hash="58cf64a9b5564e89eddfb10aa2d8d805"/></dir><dir name="Enums"><file name="AbstractEnums.php" hash="413d83c41b0f85e735583c4af9e14451"/><dir name="Article"><file name="ArticlesTypes.php" hash="1c3e6013df410920afb1ce18b4d44100"/><file name="CloseListStatus.php" hash="775d363a39f330deebd72fb5ae70f30d"/><file name="InternalReferenceType.php" hash="c2a4f057cd869c0f7ee330dd10e21d34"/><file name="PromotionCode.php" hash="74fa6ec79e5c122362e0d49b60700193"/><file name="Warranty.php" hash="779440941f43281f8f7d1214927c0973"/></dir><file name="ArticleErrors.php" hash="c8c8a66833900d650c61b8591315afbb"/><dir name="Customer"><file name="ArticleTypeFilter.php" hash="f3bc378f9f35637413cf3a311de0a726"/><file name="OpenArticlesSortBy.php" hash="23e287d0f1b96628a8da3f2c7f8997a3"/><file name="PaidStatusFilter.php" hash="664e1564a93bb96cff1804efe29511fc"/><file name="ShippedStatusFilter.php" hash="8a9762e921c31c809cac8e5937f0d5df"/><file name="SoldArticlesSortBy.php" hash="85af42ab4d27ffb60e92bf6f93caf419"/></dir><file name="CustomerErrors.php" hash="bdc59b2fb2bad58d39c4ced09b9fce65"/><file name="GeneralErrors.php" hash="9744c53fbe49834b720dd0d5de3cff76"/><file name="PaymentMethods.php" hash="41b0b991e4263811112ad45ded6e56cd"/><file name="PictureErrors.php" hash="8fa91cdcec9deae1b8f94f6ae3d31397"/><file name="PictureExtension.php" hash="14e0240efdf297cd357e0a125e6199ef"/><file name="SecurityErrors.php" hash="258c4c170439520f0adbf985dd42320e"/><dir name="System"><file name="CategoryArticleType.php" hash="0e98fa7a1981dde9d5e445b5b345f652"/><file name="CategoryBrandingFilter.php" hash="b68487f9b210549effed72122e27436a"/><file name="LanguageCode.php" hash="066df2799e55130696721fb1cdb4b7b4"/><file name="LanguageId.php" hash="7cd2923825bb2243a7e322150514647d"/></dir></dir><dir name="Exceptions"><file name="ArticleException.php" hash="6fbeef6871a371205daab1348009fa0a"/><file name="CurlException.php" hash="e143f27727587ab5e71be7b1161d6f65"/><file name="CustomerException.php" hash="e8b3a7012d0eac6ee3d4c233269ff326"/><file name="ExceptionAbstract.php" hash="441ba3753cad2f441e88fa2922607ece"/><file name="GeneralException.php" hash="f2c4759218a37e1be3d2e556529f8183"/><file name="PictureException.php" hash="879c6a9936797ca5d986dd2084919f84"/><file name="SecurityException.php" hash="852fb2b0ccba435be31bcab41d77d842"/></dir><dir name="Managers"><file name="Customer.php" hash="e67d017d747539bb27c904851e19c0bb"/><file name="ManagerAbstract.php" hash="d7bd1dab8f59de2315b5165e3802894b"/><file name="ParameterAbstract.php" hash="24cf4c999468effac19504a79f71dcd3"/><file name="Security.php" hash="2dd859f27f22776f1c937f24b0c1ae79"/><dir name="Sell"><dir name="Parameter"><file name="AddArticlePicturesParameter.php" hash="cacbf13e8d3abbe9149a3d753dfe9aba"/><file name="AppendArticleDescriptionParameter.php" hash="e3f72380384bd4afd1365434462de981"/><file name="AppendDescriptionParameter.php" hash="4e531996abf0ea235a95fb1752743394"/><file name="ArticleDeliveryParameter.php" hash="79cca4ca483f31772e7e5e1596df47ef"/><file name="ArticleDescriptionParameter.php" hash="fb609cd3bf79e51c643f026828556db2"/><file name="ArticleInformationParameter.php" hash="9722e0a255a92862c430ee53599ee560"/><file name="ArticleInternalReferenceParameter.php" hash="7d90b3e4bfe89ed5e0f2588516ad9884"/><file name="ArticlePictureParameter.php" hash="41c96f15f8a475fce7ccb7e2b14b610a"/><file name="CloseArticleParameter.php" hash="8cb9a63f94bb3996f90e434ecc0268a9"/><file name="CloseArticlesParameter.php" hash="ed0132626227965ae51c6d06b5a58b4b"/><file name="DeletePlannedArticleParameter.php" hash="09189fc8cdb7b8f26b1cf83f6e2a104f"/><file name="DeletePlannedArticlesParameter.php" hash="3adafbf86920601d96d7f7beaf37d4cb"/><file name="InsertArticleParameter.php" hash="fe060a8a7b6ab912919e84224400a3aa"/><file name="InsertArticlesParameter.php" hash="7a306f048361819a7549e2e19ee7cfe6"/><file name="UpdateArticleParameter.php" hash="97f32c75862b5fb2ead77ef28d097115"/><file name="UpdateArticlePicturesParameter.php" hash="420ef8f29435333a3c4d8f5f6af31254"/></dir></dir><file name="Sell.php" hash="06d9a30a389ed140737dea2587836da8"/><dir name="SellerAccount"><dir name="Parameter"><file name="ArticlesParameter.php" hash="c87fc3ff7a341c533ae3329660f15038"/><file name="ClosedArticlesParameter.php" hash="8692721e78825c6c4e0af390e567d20a"/><file name="OpenArticlesParameter.php" hash="137fdb2fe645acfddb4711eb4a140555"/><file name="PlannedArticleParameter.php" hash="c19a95ebbaddc699bcd6799e2dc5173f"/><file name="PlannedArticlesParameter.php" hash="ea0f011cef8ed8bd87d26b4f6aa33acc"/><file name="SoldArticlesParameter.php" hash="594545257c753840018cad621ec88895"/><file name="UnsoldArticlesParameter.php" hash="9b6535a2651b7ff847a1d0c3894767fd"/></dir></dir><file name="SellerAccount.php" hash="374d784cecd08b3412e22a912d8fc539"/><file name="System.php" hash="b9e4dbd877706d85c3d7fa7233500a63"/></dir><file name="Service.php" hash="ed70f588036348ad5c3bdc00b5289dfc"/><dir name="Services"><file name="Customer.php" hash="59687808b11b7882dc22120dc4978226"/><file name="Security.php" hash="9fe80bc52116998b9339cecf9f9dd48d"/><file name="Sell.php" hash="18813682994b14979841f865848a21f9"/><file name="SellerAccount.php" hash="0af243f9ba595c57a5711d34a70a43a8"/><file name="ServiceAbstract.php" hash="c0e9db727559003edf276f9baa4b94be"/><file name="System.php" hash="e2729c457d93e3727360fee3596db17f"/></dir></dir></dir></target></contents>
155
  <compatible/>
156
  <dependencies><required><php><min>5.3.2</min><max>5.6.0</max></php></required></dependencies>
157
  </package>