/**
  * @param int|null $storeId
  * @return bool
  */
 public function isActive($storeId = null)
 {
     if (!$this->config->getValue('payment/openpay/customerTransferActive')) {
         return false;
     }
     return parent::isActive($storeId);
     // TODO: Change the autogenerated stub
 }
예제 #2
0
 /**
  * Overridden with checks to ensure certain necessary config settings are set.
  *
  * @param int|null $storeId
  * @return bool
  */
 public function isActive($storeId = null)
 {
     if (!$this->getConfigData("account_name", $storeId)) {
         return false;
     }
     if (!$this->getConfigData("account_bsb", $storeId)) {
         return false;
     }
     if (!$this->getConfigData("account_number", $storeId)) {
         return false;
     }
     return parent::isActive($storeId);
 }
예제 #3
0
 /**
  * Is active
  *
  * @param int|null $storeId
  * @return bool
  */
 public function isActive($storeId = null)
 {
     $pathStandardExpress = 'payment/' . Config::METHOD_WPS_EXPRESS . '/active';
     $pathPaypalExpress = 'payment/' . Config::METHOD_WPP_EXPRESS . '/active';
     return parent::isActive($storeId) || (bool) (int) $this->_scopeConfig->getValue($pathStandardExpress, ScopeInterface::SCOPE_STORE, $storeId) || (bool) (int) $this->_scopeConfig->getValue($pathPaypalExpress, ScopeInterface::SCOPE_STORE, $storeId);
 }
예제 #4
0
 /**
  * Overridden with checks to ensure certain necessary config settings are set.
  *
  * @param int|null $storeId
  * @return bool
  */
 public function isActive($storeId = null)
 {
     if (!$this->getConfigData("biller_code", $storeId)) {
         return false;
     }
     return parent::isActive($storeId);
 }