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.


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 Jul 13 '17 at 12:06
  • also i kept the formkey under filedset and in the console iam able to view the formkey – Raghu Jul 13 '17 at 12:07
  • Are you using modman for extensions? – paj Jul 13 '17 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 Jul 13 '17 at 12:08
  • what is modam? i dont know about this – Raghu Jul 13 '17 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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