Handles the case of created recorded transactions from recurring contributions, the initial query used did not catch these transactions as the duplicated payment intent was not the last one on the original order.
This cleans the record of these affected orders and transactions.
Follow up on https://github.com/opencollective/opencollective-api/pull/10336
Handles the case of created recorded transactions from recurring contributions, the initial query used did not catch these transactions as the duplicated payment intent was not the last one on the original order.
This cleans the record of these affected orders and transactions.