/** * Set sandbox flag and get api * * @return Mage_Paypal_Model_Api_Nvp */ protected function _getApi() { $this->_setSandboxFlag(); return parent::_getApi(); }