You did not sign in correctly or your account is temporarily disabled In Magento 2

In Magento sometimes we face the issue “You did not sign in correctly or your account is temporarily disabled” when creating token using rest API. If you are calling rest API like  http://www.yoursite.com/all/V1/integration/admin/token and you are getting the error message. You need to clean the oauth token requests logs. To do so, is as simple […]

How to add custom select box in window.checkoutConfig on Checkout

Sometimes you need a custom variable add-in window.checkoutConfig dynamically and display on the checkout page according to requirement, follow steps to add custom select box in window.checkoutConfig on Checkout. Step 1 : Create di.xml file and add below code File : Vendor/Module/etc/frontend/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”Magento\Checkout\Model\DefaultConfigProvider”> <plugin name=”CustomCheckoutModelDefaultConfigProvider” type=”Vendor\Module\Plugin\Checkout\Model\DefaultConfigProvider” sortOrder=”100″/> </type> </config> […]

Request validation failed for action in Magento 2

Today in this post we will found a solution for Request validation failed for action issue in Magento. Sometime custom controller redirect to dashbord in magento admin panel There are below method to solve this kind of issue. Sulution 1. Add below in your claass use Magento\Framework\App\CsrfAwareActionInterface; use Magento\Framework\App\RequestInterface; use Magento\Framework\App\Request\InvalidRequestException; and implements CsrfAwareActionInterface class […]

Back To Top