cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Form Key - Adding Products to Customer Order in Admin

Invalid Form Key - Adding Products to Customer Order in Admin

Hi

I get the Invalid Form Key error message when creating a new order for an existing customer in Admin.  The steps to reproduce are as follows:

 

Customers->Manage Customers

Select a customer

Click on Create Order button

Click on Add Products button

 

 

I now get the Invalid Form Key popup if I click on any button inside the form 'Please Select Products to Add'

 

I debugged the code and found that the form_keys do not match in function _validateFormKey() on line 901/902 in Varien/Action.php.

 

Has anyone else experienced this problem?  Occurs for me on 1.9.1 and 1.9.3.4.

 

Thanks in advance

Martin

 

2 REPLIES 2

Re: Invalid Form Key - Adding Products to Customer Order in Admin

Hi @buttash,

 

I've made a few tests with Magento 1.9.2.2. and 1.9.3.6 and I was able to add products with any problems.

Maybe a 3rd-party module is creating a conflict?

Re: Invalid Form Key - Adding Products to Customer Order in Admin

@buttashHi Martin,

 

Did you apply the security patch recently and after which you started noticing this issue? In case if yes you may have extended a core file of Magento in you local code pool. Compare the same with the Magento core file and merge the required updates.

 

Let know if this works for you or try to provide more details on the issue like do you have some custom extension causing the issue or something else..

 

Problem Solved? Please give Kudo and select answer as solution.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.