diff --git a/app/code/Magento/Authorizenet/etc/adminhtml/system.xml b/app/code/Magento/Authorizenet/etc/adminhtml/system.xml index 591d0951e2d45..cfff3a927453c 100644 --- a/app/code/Magento/Authorizenet/etc/adminhtml/system.xml +++ b/app/code/Magento/Authorizenet/etc/adminhtml/system.xml @@ -44,45 +44,48 @@ - + + + + Magento\Config\Model\Config\Source\Locale\Currency - + Magento\Config\Model\Config\Source\Yesno - + Magento\Config\Model\Config\Source\Yesno - + validate-email - + Magento\Authorizenet\Model\Source\Cctype - + Magento\Config\Model\Config\Source\Yesno - + Magento\Payment\Model\Config\Source\Allspecificcountries - + Magento\Directory\Model\Config\Source\Country - + - + - + validate-number diff --git a/app/code/Magento/Authorizenet/etc/config.xml b/app/code/Magento/Authorizenet/etc/config.xml index a620f157b10e4..d672c305df335 100644 --- a/app/code/Magento/Authorizenet/etc/config.xml +++ b/app/code/Magento/Authorizenet/etc/config.xml @@ -30,6 +30,8 @@ authorizenet/directpost_payment/place https://test.authorize.net/gateway/transact.dll https://secure.authorize.net/gateway/transact.dll + https://apitest.authorize.net/xml/v1/request.api + https://api2.authorize.net/xml/v1/request.api diff --git a/app/code/Magento/Backend/Block/Store/Switcher.php b/app/code/Magento/Backend/Block/Store/Switcher.php index a224e2a3b40d9..8cf98be294f97 100644 --- a/app/code/Magento/Backend/Block/Store/Switcher.php +++ b/app/code/Magento/Backend/Block/Store/Switcher.php @@ -558,4 +558,17 @@ public function getHintHtml() } return $html; } + + /** + * Get whether iframe is being used + * + * @return bool + */ + public function isUsingIframe() + { + if ($this->hasData('is_using_iframe')) { + return (bool)$this->getData('is_using_iframe'); + } + return false; + } } diff --git a/app/code/Magento/Backend/view/adminhtml/templates/store/switcher.phtml b/app/code/Magento/Backend/view/adminhtml/templates/store/switcher.phtml index a2f94b3563cfc..ef97688024295 100644 --- a/app/code/Magento/Backend/view/adminhtml/templates/store/switcher.phtml +++ b/app/code/Magento/Backend/view/adminhtml/templates/store/switcher.phtml @@ -30,7 +30,8 @@ class="admin__action-dropdown" data-mage-init='{"dropdown":{}}' data-toggle="dropdown" - aria-haspopup="true"> + aria-haspopup="true" + id="store-change-button"> getCurrentSelectionName() ?>