As a DEVELOPER, I want to handle rollbacks for unauthorized transactions to ensure that fraudulent activity is removed from a user’s transaction history and does not affect their carbon score.
A/C:
[ ] Add an authorized/unauthorized attribute to Transaction table.
[ ] When a transaction is marked as unauthorized, update the affected fields (e.g., EnvironmentalImpactInfo) to exclude these transactions.
[ ] Test rollback functionality to ensure unauthorized transactions are removed correctly without affecting legitimate data.
As a DEVELOPER, I want to handle rollbacks for unauthorized transactions to ensure that fraudulent activity is removed from a user’s transaction history and does not affect their carbon score.
A/C: