Previously, we hadn't actually been using Adyen reports as audit files - just finding dangling auths and charging them. If our IPN somehow missed a notification, or if the queue was down when the donor hit our site, we'd never record the donation. We should process Adyen audit files like the others, merging data from the report with data from the logs to reconstruct any donation that may have been missed.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T93302 Big English Fundraiser - December | |||
Resolved | None | T90748 [epic] Get Adyen back up | |||
Resolved | None | T118202 [epic] Adyen campaign ready | |||
Resolved | • cwdent | T121129 Process the Adyen audit file like the other audit files are processed |
Event Timeline
Looks like we need to subscribe to a second report to see chargebacks. There's no type for them on the Payments Accounting Report we're using to clear uncaptured authorizations, but they are one of the journal types for Settlement Detail Report.
Let me know if you need any updating on current status of the processing refunds into civi (not much to say - just call mark_refund)
The current audit parser built in to SmashPig does just about nothing. It was capturing all the un-captured authorizations, and nothing else. Now that we want to leave un-captured authorizations for review, it shouldn't even do that.
Suggestion: build an audit parser in the style of AstroPay and Worldpay which runs under CRM. The initial version can satisfy this ticket by parsing out chargebacks and refunds only. I think that means we can stub out the log parsing functions. Later we can expand it to parse donation details out of logs and confirm any new donations we missed due to listener or queue outage.
Change 270353 had a related patch set uploaded (by Ejegg):
Log Adyen donation details before redirect
Change 271450 had a related patch set uploaded (by Ejegg):
Rename get_recon_file_date function
Change 271937 had a related patch set uploaded (by Ejegg):
Enable adyen_audit in wmff build
Change 271938 had a related patch set uploaded (by Ejegg):
Tests for Adyen audit parser