Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce SQL Sanitize

Security covered Under active development 192 sites

Part of the Commerce ecosystem · 487 projects

This project enhances Drush's SQL sanitize command to clean up sensitive data specific to Drupal Commerce. It can anonymize order emails and IP addresses, clear address fields, remove logs, delete carts and tax numbers, and remove payment methods.

This project extends Drush's SQL sanitize command to perform additional operations on Commerce specific fields and tables. This includes:

  • Sanitize order email and IP addresses
  • Sanitize addresses (converting most values to `[Sanitized]`)
  • Delete all commerce logs (e.g., from the order activity stream)
  • Delete all carts, though not all _Draft_ orders
  • Delete all tax numbers from customer profiles
  • Delete all payment methods

Command line options let you disable any of these operations.

Drupal 9–11

Ask your assistant about Commerce SQL Sanitize

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0 Stable 9–11 Feb 7, 2025
1.0.x-dev Dev 9–11 Mar 1, 2024