예제 #1
0
파일: EPay.php 프로젝트: rpquadrat/core
 /**
  * Check the cart currency for ePay support
  *
  * @return bool
  */
 public function isAvailable()
 {
     if (!static::supportsCurrency(Isotope::getConfig()->currency)) {
         return false;
     }
     return parent::isAvailable();
 }
예제 #2
0
 /**
  * Check the cart currency for ePay support
  *
  * @return bool
  */
 public function isAvailable()
 {
     if (!Currency::isSupported(Isotope::getConfig()->currency)) {
         return false;
     }
     return parent::isAvailable();
 }
예제 #3
0
 /**
  * Paybyway only supports EUR currency
  * @return  bool
  */
 public function isAvailable()
 {
     $objConfig = Isotope::getConfig();
     if (null === $objConfig || $objConfig->currency != 'EUR') {
         return false;
     }
     return parent::isAvailable();
 }