We have upgraded to magento and we have custom theme , in the custom theme we have uploaded patch files and in the payment.phtml file we have kept formkey under fieldset.

But issue is after payment method selected it is not continued to place order.


2 Answers 2


Check how you have added the formkey in payment.phtml, the formkey should be outside of the fieldset element, but within the form element like this

<form action="" id="co-payment-form">
        <?php echo $this->getChildHtml('methods') ?>
    <?php echo $this->getBlockHtml('formkey') ?>

Makes sure your caches have been refreshed, and your browser is showing the formkey during checkout.

enter image description here

  • ok thanks but i am unable to find the symlink location at admin.
    – Raghu
    Commented Jul 13, 2017 at 12:06
  • also i kept the formkey under filedset and in the console iam able to view the formkey
    – Raghu
    Commented Jul 13, 2017 at 12:07
  • Are you using modman for extensions?
    – paj
    Commented Jul 13, 2017 at 12:07
  • in billing, shipping info, shipping methods steps iam able to see the form_key...but in payment when i click next step form_key is not showing in the console
    – Raghu
    Commented Jul 13, 2017 at 12:08
  • what is modam? i dont know about this
    – Raghu
    Commented Jul 13, 2017 at 12:09

I was able to reproduce this problem in chrome, but I think that it can be in others. If look at form_key output, you can see that input with form_key has "disabled" property. Clean browser cache and check again, "disabled" property will now disappear and checkout works fine. It looks like browser caching issue.

  • yes i removed browser cache and tested in chrome. But same issue..Anyhow this is fixed by following this link gist.github.com/schmengler/…
    – Raghu
    Commented Jul 13, 2017 at 12:49

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.