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

Allow site admins to renew plans (even if they do not own it) #92091

Open mrfoxtalbot opened 2 months ago

mrfoxtalbot commented 2 months ago

What

Site admins should be able to renew any subscriptions on their site even if the subscription was added by a different user.

Screenshot 2024-06-25 at 17 55 37

This plan was purchased by a different WordPress.com account. To manage this plan, log in to that account or contact the account owner.

Why

We receive a non-insignificant number of support requests from users who are administrators of a website but do not own the subscriptions for that site. The subscriptions were purchased by a different user. This is a fairly common scenario in organizations ran by volunteers where people come and go.

96944082-e4768a80-14a7-11eb-8147-377ec47e9064

In cases like this, we will create a manual payment for the non-owner admin and, once they complete the payment, we will update the subscription's expiration date. This poses several problems:

How

We already have a "Gift a Subscription" feature that allows ANYONE to pay for the plan renewal as long as the site's admin activates it. The net effect would be similar to showing this banner to non-owner admins on the site. I am not proposing that specific path, it is just an illustration of the idea.

gift-banner

We could re-use this flow to let admins pay for renewals with two caveats:

This would also fix https://github.com/Automattic/wp-calypso/issues/46706 already have

mrfoxtalbot commented 2 months ago

Two more thoughts:

mrfoxtalbot commented 2 months ago

I just played into something related: 8388370-zd-a8c Users want to upgrade a plan but they can't because their current plan was added by a different admin.

jartes commented 2 months ago

Another related one: 8349692-zd-a8c