Currently we delete the recurring reference from a contribution recur row when we receive a chargeback notification on the recur payment. This doesn't cancel the autorescue attempt on the payment if present.
For Ideal, it seems recurring payment attempt on donors with insufficient funds in their account at the time of charge leads to a chargeback that is autorescueable. Doesn't look like the chargeback is donor initiated. However, since we clear out the rescue reference at the chargeback notification, we are unable to process the payment when the autorescue attempt is successful.
We may need to:
- Not clear the rescue reference on the recur record on Ideal chargebacks.
- Cancel autorescue payment attempts on chargebacked recur records.
- Figure out how to consume the autorescued payments