Page MenuHomePhabricator

Add RiskScorer for Ingenico to SmashPig
Closed, ResolvedPublic

Description

This should work like the RiskScorer for Adyen, taking an API response, consulting a lookup table, and giving a numerical score for AVS and CVV results.

This will be used in the pending transaction resolver created in T291223 so that we don't have to rely on DonationInterface's AVS/CVV scores.

As preparation for deployment, copy (and reformat) the current Ingenico risk scores from the payments LocalSettings file to the private ingenico/main.yaml SmashPig settings file.

Event Timeline

Looks like the Adyen\RiskScorer code is already pretty generic - we can just move it to a common namespace and add the default map to the Ingenico yaml

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

[wikimedia/fundraising/SmashPig@master] Move RiskScorer to Core namespace

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

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

[wikimedia/fundraising/SmashPig@master] Use risk scorer for Ingenico hosted checkout status

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

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

[wikimedia/fundraising/SmashPig@master] Map tokens to RecurringPaymentToken field

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

Change 735428 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Move RiskScorer to PaymentProvider namespace

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

Change 735447 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Use risk scorer for Ingenico hosted checkout status

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

Change 735464 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Map tokens to RecurringPaymentToken field

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

XenoRyet set Final Story Points to 2.