/** * Check - display separate Configure button or not * * @param \XLite\Model\Payment\Method $method Payment method * * @return boolean */ protected function isSeparateConfigureButtonVisible(\XLite\Model\Payment\Method $method) { return ($method->getWarningNote() || $method->isTestMode() || !$method->isCurrencyApplicable()) && $method->isConfigurable() && !$method->isForcedEnabled(); }