WooCommerce Subscriptions adds subscription records to the personal data tools in WordPress and WooCommerce. Store administrators can export subscription data for a customer, remove it on request, or set how long to retain it after a subscription ends.
Data Subscriptions uses
↑ Back to topA subscription record can include its ID, creation date, recurring total, and items, along with customer details such as billing and shipping addresses, phone number, email address, IP address, and browser user agent. The payment gateway can also store a payment token.
Data retention
↑ Back to topInactive user data retention
Go to WooCommerce > Settings > Accounts & Privacy. Under Personal data retention, the Retain inactive accounts setting controls when WooCommerce removes inactive customer accounts. WooCommerce Subscriptions excludes customers with a subscription from this cleanup. See Accounts and Privacy settings.
Ended subscription data retention
In the same section, use Retain ended subscriptions to set how long WooCommerce keeps personal data on ended subscriptions and their related orders. By default, the cleanup can apply to Cancelled, Expired, and switched or trashed subscriptions. After the retention period, the cleanup anonymizes personal data.
Export or erase customer data
↑ Back to topUse the WordPress personal data tools for requests that apply to a customer’s account. Use the bulk action in WooCommerce when you need to remove data from selected subscriptions.
Data export
↑ Back to topIn WordPress admin, go to Tools > Export Personal Data and follow the WordPress export instructions. Check the exported file for the customer’s subscription records.
A gift recipient’s export includes Subscriptions Purchased for You and Orders Purchased for You. The order section includes the shipping address for renewal, switch, and resubscribe orders that contain only the recipient’s items. Starting with Subscriptions 9.4.0, those orders also include the shipping phone number. Once the recipient has taken over the shipping address, the purchaser’s export excludes the recipient’s shipping address and phone number for that gifted subscription and for renewals created from then on.
Data erasure
↑ Back to topData erasure setting
- Go to WooCommerce > Settings > Accounts & Privacy.
- Under Account erasure requests, select Remove personal data from subscriptions and save your changes.
- Use Tools > Erase Personal Data to process the confirmed request. Follow the WordPress erasure instructions.
When WooCommerce processes the request, it cancels subscriptions that can transition to Cancelled and removes personal data from the affected subscriptions. WooCommerce deletes existing subscription notes because they can contain personal data, then adds a note recording the removal.
Bulk erase data from subscriptions
- Go to WooCommerce > Subscriptions.
- Select the subscriptions you want to erase data from. Before applying the action, verify the selection. It can cancel eligible subscriptions and remove personal data permanently.
- In Bulk actions, choose Cancel and remove personal data, then select Apply.
This bulk action applies only to the selected subscriptions. To include order data when processing an account erasure request, check the Remove personal data from orders on request option in Accounts and Privacy settings.
How removals are recorded
Open the subscription and check its notes for the entry recording the removal. Starting with Subscriptions 9.4.0, the note identifies the action that removed the data.
- Bulk action – “Personal data removed via the subscriptions bulk action.”
- Account erasure request – “Personal data removed following a personal data erasure request.”
- Retention cleanup – “Personal data removed by the personal data retention cleanup.”
The bulk action and erasure request notes credit the user who ran the removal. Retention cleanup runs in the background. A plugin or custom code that removes data without naming a source still produces the note “Personal data removed.”
Privacy Policy Guide
↑ Back to topIn WordPress admin, go to Settings > Privacy > Policy Guide and open the WooCommerce Subscriptions section. It describes the information Subscriptions collects and what your store may share with payment processors.