E-commerce functionality requires dynamic pages to ensure visitors see the most up-to-date information, such as product prices, availability, and their shopping cart contents. A cached page shows a static version, which can result in outdated information being displayed to users. That’s what causes issues with e-commerce setups—unlike a blog, an e-commerce site needs to display dynamic content on product and thank you pages that is specific to each user. Caching is generally fine for blog posts and other static pages where the content doesn’t change based on customer actions or transactions.
To resolve the issue, you can exclude transaction-related pages from caching.
Recommendations for Accept Stripe Payments Plugin
Exclude Thank You Page from Caching
The ‘Thank You’ page should also be excluded from caching. This page displays order confirmation and dynamic transaction details, which should always be current.
You can find the ‘Thank You’ page URL in the plugin’s settings menu. Refer to the screenshot below for guidance.

The ‘Thank You’ page must be excluded from all forms of caching.
Exclude Payment Pages from Caching
Pages containing payment buttons should also be excluded from caching. These pages need to reflect real-time data to ensure accurate transactions.