Paid Content Block - Caching Issue for showing correct content on buttons #34948
Labels
[Block] Paid Content
aka Premium Content
Customer Report
Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".
Earn
Earn features
[Feature] Paid Content
aka Premium Content. Controlling specific content for paying site visitors.
[Platform] Simple
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Pri] Normal
[Status] Priority Review Triggered
The guild in charge of triage has been notified of this issue in Slack
[Status] Stale
Triaged
[Type] Bug
When a feature is broken and / or not performing as intended
Impacted plugin
Jetpack
Quick summary
A user had added 3 different payment plans and payment buttons, but all the buttons were redirecting to the first payment plan only.
If they reload the page, however. then all the buttons link to the correct payment plan.
Tested this further and it looks like a page caching issue with the blocks.
See this screen record:
https://github.com/Automattic/jetpack/assets/84089207/9d8cdb1b-fa7d-4333-b785-bb932bb59c1d
As a workaround, an HE suggested that they create 3 different pages and have payment buttons linked on each of the pages. Then, on the Store page, create 3 columns with buttons that'd link to those pages.
Steps to reproduce
Add multiple payment plans
Add each plan to a payment button on a page
Save the page
Test or preview the page
All buttons link to the same payment plan, until the page is reloaded and then each button links to its own (and the correct) payment plan.
A clear and concise description of what you expected to happen.
Each button should link to the correct payment plan, without the need to refresh the page first.
What actually happened
No response
Impact
One
Available workarounds?
Yes, difficult to implement
Platform (Simple and/or Atomic)
Simple
Logs or notes
No response
The text was updated successfully, but these errors were encountered: