Page MenuHomePhabricator

Don't send failmail on Adyen unsupported card
Closed, ResolvedPublic

Description

When a donor tries to use a card that Adyen can't find an acquirer for, we show them an error message and also send a failmail.

The donor-facing error should be enough. Stop sending the failmail.

This has happened most frequently trying to accept EUR donations in European countries via UATP cards and Korean local cards.

We should probably add another error code to the SmashPig error enum and map Adyen error 905_1 to that.

Event Timeline

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

[wikimedia/fundraising/SmashPig@master] Move Adyen error code 905_1 from fatal to validation

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

Change 814903 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Move Adyen error code 905_1 from fatal to validation

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

This fix went out with the Adyen 3DSecure fix. Hopefully we will never get email about UATP again!

Hmm, we're still getting failmail on these errors. I guess it wasn't as simple as just moving it to the validation errors column. Maybe it's still failmailing because of the 500 HTTP status?

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

[wikimedia/fundraising/SmashPig@master] Break up big function

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

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

[wikimedia/fundraising/SmashPig@master] Fix failmail on Adyen unsupported card: Take 2

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

Change 819775 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Break up big function

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

Change 819776 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Fix failmail on Adyen unsupported card: Take 2

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

The failmails are still happening. The previous fixes were definitely good to have, but there is still one more change to make so we don't log anything at error level in the SmashPig RestResponseValidator.

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

[wikimedia/fundraising/SmashPig@master] Adyen: Don't failmail on 500 status with errorCode

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

Ejegg triaged this task as Medium priority.
Ejegg moved this task from Doing to Review on the Fundraising Sprint NaN is a Number board.

Change 823270 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Adyen: Don't failmail on 500 status with errorCode

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

Oops, I moved this one backwards when I meant to move a different one backwards. I think this one is actually done now!

XenoRyet set Final Story Points to 4.