Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.0.7.0
- * @ Author : DeZender
- * @ Release on : 22.06.2017
- * @ Official site : http://DeZender.Net
- *
- */
- namespace Shopware\PremsOnePageCheckout\Subscriber;
- class Checkout implements \Enlight\Event\SubscriberInterface
- {
- /**
- * @var Bootstrap $bootstrap
- */
- protected $bootstrap = null;
- /**
- * @param \Shopware\Components\DependencyInjection\Container $container
- * @param \Shopware_Plugins_Frontend_PremsOnePageCheckout_Bootstrap $bootstrap
- */
- public function __construct(\Shopware\Components\DependencyInjection\Container $container, Shopware_Plugins_Frontend_PremsOnePageCheckout_Bootstrap $bootstrap)
- {
- $this->container = $container;
- $this->bootstrap = $bootstrap;
- }
- public static function getSubscribedEvents()
- {
- return array(
- 'Enlight_Controller_Action_PreDispatch_Frontend_Checkout' => 'onPreDispatchCheckout',
- 'Enlight_Controller_Action_PostDispatchSecure_Frontend_Checkout' => 'onPostDispatchCheckout',
- 'sAdmin::sCheckUser::after' => 'afterCheckUser',
- 'Shopware_Controllers_Frontend_Checkout::saveTemporaryOrder::replace' => 'replaceSaveTemporaryOrder',
- 'Enlight_Controller_Action_PostDispatchSecure_Frontend_PaymentPaypal' => 'onPostDispatchPaymentPaypalCancelAction'
- );
- }
- public function onPostDispatchPaymentPaypalCancelAction(Enlight_Event_EventArgs $args)
- {
- $controller = $args->getSubject( );
- $request = $controller->Request( );
- ...................................................................
- ................................
- ................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement