Description
Details
Related Objects
Event Timeline
Slack thread for this error is here https://wikimedia.slack.com/archives/C045WH0QYS2/p1766481615347729
While this instance was an example of user error, FR-Tech talked about how we could expose error messaging or get ahead of this kind of error so as not to impact the queues or donors (i.e. ignore contact ID/hash but accept donation mapping to target contact).
Slack thread with context: https://wikimedia.slack.com/archives/C045WH0QYS2/p1766481615347729
Ultimately we want to ensure donations get into Civi, but also catch and flag any badly formatted email params.
@Damilare so maybe we should create a new Phab for showing a notification on the payments screen when token placeholders are found in the URL? Wording would need to explain the problem to testers and still let donors know they can continue with their donation. Then against this ticket we could do the work to discard bad values before they break the import to CIviCRM. Potentially we would want to do this in DonationInterface similar to how we validate donation amounts.
Sure thing @Ejegg. I've created this phab: https://phabricator.wikimedia.org/T414497, this one would focus only on the validation in DI.
Ok, misread the comment, I'd add the feature to discard the bad values on the import in Civi.
Change #1227803 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):
[wikimedia/fundraising/crm@master] Ensure Donation consumer does not break when template strings get into the message contact_id parameters
Change #1227803 merged by Eileen:
[wikimedia/fundraising/crm@master] Ensure Donation consumer does not break when template strings get into the message contact_id parameters