/** * Get payment url * * @throws Mage_Core_Exception * @return string */ public function getUrl() { if ($this->_sofortSdk->isError()) { Mage::throwException($this->_sofortSdk->getError()); } return $this->_sofortSdk->getPaymentUrl(); }