Closed csmcneill closed 6 months ago
Very likely reported by the merchant here 6552608-zd-woothemes
Support References
This comment is automatically generated. Please do not edit it.
This scenario happened to us. We got the backup service for because we were worried about restores screwing up subscriptions. It is a major selling point of the plugin if it works - it would outshine all competitors. If it can't then it's just another backup service.
In our situation, all renewals that had taken place between the backup point and the restore point were instantly re-renewed upon the completion of the restore. All these people were charged again for their subscription even though they had already been charged the day before, since we restored to a point 24 hours earlier.
This falls more into a feature request than a bug. We currently support actions from the core WooCommerce plugin in Jetpack VaultPress Backup's order protection ability. WooCommerce Subscriptions, along with all other WooCommerce add-on plugins don't have the same level of support to trigger real-time events.
We may well support additional plugins in the future, and WooCommerce Subscriptions seems like a good candidate, but it's not in the immediate future.
OK, fair point. It's disappointing because it means Woo Subscriptions sites are effectively un-backupable. They're a weak point in the Woo ecosystem. Many webhosts and third party platforms provide backup services but if you use Woo Subscriptions they will just result in messed up subscriptions data and people being charged twice.
Impacted plugin
Backup
Quick summary
When performing a backup, subscription orders that were placed after the restore point are properly saved. However, the scheduled actions and WP-Cron events that determine when the next renewal should occur are restored, which can create duplicate renewals if it is timed improperly.
Steps to reproduce
Daily
renewal, one week for aWeekly
renewal).A clear and concise description of what you expected to happen.
The next billing date in WooCommerce Subscriptions should not be impacted by a site restore, or the restore options in the following screen should indicate which may or may not impact subscription scheduling:
What actually happened
In this test scenario, the subscription schedule was not retained when restoring from a backup, which resulted in a customer potentially being billed twice following a restore.
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Self-hosted
Logs or notes
The workaround for this is for an affected merchant to refund the duplicate renewal payments. However:
System Status Report:
Site Health Report: