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

Add warning when deleting payment method assigned to a subscription #60629

Open sirbrillig opened 2 years ago

sirbrillig commented 2 years ago

When a payment method is removed, it will be removed from any active subscriptions that it is assigned to. However, this could be confusing for users if they don't realize that this may cause their subscription not to auto-renew.

It may be a good idea to warn a user before the payment method is deleted, perhaps with a confirmation modal, that the payment method is assigned to something.

DavidRothstein commented 2 years ago

Somewhat related internal issue: 265-gh-Automattic/payments-shilling

Also some discussion in the recent Slack thread (p1643386707312529/1643360903.748149-slack-C0117V2PCAE), including @sirbrillig's point about the need to consider backup payment methods in any messaging here.

DavidRothstein commented 1 year ago

From pNPgK-6Dr-p2 we should make sure that any warning here also somehow references subscriptions that the payment method is assigned to but that are from a service that is not otherwise managed on WordPress.com (for example, something other than WPCOM/Jetpack/Akismet).