I am using default Magento one page checkout. on checkout page I am unable to continue to "Order Review" tab.
2 Answers
This is most probably the issue related to checkout Javascript code.
Open
skin/frontend/<package>/<theme>/js/opcheckout.jsFind 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
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.
- 2Mark this as the answer if it solved your problem - helps anyone else that's searching for solutions.natecornell– natecornell2017-06-22 16:29:41 +00:00Commented Jun 22, 2017 at 16:29
- 1Changing that config makes the issue go away, but having
Enable Form Key Validation On Checkoutset 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/….Tim Cieplowski– Tim Cieplowski2017-08-11 14:12:25 +00:00Commented Aug 11, 2017 at 14:12 - The recommended solution is installing SUPEE-9767 Version 2 patch.Brijesh Kapletiya– Brijesh Kapletiya2017-08-22 14:23:19 +00:00Commented 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– elfling2019-01-17 15:05:59 +00:00Commented Jan 17, 2019 at 15:05
