Page MenuHomePhabricator

Scrub Credit Card Data
Open, HighPublic

Description

When a donation or membership is scrubbed, currently the credit card data is left intact. This contains a transaction ID and should be scrubbed.

Historical data should also be cleared out.

You can see the data that exists in the database and that should be scrubbed marked red in this document https://docs.google.com/document/d/1QNLOc_TrptEcsTYrC-OEdxEKWBymJivcgEg6tTB3KEk/edit?tab=t.0#heading=h.7gsdtiyndpcs

Acceptance Criteria

  • Credit Card data is correctly scrubbed
  • All historical Credit Card data is cleared from the database

Implementation Notes

  • The Credit Card class in the Payment repository should implement the scrubPersonalData method to clear out the unneeded data. You can look at the Bank Transfer or Direct Debit classes for examples.

Event Timeline

AbbanWMDE updated the task description. (Show Details)
AbbanWMDE removed the point value 1 for this task.Tue, Jun 9, 9:57 AM
AbbanWMDE moved this task from Todo to Test on the WMDE-FUN-Sprint-2026-06-09 board.