Page MenuHomePhabricator

Auto-Rescue Audit processing updates and cancel_reason
Closed, ResolvedPublic4 Estimated Story Points

Description

Adyen can send over individual records for each Auto-Rescue attempt in our nightly audit settlement report as described here

If Stakeholders require this new data, look over the existing AdyenAuditProcessor to confirm whether or not these new entries warrant changes to our current processing.

Event Timeline

@jgleeson Yes, we'd like to see the reattempt activity somehow to assess the impact of this. If we capture this, how would we store it and look at it? Would it be captured in Civi?

Looks like the file these would be added to is one we're not currently downloading: the Received payment details report.

Another way to record information about these retry attempts in Civi would be to listen for the 'failed attempt' IPNs (as part of T340164) and add activity records to the Civi contact when those happen.

Dwisehaupt set the point value for this task to 4.Jul 19 2023, 4:29 PM

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

[wikimedia/fundraising/crm@master] Add log and cancel_reason to indicate the failed reason

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

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

[wikimedia/fundraising/SmashPig@master] Add log and cancel_reason to indicate the failed reason from IPN message

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

For audit parse part: doubled checked the payment accounting report,
no need to update the audit file, that we have additional status as refuse due to auto rescue, treated just like unknow status will be fine, and the settled one will be record properly also.
https://ca-test.adyen.com/ca/ca/reports/details.shtml?reportCode=S3B-VDE8MFBnUmMldCYpY32wufidpI32s33NUQ4eiRI

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

[wikimedia/fundraising/SmashPig@master] Add normalized property for auto-rescue refusal reason

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

Change 971493 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Add normalized property for auto-rescue refusal reason

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

AnnWF renamed this task from Auto-Rescue Audit processing updates to Auto-Rescue Audit processing updates and cancel_reason.Nov 16 2023, 7:23 AM

Change 958563 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add log and cancel_reason to indicate the failed reason

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

Change 958999 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Add cancel authorize process from auto rescue end process's webhook message

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

XenoRyet set Final Story Points to 4.