/** * Check the cart currency for ePay support * * @return bool */ public function isAvailable() { if (!static::supportsCurrency(Isotope::getConfig()->currency)) { return false; } return parent::isAvailable(); }
/** * Check the cart currency for ePay support * * @return bool */ public function isAvailable() { if (!Currency::isSupported(Isotope::getConfig()->currency)) { return false; } return parent::isAvailable(); }
/** * Paybyway only supports EUR currency * @return bool */ public function isAvailable() { $objConfig = Isotope::getConfig(); if (null === $objConfig || $objConfig->currency != 'EUR') { return false; } return parent::isAvailable(); }