Page MenuHomePhabricator

Update Adyen listener to deal with Gravy transactions
Closed, ResolvedPublic2 Estimated Story Points

Description

Drop all Gravy-initiated donations
Listen for all ipn messages on Gravy-initiated donations, instead of send to adyen, drop it to avoid duplicate audit

Event Timeline

Let's drop these right away instead of letting them get on the jobs-adyen queue and filter out that way.

Dwisehaupt set the point value for this task to 2.Aug 26 2024, 8:06 PM

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

[wikimedia/fundraising/SmashPig@master] if ipn message contains additionalData gr4vy

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

We might need to broaden the scope of this ticket and block all IPNs that include the Gravy metadata.

I was just testing gravy refunds where the backend processor is Adyen, and I noticed the RefundQueueConsumer tried to process two refunds for the same payment, one for the gravy refund message and one for the Adyen refund message.

The adyen refund failed due to:

18   │ 2024-09-10 15:40:02,734 ERROR   civicrm.wmf.ERROR: wmf_common: Failure while processing message: MISSING_PREDECESSOR Parent not found: ADYEN CWTBF3WXXSLVZ569

Change #1074424 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[wikimedia/fundraising/SmashPig@master] Rename Gr4vy to Gravy to avoid the 4 sneaking back in... silly 4.

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

Change #1071680 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] if ipn message contains additionalData gr4vy

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

Change #1074424 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Rename Gr4vy to Gravy to avoid the 4 sneaking back in... silly 4.

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

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

[wikimedia/fundraising/SmashPig@master] Add additionalData to adyen message to parse

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

Change #1075063 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Add additionalData to adyen message to parse

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

XenoRyet set Final Story Points to 4.