示例#1
0
 /**
  * Check - payment method is configured or not
  *
  * @param \XLite\Model\Payment\Method $method Payment method
  *
  * @return boolean
  */
 public function isConfigured(\XLite\Model\Payment\Method $method)
 {
     return parent::isConfigured($method) && \XLite\Core\Config::getInstance()->CDev->Moneybookers->email;
 }
示例#2
0
 /**
  * Check - payment method is configured or not
  *
  * @param \XLite\Model\Payment\Method $method Payment method
  *
  * @return boolean
  */
 public function isConfigured(\XLite\Model\Payment\Method $method)
 {
     return parent::isConfigured($method) && $this->api->isConfigured();
 }
示例#3
0
文件: APaypal.php 项目: kingsj/core
 /**
  * Check - payment method is configured or not
  *
  * @param \XLite\Model\Payment\Method $method Payment method
  *
  * @return boolean
  */
 public function isConfigured(\XLite\Model\Payment\Method $method)
 {
     return parent::isConfigured($method) && $method->getSetting('vendor') && $method->getSetting('pwd') && $this->isMerchantCountryAllowed();
 }