Пример #1
0
 function validate()
 {
     if (empty($this->_options['keyfile']) || !file_exists($this->_options['keyfile'])) {
         throw new Payment_Process2_Exception('Invalid key file');
     }
     if (empty($this->_options['authorizeUri'])) {
         throw new Payment_Process2_Exception('Invalid authorizeUri');
     }
     return parent::validate();
 }