Page MenuHomePhabricator

Add existing donor matching to PendingTransaction::resolve
Closed, ResolvedPublic

Description

This task is to enhance the PendingTransaction::resolve API call created in T291223 to capture donations meeting the conditions defined in T276183, skipping the fraud scoring. When donors do not meet those conditions the fraud scoring should be applied as usual.

  • email address matches existing donor with
    • at least one good prior donation > 1 month ago
    • no canceled or refunded donations
    • no donations within the last 24 hours (to avoid double-charging a donor who tried again)
      • bonus: if they HAVE one within the last 24 hours, cancel the pending donation at Ingenico so Donor Relations doesn't have to deal with it.

Event Timeline

jgleeson subscribed.

Currently thinking about how to take this cookie out of the jar.

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

[wikimedia/fundraising/crm@master] WIP add donor matching to pending txn resolver

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

Change 739669 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add donor matching to pending txn resolver

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

DStrine set Final Story Points to 2.
DStrine changed Final Story Points from 2 to 4.Dec 21 2021, 8:16 PM