2

I am using default Magento one page checkout. on checkout page I am unable to continue to "Order Review" tab.

Please Review this Image for more info

2 Answers 2

2

This is most probably the issue related to checkout Javascript code.

  • Open skin/frontend/<package>/<theme>/js/opcheckout.js

  • Find the line:

    if (elements[i].name=='payment[method]') {
    
  • Change it to:

    if (elements[i].name=='payment[method]' || elements[i].name == 'form_key') {
    
  • Save the file.

  • Clear Cache from Magento Admin (System -> Cache Management).

  • Clear your browser's Cache as well.

This should solve the issue.

Alternatively, you can also try running this patch:

Magento SUPEE-9767 Checkout Form Key Theme Patch: https://gist.github.com/schmengler/c42acc607901a887ef86b4daa7a0445b

-2

Ohh, Found solution immediately after raising the question. I just need to disable form key validation from backend and it's working fine now.

To disable form key validation Go to: System > Configuration > Advanced > Security > Enable Form Key Validation On Checkout

and change the value to No.

That's it!

I found solution from below link.

SUPEE-9767 Magento CE 1.9.3.3 Onestep Checkout not working with Form Key Validation On Checkout enabled

4
  • 2
    Mark this as the answer if it solved your problem - helps anyone else that's searching for solutions. Jun 22, 2017 at 16:29
  • 1
    Changing that config makes the issue go away, but having Enable Form Key Validation On Checkout set to "yes" is better, from a security perspective. Take a look at solutions offered here, so you can get this feature turned on community.magento.com/t5/Security-Patches/…. Aug 11, 2017 at 14:12
  • The recommended solution is installing SUPEE-9767 Version 2 patch. Aug 22, 2017 at 14:23
  • As a temporary solution - This is fine. But the solution to fixing the issue, disagree. You should of looked at the JS file.
    – elfling
    Jan 17, 2019 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.