/** * If 3dsecure is enabled * * @return boolean */ public function show3dSecure() { if ($this->config->is3dSecureEnabled()) { return true; } return false; }
/** * @return bool */ public function is3dSecureEnabled() { return (bool) $this->config->is3dSecureEnabled(); }
/** * @return bool * @throws LocalizedException */ protected function verify3dSecure() { return $this->config->is3dSecureEnabled() && $this->_appState->getAreaCode() !== \Magento\Backend\App\Area\FrontNameResolver::AREA_CODE; }