Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paid Content Block - Subscriber Unable to View Premium Content, Stuck on Guest View, Log In Button Disappears #80974

Closed
masperber opened this issue Aug 23, 2023 · 25 comments
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". Earn [Feature Group] Customer Seller Experience The customer experience when purchasing services or products. [Feature] User Payments & Donations The configuration screens and tools for users to receive payments and donations on their sites. [Interaction #] > 10 (Automated) interaction count label for better visibility. Please don't add these manualliy. [Pri] Normal Schedule for the next available opportuinity. [Product] WordPress.com All features accessible on and related to WordPress.com. Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended

Comments

@masperber
Copy link

Quick summary

Possible bug with the WordPress.com Paid Content Block (formerly Premium Content Block). After logging in, the subscriber is shown the Guest View instead of the Subscriber View. As well, the Log In button disappears, and a parameter 'token' is added to the URL.

Steps to reproduce

  1. Create a Paid Content subscription on a site and add a Paid Content Block to a page
  2. Add a subscriber to the subscription
  3. In a Private window, access the page with the Paid Content Block, then attempt to log in.

What you expected to happen

The subscriber content should be shown

What actually happened

The guest content is shown. As well, the Log In button disappears, and a parameter 'token' is added to the URL.

Impact

All

Available workarounds?

No and the platform is unusable

Platform (Simple and/or Atomic)

No response

Logs or notes

I reproduced on my own test site. I have only tested and reproduced on Simple sites so far. I did test across multiple themes.

@masperber masperber added [Type] Bug When a feature is broken and / or not performing as intended Needs triage Ticket needs to be triaged [Feature Group] Customer Seller Experience The customer experience when purchasing services or products. [Product] WordPress.com All features accessible on and related to WordPress.com. [Feature] User Payments & Donations The configuration screens and tools for users to receive payments and donations on their sites. labels Aug 23, 2023
@github-actions github-actions bot added [Pri] BLOCKER Requires immediate attention. [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts labels Aug 23, 2023
@cuemarie
Copy link

cuemarie commented Aug 23, 2023

📌 REPRODUCTION RESULTS

  • Tested on Simple – Could Not Replicate

📌 FINDINGS/SCREENSHOTS/VIDEO
I tested this on a brand new site, with a new connection to Stripe, and then a new subscriber.
After subscribing, I opened a new incognito window in Chrome and logged in to my subscriber's account, and could access the subscriber content as expected.

and a parameter 'token' is added to the URL.

This does occur for me, but I can see the correct content, so this may not be related.

Recording

paidcontentblock-compressed.mp4

Tested on:

  • Premium Plan Site created today; Stripe account created today
  • TT3 Theme
  • Chrome Version 116.0.5845.110 (Official Build) (x86_64)
    • Under chrome://settings/cookies, Block third-party cookies in Incognito is enabled
    • Under chrome://settings/security, Standard Protection is enabled

📌 ACTIONS

  • Requested author feedback

📌 Message to Author
@masperber can you have a look at my recording & notes above and let me know if anything differs in our tests? If not, it seems like something more specific than a blocker bug with the Paid Content block itself is going on here, and we'll need to do some additional digging 🤔

@cuemarie cuemarie added [Pri] Normal Schedule for the next available opportuinity. [Status] Needs Author Reply Earn and removed [Pri] BLOCKER Requires immediate attention. [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts labels Aug 23, 2023
@masperber
Copy link
Author

Hey @cuemarie !

Yes, the process you followed seems identical to the process that I followed, but the results are different.

Here is a link to the interaction: 6711609-zen

I'm going to create a P2 post for further investigation, and the link will be in the interaction notes.

(I really enjoyed the GIFs that you used for your testing pages, by the way! 😂 )

@github-actions
Copy link

github-actions bot commented Aug 23, 2023

Support References

This comment is automatically generated. Please do not edit it.

  • 6711609-zen
  • 6717360-zen
  • 6728207-zen
  • 6717645-zen
  • 6655852-zen
  • 7174744-zen
  • 7841284-zen
  • 7995674-zen
  • 8086405-zen
  • 8305581-zen
  • 8473396-zen
  • 8609840-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Aug 23, 2023
@cuemarie
Copy link

This has been moved to an internal P2 for further investigation: p2EDhh-23L-p2

📌 ACTIONS

  • Closing as not reproducible
  • Feel free to reopen if the P2 investigation helps uncover a bug/consistent steps to replicate!

@cuemarie cuemarie closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
@cuemarie cuemarie added [Closed] Not Reproducible Issue cannot be reproduced. and removed [Status] Needs Author Reply Needs triage Ticket needs to be triaged labels Aug 24, 2023
@the-misha
Copy link

Another, possibly related issue: 6717360-zd-a8c

User in chat is reporting their newest subscriber can't view Paid Content when logged into their WPCOM account. Confirmed this by logging in as subscriber. Checked another subscriber as well, which worked without a problem.

@the-misha the-misha reopened this Aug 24, 2023
@the-misha the-misha added Needs triage Ticket needs to be triaged and removed [Closed] Not Reproducible Issue cannot be reproduced. labels Aug 24, 2023
@cuemarie cuemarie moved this from Done 🎉 to Needs Triage in Automattic Prioritization: The One Board ™ Aug 24, 2023
@cuemarie
Copy link

Hey @Automattic/gold ! 👋 I wasn't able to reproduce this in triage or find a duplicate issue, but it seems like it might not be user-specific, and I feel like y'all may have come across this kind of issue before. Can you take a look?

@millerf
Copy link
Contributor

millerf commented Aug 24, 2023

👋

and a parameter 'token' is added to the URL.

That is totally fine.

I'll follow up on the P2: p2EDhh-23L-p2

@ha-un
Copy link

ha-un commented Aug 26, 2023

Similiar issue: 6728207-zd-a8c

When viewing as a subscriber, login button appears but after clicking on it, the button disappears and still shows guest view content. Confirmed contents were set up correctly.

@cuemarie cuemarie moved this from Needs Triage to To Do in Automattic Prioritization: The One Board ™ Aug 30, 2023
@cuemarie cuemarie added Triaged To be used when issues have been triaged. and removed Needs triage Ticket needs to be triaged labels Aug 30, 2023
@cuemarie
Copy link

Thanks for looking into this one @millerf !

📌 ACTIONS

  • Triage completed (for now, but please ping me if I can help with any repro tests following further investigation!)

@the-misha
Copy link

User in 6717645-zd-a8c let us know their subscriber was able to get in the following day. Possibly it took a day to add the access to their WPCOM account...?

@millerf
Copy link
Contributor

millerf commented Sep 1, 2023

User in 6717645-zd-a8c let us know their subscriber was able to get in the following day. Possibly it took a day to add the access to their WPCOM account...?

It could eventually happen if they had a delay in the Jetpack sync (provided they were on Atomic or self-hosted)... But glad it worked in the end...

@filipanoscampos
Copy link

6655852-zd-a8c

I was also able to reproduce this on a test site.

@dsas
Copy link
Contributor

dsas commented Sep 15, 2023

User in 6717645-zd-a8c let us know their subscriber was able to get in the following day. Possibly it took a day to add the access to their WPCOM account...?

There's an issue open for "doesn't work for first 24 hours" here: #68506 & here https://github.com/Automattic/payments-shilling/issues/458

One thing it's worth doing with premium content blocks is ensuring the user hasn't accidentally removed the special premium content login/subscribe buttons and replaced them with their own random buttons (see #69427 (comment) & Automattic/jetpack#28331)

See #69427 for more investigation of this problem.

@kelasante
Copy link
Collaborator

kelasante commented Oct 16, 2023

Another report here: 7174744-zd-a8c. Added details about that report to P2: p2EDhh-23L-p2

@jp-imagines
Copy link

Another report here as well I believe: 7841284-zd-a8c
Commenting in https://github.com/Automattic/gold/issues/36 too, as it looks like this should have been fixed back in October.

@millerf
Copy link
Contributor

millerf commented Apr 2, 2024

This should be fixed now (see my comment: https://github.com/Automattic/gold/issues/36#issuecomment-1991453754).

@davipontesblog
Copy link
Contributor

I am reopening this as it's been once again reported by a user in 7995674-zd-a8c. I could reproduce on another page of their site as well.

  • Clicking on the "Log in" button from the Membership Access page should bring you to a WordPress.com login page. if you are already logged in, it doesn't, instead, it's supposed to show you the content behind "Subscriber view" on the block, refreshing the page in the process and adding a 'token' to the browser URL. Sometimes this does not happen, the button disappears once you click it, and the exact same content from "Guest view" appears otherwise. Refreshing caching seems efficient in clearing the issue.

@the-misha
Copy link

User report: 8086405-zd-a8c

@filipanoscampos
Copy link

May be related: p2EDhh-2cv-p2

@i11za
Copy link

i11za commented Jun 10, 2024

User report: 8305581-zd-a8c - they've had this issue consistently for at least a year now, also reported here.

I'm initially able to replicate on their site, with various subscribers:

  1. Access page with Paid Content
  2. Log in to access paid content
  3. Get redirected back to "Guest view"
  4. Reload page - see "Subscriber view"

@CodeAllNightNDay
Copy link

CodeAllNightNDay commented Jul 13, 2024

This user's subscribers seem to be experiencing the same issue:
8473396-zd-a8c

@jerrysarcastic
Copy link

This issue has also been found with another site owner using the Paid Content Block
8609840-zd-a8c

@github-actions github-actions bot added the [Interaction #] > 10 (Automated) interaction count label for better visibility. Please don't add these manualliy. label Aug 20, 2024
@millerf
Copy link
Contributor

millerf commented Aug 21, 2024

discussions here: p1724187327555669-slack-C01B6KEJ5GE

@millerf
Copy link
Contributor

millerf commented Sep 25, 2024

@millerf millerf closed this as completed Sep 25, 2024
@millerf
Copy link
Contributor

millerf commented Dec 12, 2024

For the record I tested it pretty extensively, and it seems to work fine.

https://github.com/Automattic/gold/issues/539#issuecomment-2539495725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". Earn [Feature Group] Customer Seller Experience The customer experience when purchasing services or products. [Feature] User Payments & Donations The configuration screens and tools for users to receive payments and donations on their sites. [Interaction #] > 10 (Automated) interaction count label for better visibility. Please don't add these manualliy. [Pri] Normal Schedule for the next available opportuinity. [Product] WordPress.com All features accessible on and related to WordPress.com. Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended
Development

No branches or pull requests