Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

New global site view doesn't update fast enough for plan upgrades #90977

Open dsas opened 3 months ago

dsas commented 3 months ago

Quick summary

I bought an explorer plan and then immediately upgraded to creator, when I visited https://wordpress.com/overview/deantest35.wordpress.com it said I had the explorer plan still and encouraged me to upgrade. This was confusing.

Steps to reproduce

  1. Go to wordpress.com/start
  2. Create a site using the Explorer plan
  3. In the upsell post-checkout upgrade to the Creator plan
  4. Go to https://wordpress.com/overview/:site (if it matters I did this initially by going via https://wordpress.com/hosting-config/:site

What you expected to happen

It should say that I have the Creator plan. I should be able to activate hosting features.

What actually happened

It said I had the Explorer plan. I get the "Unlock dev tools" promo

Impact

One

Available workarounds?

Yes, easy to implement

Use Dev tools to clear the calypso storage

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

dsas commented 3 months ago

In fact, even after clearing the calypso local storage and refreshing something is weird. I'm still getting the "Unlock dev tools" promo even though the Overview says I have the Creator plan.

https://github.com/Automattic/wp-calypso/assets/93301/c2ab2e6f-27d9-4dad-bfef-fe1113a93896

candy02058912 commented 3 months ago

In fact, even after clearing the calypso local storage and refreshing something is weird. I'm still getting the "Unlock dev tools" promo even though the Overview says I have the Creator plan.

I believe this part is related to https://github.com/Automattic/dotcom-forge/issues/7348, to confirm, is the site still a Simple site?

dsas commented 3 months ago

to confirm, is the site still a Simple site?

Yes that's it!

mrfoxtalbot commented 3 months ago

@candy02058912, @dsas, can we close this one and continue the conversation on the related/main issue? Thank you!

dsas commented 3 months ago

It seems there are two issues here @mrfoxtalbot, and I think they will need separate fixes