public function init() { parent::init(); if ($this->_config->mode == 'Payflow-UK') { $this->_buttonSourceEC = 'Axis-EC_uk'; } elseif ($this->_config->mode == 'Payflow-US') { $this->_buttonSourceEC = 'Axis-ECGW_us'; } }
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'; } }