Example #1
0
 public function existsPaymentMethodConfigurationValue($key, $languageCode = null)
 {
     // Make sure the order status is not set on cancel. This does not really work in magento.
     if ($key == 'status_cancelled') {
         return false;
     }
     return null != Mage::getStoreConfig('payment/' . $this->getCode() . '/' . $key, Customweb_SaferpayCw_Model_ConfigurationAdapter::getStoreId());
 }
 protected function getBaseUrl()
 {
     return Mage::getUrl('SaferpayCw/endpoint/index', array('_store' => Customweb_SaferpayCw_Model_ConfigurationAdapter::getStoreId()));
 }