Esempio n. 1
0
 /**
  * Check the cart currency for ePay support
  *
  * @return bool
  */
 public function isAvailable()
 {
     if (!static::supportsCurrency(Isotope::getConfig()->currency)) {
         return false;
     }
     return parent::isAvailable();
 }
Esempio n. 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();
 }
Esempio n. 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();
 }