Contact custom fields in WMF_Donor are currently calculated in an edit hook on Contributions. The calculations need to be based on the financial transaction tables. Does the hook also need to run on those tables?
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Update contribution_post hook to look at transaction totals | wikimedia/fundraising/crm | master | +14 -6 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T90630 Recurring Payments Reporting | |||
Resolved | • mepps | T97372 Enable ability to look up contacts by phone number | |||
Resolved | None | T77910 [epic] Upgrade Civi to 4.6 & integrate new reporting | |||
Resolved | None | T116416 [Epic] Followup tasks after Civi 4.6 upgrade | |||
Resolved | Eileenmcnaughton | T116317 [Epic] CiviCRM upgrade: Adapt refund processing & reporting to reflect changes since the upgrade. | |||
Resolved | Eileenmcnaughton | T124834 Fix WMF_donor rollup calculations to use financial transactions |
Event Timeline
Comment Actions
Change 269587 had a related patch set uploaded (by Eileen):
Update contribution_post hook to look at transaction totals
Comment Actions
I added a patch to the post to fix the usd lifetime total - I think it's enough to call it from contribution post hook.
I'm on the fence about how to handle other fields in the set.
The fields are
Last donated
Last USD amount
Donated in year x
Last original amount
Last currency
It feels like we need to look back to the last contribution that stays completed (ignore refunds)
Comment Actions
Change 269587 merged by Eileen:
Update contribution_post hook to look at transaction totals