public function __construct() { if ($this->isWeixinBrowser()) { $this->_canUseCheckout = false; } parent::__construct(); }
public function __construct() { parent::__construct(); if ($this->pm_id) { $this->_code = $this->_code . '_' . str_replace('_', '', $this->pm_id); } }
public function __construct() { parent::__construct(); $this->_canCapture = $this->isFeatureSupported("Capturing"); $this->_canCapturePartial = $this->isFeatureSupported("Capturing"); $this->_canRefund = $this->isFeatureSupported("Refund"); $this->_canRefundInvoicePartial = $this->isFeatureSupported("Refund"); $this->_canUseInternal = $this->isFeatureSupported("Moto"); }
/** * @param array $params */ public function __construct($params = array()) { parent::__construct($params); if (!empty($params) && isset($params['caller_method'])) { // Set '_callerMethod' property $this->_callerMethod = $params['caller_method']; } else { Mage::throwException(Mage::helper('cls_paypal')->__('Internal error: cannot initialize the payment method.')); } }
public function __construct() { $this->pfConfig = Payfort_Fort_Config::getInstance(); // //$this->_code = PAYFORT_FORT_PAYMENT_METHOD_CC; if ($this->pfConfig->getCcIntegrationType() == PAYFORT_FORT_INTEGRATION_TYPE_MERCAHNT_PAGE2) { $this->_formBlockType = 'payfort/form_cc_notsaved'; $this->_infoBlockType = 'payfort/info_cc_notsaved'; } else { $this->_formBlockType = 'payfort/form_gateway'; } parent::__construct(); }
public function __construct() { $this->_helper = Mage::helper('capayable'); $public_key = Mage::getStoreConfig('capayable/capayable/public_key'); $secret_key = Mage::getStoreConfig('capayable/capayable/secret_key'); /** * Initialize new api client * @var Tritac_CapayableApiClient_Client _client */ $this->_client = new Tritac_CapayableApiClient_Client($public_key, $secret_key, $this->_helper->getMode()); parent::__construct(); }
public function __construct() { parent::__construct(); $this->_isBackendOrder = Mage::helper('ewayrapid')->isBackendOrder(); $this->_connectionType = Mage::getStoreConfig('payment/ewayrapid_general/connection_type'); if (!$this->_isBackendOrder) { if ($this->_connectionType === Eway_Rapid31_Model_Config::CONNECTION_TRANSPARENT) { $this->_infoBlockType = 'ewayrapid/info_transparent_notsaved'; $this->_formBlockType = 'ewayrapid/form_transparent_notsaved'; } elseif ($this->_connectionType === Eway_Rapid31_Model_Config::CONNECTION_SHARED_PAGE) { $this->_infoBlockType = 'ewayrapid/info_sharedpage_notsaved'; $this->_formBlockType = 'ewayrapid/form_sharedpage_notsaved'; } } }
/** * Construct */ public function __construct() { parent::__construct(); $this->_helper = Mage::getSingleton('PagSeguro_PagSeguro_Helper_Data'); }
public function __construct() { bcscale(0); parent::__construct(); }
public function __construct() { $this->_canUseCheckout = false; parent::__construct(); }
public function __construct() { $this->sqlModel = Mage::getModel('icecore/mysql4_iceCore'); $this->ic_order = Mage::getModel('iceadvanced/order'); parent::__construct(); }
/** * Model constructor * * @return void */ public function __construct() { $this->getConfig(); $this->_projectId = $this->_config->getProjectId(); $this->_apiKey = $this->_config->getApiKey(); $this->_language = $this->_config->getLanguage(); $this->_currency = $this->_config->getCurrentCurrency(); $this->_merchantId = $this->_config->getMerchantId(); $this->_customerType = $this->_config->getCustomerType(); $this->_countries = $this->_config->getCountries(); return parent::__construct(); }
/** * Construct */ public function __construct() { parent::__construct(); $this->_helper = Mage::helper('pagseguro'); }
public function __construct() { parent::__construct(); $this->initializeOpenPayUConfiguration(); }
public function __construct() { $called = true; parent::__construct(); }
/** * Build constructor (must be a normal constructor, not a Magento _construct() method. */ public function __construct() { parent::__construct(); $this->_api = Mage::helper('mpm/api'); $resource = Mage::getSingleton('core/resource'); $this->_table = $resource->getTableName('mollie_payments'); $this->_mysqlr = $resource->getConnection('core_read'); $this->_mysqlw = $resource->getConnection('core_write'); }
public function __construct() { parent::__construct(); $this->_logger = Mage::helper('payin7payments/log'); }