Automattic / wp-calypso

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

Jetpack Checkout: Issues when purchasing a Jetpack Backup plan for a site using a standalone plugin #75895

Open jeherve opened 1 year ago

jeherve commented 1 year ago

Quick summary

No response

Steps to reproduce

  1. Start with a site without any Jetpack plugins.
  2. Install and activate the Jetpack Social plugin.
  3. After installing, connect the site to WordPress.com.
  4. Then, go to https://cloud.jetpack.com/backup/yoursite.com
    • You will be prompted to purchase a plan

What you expected to happen

I expect to be able to purchase a Jetpack VaultPress backup plan, and upon purchase, the Jetpack VaultPress Backup standalone plugin should be installed.

What actually happened

Instead:

  1. I get an error with placeholders:
Screenshot 2023-04-18 at 15 22 48
  1. Upon purchase, I'm redirected to Jetpack Cloud and everything seems to be working fine:
image

But neither Jetpack or not Jetpack VaultPress Backup are installed on my site right now

  1. Even though Jetpack Cloud tells me the backup was complete, it obviously wasn't since I'm not using a backup plugin. To confirm that, I'm getting an email telling me the backup wasn't successful, but not really telling me I should install a plugin:
image
  1. I was able to add my server credentials and it was able to make a backup with no issues. I suppose I do not need a backup plugin after all.

Impact

All

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Self-hosted

Logs or notes

No response

rcanepa commented 1 year ago

FYI @jeherve, this was fixed on https://github.com/Automattic/wp-calypso/pull/75931.

jeherve commented 1 year ago

Thanks! By "this", I assume you mean the first issue with the display of the notices?

rcanepa commented 1 year ago

Oh! You are right. I was referring to the broken notice; I missed the rest of it completely.

You say you didn't have Jetpack or Jetpack Backup installed. Could you let me know what plugin you installed to set up the connection?

I expect to be able to purchase a Jetpack VaultPress backup plan, and upon purchase, the Jetpack VaultPress Backup standalone plugin should be installed.

AFAIK, we never implemented the functionality to automatically install standalone plugins after purchases, which we should do. So, we need an item on the roadmap if we don't have one yet (to my knowledge, we don't).

I was able to add my server credentials and it was able to make a backup with no issues. I suppose I do not need a backup plugin after all.

Did this work without installing Jetpack or Jetpack Backup?

jeherve commented 1 year ago

Could you let me know what plugin you installed to set up the connection?

Jetpack Social.

Did this work without installing Jetpack or Jetpack Backup?

Yes. I only have Jetpack Social installed on the site.