Page MenuHomePhabricator

Mismatch between the Civi refund date vs what we see at the Adyen console
Closed, ResolvedPublic

Description

Amber found out that the donors from the CIDs below have refunds with different dates when comparing Civi and Adyen!

CID1030655 --> Adyen transaction id #146786119.1 was refunded on Jan, 2nd, 2023, however, Civi states that it was refunded on Nov. 24th.

CID 46025572 --> Adyen transaction id#156718487.1 and id#150511720.1 were both refunded on Nov. 28th, 2022, however, Civi states that the refunds were made on Dec 10th and Dec 25th, 2022.

They have one issue in common, the refunded date in Civi is reflecting the date of the donation, not the actual refunded date. Can someone please look into this issue since it’s unclear on how many others were affected?

Thank you!

Event Timeline

Hi @SHust it looks although both the weekly and nightly audit have columns named Creation Date, the nightly file has the original donation date there for refunds while the weekly file have the actual date of the refund.

We can look in the parameters Adyen gives us for the nightly audit and see if there is another column that has the actual refund date.

Change 879690 had a related patch set uploaded (by Cstone; author: Cstone):

[wikimedia/fundraising/SmashPig@master] WIP: Replace booking date with creation date for the payments accounting report

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

Change 879690 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Replace creation date with booking date for the payments accounting report

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

This has been deployed. I updated the payments account report column to switch to booking date and cleaned out all the files in the incoming directory so it won't run with the old columns. I will confirm tomorrow that it's running with the new column.

Confirming that everything is looking good with the column change, refunds coming in on the nightly audit will show the correct refund date now.

XenoRyet set Final Story Points to 4.