Example #1
0
 protected function processResponseData($response)
 {
     $response = parent::processResponseData($response);
     try {
         /** @var $updatingModel Ess_M2ePro_Model_Ebay_Listing_Other_Updating */
         $updatingModel = Mage::getModel('M2ePro/Ebay_Listing_Other_Updating');
         $updatingModel->initialize($this->getAccount());
         $updatingModel->processResponseData($response);
     } catch (Exception $exception) {
         Mage::helper('M2ePro/Module_Exception')->process($exception);
         $this->getSynchronizationLog()->addMessage(Mage::helper('M2ePro')->__($exception->getMessage()), Ess_M2ePro_Model_Log_Abstract::TYPE_ERROR, Ess_M2ePro_Model_Log_Abstract::PRIORITY_HIGH);
     }
 }
Example #2
0
 public function eventFailedExecuting($message)
 {
     parent::eventFailedExecuting($message);
     $this->getSynchronizationLog()->addMessage(Mage::helper('M2ePro')->__($message), Ess_M2ePro_Model_Log_Abstract::TYPE_ERROR, Ess_M2ePro_Model_Log_Abstract::PRIORITY_HIGH);
 }