public function beforeFilter()
 {
     parent::beforeFilter();
     if (!Configure::read('PayPal')) {
         throw new NotFoundException();
     }
 }
 public function beforeFilter()
 {
     if (isset($this->Auth)) {
         $this->Auth->allow('notify');
     }
     parent::beforeFilter();
 }
 public function beforeFilter()
 {
     parent::beforeFilter();
     # temporary
     if (isset($this->Auth)) {
         //$this->Auth->allow();
     }
 }
 public function beforeFilter()
 {
     parent::beforeFilter();
     if (!Configure::read('PaymentNetwork')) {
         throw new NotFoundException();
     }
     if (isset($this->Auth)) {
         $this->Auth->allow('abort', 'success', 'notification');
     }
 }
Пример #5
0
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->allow('pay', 'result', 'ok', 'nok');
 }
 public function beforeFilter()
 {
     parent::beforeFilter();
 }