/** * @return Mage_Core_Model_Abstract|void */ public function save() { $api_key = $this->getValue(); $responseJson = $this->testQuote($api_key); if (!isset($responseJson->status)) { $helper = Mage::helper('intelipost'); // Mage::getSingleton('core/session')->addWarning($helper->__('Invalid ApiUrl/ApiKey combination')); Mage::throwException($helper->__('Invalid ApiUrl/ApiKey combination')); } parent::save(); }
public function save() { $useraccount = $this->getValue(); parent::save(); }
public function save() { $password = $this->getValue(); parent::save(); }
public function save() { $token = $this->getValue(); parent::save(); }
public function save() { $api_url = $this->getValue(); parent::save(); }