/** * Performs the necessary installation steps * * @throws Exception * @return boolean */ public function install() { try { Shopware_Plugins_Frontend_PaymPaymentCreditcard_Components_WebhookService::install(); Shopware_Plugins_Frontend_PaymPaymentCreditcard_Components_LoggingManager::install(); Shopware_Plugins_Frontend_PaymPaymentCreditcard_Components_ModelHelper::install($this); $this->createPaymentMeans(); $this->_createForm(); $this->_registerController(); $this->_createEvents(); $this->_updateOrderMail(); $this->_applyBackendViewModifications(); $this->_translatePaymentNames(); $translationHelper = new Shopware_Plugins_Frontend_PaymPaymentCreditcard_Components_TranslationHelper($this->Form()); $translationHelper->createPluginConfigTranslation(); $this->solveKnownIssue(); $this->Plugin()->setActive(true); } catch (Exception $exception) { $this->uninstall(); throw new Exception($exception->getMessage()); } $installSuccess = parent::install(); return $installSuccess; }