Пример #1
0
 public function init()
 {
     parent::init();
     if ($this->_config->mode == 'Payflow-UK') {
         $this->_buttonSourceDP = 'Axis-DP_uk';
     }
     if ($this->_config->mode == 'Payflow-US') {
         $this->_buttonSourceDP = 'Axis-GW_us';
     }
 }
Пример #2
0
 public function clear()
 {
     unset($this->getStorage()->token);
     unset($this->getStorage()->payer);
     unset($this->getStorage()->markflow);
     parent::clear();
 }