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.