0

When I checkout in Magento 2 from one-page checkout first time order placed successfully but the second time the order goes failure. but when I disable Full Page Cache it working fine.

Without disabling entire FPC, please tell me if there is any way to solve this issue?

1 Answer 1

0

Please let me know if you are using caching module for that ? If yes, then you can ignore the checkout page from being caching using module admin setting.

2
  • no i am not using any module for caching
    – zeeshan
    May 17, 2018 at 11:00
  • make sure your checkout block has cacheable="false". <block class="Magento\Checkout\Block\Onepage" name="checkout.root" template="onepage.phtml" cacheable="false">
    – Ankit Shah
    May 17, 2018 at 11:08

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.