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?


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.

  • no i am not using any module for caching – zeeshan May 17 '18 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 '18 at 11:08

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.