4

We have upgraded to magento 1.9.3.4 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

2 Answers 2

0

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">
    <fieldset>
        <?php echo $this->getChildHtml('methods') ?>
    </fieldset>
    <?php echo $this->getBlockHtml('formkey') ?>
</form>

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

enter image description here

9
  • ok thanks but i am unable to find the symlink location at admin.
    – Raghu
    Jul 13, 2017 at 12:06
  • also i kept the formkey under filedset and in the console iam able to view the formkey
    – Raghu
    Jul 13, 2017 at 12:07
  • Are you using modman for extensions?
    – paj
    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
    Jul 13, 2017 at 12:08
  • what is modam? i dont know about this
    – Raghu
    Jul 13, 2017 at 12:09
0

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.

1
  • 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
    Jul 13, 2017 at 12:49

Your Answer

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

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