Page MenuHomePhabricator

Update contribution_recur row if needed when recording recurring payments
Open, MediumPublic

Description

In some cases we mistakenly mark a row as failing and set it to try again the next day, but the payment ends up going through. T417088: Recurring contributions can be incorrectly marked as failing, resulting in double charges

When the payment is recorded via IPN or audit file, we should check that the status of the associated contribution_recur row is 'In Progress' and that the next charge date has been advanced to the next month.