/**
  * Delete item globally
  *
  * @param integer $objectId
  * @param integer $moduleId
  * @return boolean|string
  */
 public function deleteItemGlobally($objectId, $moduleId)
 {
     try {
         $this->adapter->getDriver()->getConnection()->beginTransaction();
         // delete the item from shopping cart
         $delete = $this->delete()->from('payment_shopping_cart')->where(['object_id' => $objectId, 'module' => $moduleId]);
         $statement = $this->prepareStatementForSqlObject($delete);
         $statement->execute();
         // delete the item from not paid transactions items
         $delete = $this->delete()->from('payment_transaction_item')->where(['object_id' => $objectId, 'module' => $moduleId, 'paid' => self::TRANSACTION_NOT_PAID]);
         $statement = $this->prepareStatementForSqlObject($delete);
         $statement->execute();
         $this->adapter->getDriver()->getConnection()->commit();
     } catch (Exception $e) {
         $this->adapter->getDriver()->getConnection()->rollback();
         ApplicationErrorLogger::log($e);
         return $e->getMessage();
     }
     PaymentEvent::fireDeleteItemsEvent($objectId, $moduleId);
     return true;
 }