Page MenuHomePhabricator

dlocal recurring issue: contribution_id is not being written to the contribution_tracking record following CiviCRM import
Closed, ResolvedPublic

Description

@Pcoombe reported that the contribution_id is missing from the contribution_tracking db record for dlocal recurring transactions. This is affecting reporting.

We do have a problem though: for all the entries in contribution_tracking for recurring dlocal donations, the contribution_id field is NULL. This means we can't tell which banner the donations came from. One-time dlocal seems to be fine

Event Timeline

Examples: CID: 59478704 and 59478705

Change 909742 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[wikimedia/fundraising/crm@master] Add upi-specific check to civicrm import ct update code

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

We've found the issue and have a fix in review. Also, we're gonna update the affected database records with the related contribution_ids

Change 909748 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/crm@master] Link UPI recurring to contribution_tracking

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

Change 909742 merged by Wfan:

[wikimedia/fundraising/crm@master] Add UPI initial recurring check to civicrm import logic.

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

Change 909748 merged by Wfan:

[wikimedia/fundraising/crm@master] Link UPI recurring to contribution_tracking

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

We've found the issue and have a fix in review. Also, we're gonna update the affected database records with the related contribution_ids

You legends! I wasn't even expecting it would be possible to fix the existing records. Confirming they show up in our reporting correctly now!

Change 911335 had a related patch set uploaded (by Wfan; author: Wfan):

[wikimedia/fundraising/crm@master] Add paytmwallet for should update contribution recurring

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

Change 911335 merged by Wfan:

[wikimedia/fundraising/crm@master] Add paytmwallet for should update contribution recurring

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

XenoRyet set Final Story Points to 4.