Page MenuHomePhabricator

Subsequent recurring donation refunds not showing up in civi
Closed, DuplicatePublic

Description

Found in T272105

When recurring donations are refunded, only the first one of the series makes it into Civi.

This is because there isn't enough information in what is sent back from Ingenico to distinguish 2+ donations on from the first one.

Need to change the SmashPig audit code and the Civi import to figure out what donation it actually is.

Looks like all the 2+ payments have 200001 instead of 100001 at the end of the gateway_txn_id

Event Timeline

SHust removed a subscriber: SHust.

Thank you @Cstone for making this, and for mentioning in chat that backfilling these refunds should be possible, once the fix is built. cid=48796729 is a recent example we found, if you need any more data please let me know.

Change 674470 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/crm@master] Fall back to invoice ID to find refund parent

https://gerrit.wikimedia.org/r/674470

Change 674470 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Fall back to invoice ID to find refund parent

https://gerrit.wikimedia.org/r/674470