/** * Creates the Events for the plugin * * @throws Exception */ private function _createEvents() { $this->_bootstrap->subscribeEvent('Enlight_Controller_Action_PreDispatch_Frontend_Account', 'onCheckoutConfirm'); $this->_bootstrap->subscribeEvent('Shopware_Modules_Order_SendMail_Send', 'disableStatusMails'); $this->_bootstrap->subscribeEvent('Shopware_Controllers_Frontend_Checkout::saveShippingPaymentAction::before', 'onSavePayment'); $this->_bootstrap->subscribeEvent('Shopware_Controllers_Frontend_Account::savePaymentAction::before', 'onSavePayment'); $this->_bootstrap->subscribeEvent('Theme_Compiler_Collect_Plugin_Javascript', 'addJsFiles'); $this->_bootstrap->subscribeEvent('Enlight_Controller_Action_PostDispatch', 'onPostDispatch'); $this->_bootstrap->subscribeEvent('Enlight_Controller_Dispatcher_ControllerPath_Frontend_PaymentSofortbanking', 'registerSofortbankingController'); $this->_bootstrap->subscribeEvent('Enlight_Controller_Dispatcher_ControllerPath_Frontend_PaymentIdeal', 'registerIdealController'); $this->_bootstrap->subscribeEvent('Enlight_Controller_Dispatcher_ControllerPath_Backend_SofortLogView', 'registerAdminViewLogController'); $this->_bootstrap->subscribeEvent('Enlight_Controller_Dispatcher_ControllerPath_Backend_SofortOrderView', 'registerAdminViewOrderController'); }