Inhibit all subscriptions operations when site is in Safe mode
#5555
Labels
category: core
WC Payments core related issues, where it’s obvious.
component: wcpay subscriptions
Issues related to Stripe Billing Subscriptions
focus: subscriptions
type: bug
The issue is a confirmed bug.
Describe the bug
See also related report #5384
WCPay has a safe mode which kicks in when multiple sites are connecting to the same WCPay account.
WCPay Subscriptions are stored in Stripe (i.e. in WCPay backend). Any actions that change or edit or delete subscriptions should not be attempted on a site in safe mode.
The goal of this issue is to check for safe mode and prevent lossy actions from firing. This will reduce the chance of an accidental or duplicate site breaking subscriptions on the production / primary site.
To Reproduce
Details TBD. Here's a rough overview (I have not tested this)
Screenshots
Expected behavior
Any destructive actions, or actions that change production data, should be disabled in safe mode.
The text was updated successfully, but these errors were encountered: