Questions tagged [form-key]

The tag has no usage guidance.

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
1answer
2k views

Frontend form key is being overwritten

I am currently having issues with frontend forms where the form keys are somehow being overwritten and displaying incorrect form keys. I am currently debugging this issue on the customer login form. ...
4
votes
0answers
76 views

Invalid form key. please refresh the page. Discount code and Paypal review

This one seems different to all the previous questions about this error message. I'm getting the following message "Invalid form key. please refresh the page." when trying to enter a discount code or ...
2
votes
0answers
10 views

Why did the Payment section stopped working after switching primary domain? And - does Form Key Validation On Checkout need to be enabled?

Porto theme I switched the primary domain in our Magento 1.9.4 store and then the Payment section of the checkout stopped working altogether - you could select a Payment method by placing a tick in ...
2
votes
0answers
76 views

Magento 1.7 OnepageCheckout SaveBilling returns 200 -> nothing happens

When I click on the continue button inside the billing section, the tiny loading icon appears and a request is triggered. It returns 200 with an empty response. But then... nothing happens and there ...
2
votes
0answers
784 views

Magento 2 : Invalid Form Key. Please refresh the page

I get this error when I try to save a category, Invalid Form Key. Please refresh the page. I tried the following solutions from various other posts Increase php_value max_input_vars 75000 Try to ...
2
votes
0answers
1k views

Shopping cart always “empty” after 1.9.3.4 upgrade

I have upgraded magento to 1.9.3.4 via magento connect from 1.9.3.3 and now whenever I try to add a product to the cart it says shopping cart empty. I added <?php echo $this->getBlockHtml('...
1
vote
0answers
87 views

Magento 2.3.2, Amazon Sales Channel: Invalid security or form key. Please refresh the page

I have installed amazon sales channel v2 for magento 2.3.2 store. Now when I try to click 'Connect to amazon store' from 'Setup Amazon Store' section, I'm getting error 'Invalid security or form key....
1
vote
1answer
1k views

Magento upgrade to 1.9.3.4 - is forms working without form_key output in templates

I've just upgraded to Magento v1.9.3.4 and have Enabled Form Key Validation On Checkout as recommended. Magento also advices: Important! Enabling this option means that your custom templates used ...
1
vote
2answers
729 views

Error with Form Key Validation on logout

I just enabled form key validation and there's an error showing up on logout: My Magento version is 1.9.2.2 with last patch 9767 applied Invalid method Mage_Core_Model_Session::renewFormKey(Array ( )...
1
vote
1answer
132 views

Varnish cached Page without Magento hit

We're using Varnish as Page Cache, but we need to make a Ajax-Request on every page view to load the dynamic Stuff. In our case it's: global messages mini Cart form key We reduced the amount of ajax ...
1
vote
3answers
571 views

Invalid form key data - cannot login

I just downloaded and installed the Full Release of Magento Community - ver 1.9.2.4, but I can't login in backend and frontend. The error message is: Invalid Form Key. Please refresh the page. ...
1
vote
0answers
24 views

formkey in layered navigation links on search results pages?

I just noticed that the layered navigation links in catalogsearch/result have a formkey embedded in the URL. The links look like: https://www.example.com/catalogsearch/result/index/form_key/...
0
votes
1answer
25 views

Invalid Form Key. Please refresh the page error occur in magento 2

if i try to pay with paytm am getting this error "Invalid Form Key. Please refresh the page error" How do i fix it
0
votes
0answers
34 views

Magento 1.9.4.3 item not added to basket when button clicked

I have just successfully updated to 1.9.4.3 from 1.9.4.2. However, in one of my custom blocks the add to basket doesn't work, item does not get added to the basket. Analysing the url from $this->...
0
votes
1answer
24 views

Even after Adding Form Key in phtml Magento 2.3 shows invalid form key error often

I added Form key in all forms. But in some forms still, I am getting Invalid form key Please refresh error often. How to solve this? Is I need to add further things to solve this? Kindly help me.
0
votes
0answers
42 views

How to remove “form_key” in magento2

How can I remove "form_key" globally in my magento2 store?
0
votes
1answer
26 views

I have Problems when uploaded the image on my product in backend magento 2.3.2

today when try to upload the image on my product, magento show me this error firts time magento show me this error becauses, before i edited all my products, and now magento show me this.
0
votes
0answers
15 views

Magento2 people on same network logged into each others account with form keys disabled

With magento config:set admin/security/use_form_key 0 People say that sometimes they are logged into each others accounts. I'm not sure how this is possible since they never log into each others ...
0
votes
1answer
249 views

magento2 Invalid Form Key on chrome

Invalid Form Key. Please refresh the page? My chrome browser always give this error even if I have changed the php.ini configuration max_input_vars = 75000 I am using nginx server and public IP (...
0
votes
0answers
147 views

Invalid Form Key. Please refresh the page. while submiting form

i'm using magento 2.3 and got this error while i try to submit a custom form in a product detail page, have tried to increas max_input_vars option in php.ini but it didn't solve anything, any other ...
0
votes
1answer
423 views

Magento2.2.4 - Invalid form key while save product

I have Magento 2.2.4. I have tried increasing max_input_vars in php.ini file. I have cleared var/cache, browser cache, removed domain cookies. Still, get the error when trying to edit an existing ...
0
votes
2answers
242 views

How to get a product review form form key in magento 1.9?

I want form key of product review form in magento 1.9 , Can anyone tell me how to get product wise formkey programatically.
0
votes
0answers
204 views

Different form key in template and controller

When I am directly accessing customer/account/login page then, values for $this->getRequest()->getParam('form_key'); and Mage::getSingleton('core/session')->getFormKey(); are different when ...
0
votes
2answers
341 views

Magento block in before_body_end with form_key being cached

Magento block in before_body_end with form_key being cached We use a block for login form data in the block before_body_end. Only since some time we have seen this block is cached and the form_key ...
0
votes
1answer
158 views

Form key doesnt change remains the same - resulting 403 forbidden error on few links magento 1.9.2

i have further investigated in my case and i have identified that the form key generated is not generating new form key . instead it is using the same form key for all users and pages www....
0
votes
1answer
1k views

Magento 2 - invalid form key (add/delete from cart)

I have serious problems with custom Magento 2 theme and (probably) formkey cashing. I have 2 views of exactly same e-shop. - View 1: Luma Theme - View 2: Custom Theme (Luma child) - overriding ...
0
votes
1answer
316 views

Unable to delete the update product from minicart through ajax

I am unable to delete the updated product from the mini cart. this is the code: path : app/code/core/Mage/Checkout/controllers/CartController.php public function ajaxUpdateAction() { if (!...
0
votes
1answer
137 views

How to make seo friendly form_key whishlist link

https://www.websitename.in/wishlist/index/addd/product/715/form_key/1LEJOC1edAL6N0Wi/ Seo person asked me to make these links seo friendly . Is there any way in which this can be achieved.
0
votes
1answer
256 views

Invalid Form Key, Please Refresh Page at Checkout Magento 1.9.1

i havent changed any cookies settings that some people have mentioned to try. I did install memcache, im not sure if that is related. local.xml <config> <global> <install&...