Page MenuHomePhabricator

Ingenico: audit lagging on manual settled transactions?
Closed, ResolvedPublic


The Ingenico donations that we manually settle seem to vary in how quickly they reach Civi.

Order ID 4001030708 Merch Ref 66010478.1 is the first instance of a new recurring donation. I
manually settled it on March 1, and it reached status 975 same day, but it is not in Civi today, March 4th.

By contrast, Order ID 4001019240 Merch Ref 65968972.1 we manually settled on Feb 28th, and it jumped up to status 975 that day, and it reached Civi on March 2nd.


  • what is the expected timeframe for manual settles to reach Civi, given how the audit is set up currently?
  • is there any chance it may be slower for recurring donations than for one-times?

It will be helpful to be able to accurately tell these donors when to expect their TY emails.

Event Timeline

MBeat33 created this task.Mar 4 2019, 5:14 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 4 2019, 5:14 PM
Ejegg claimed this task.Mar 7 2019, 6:24 PM
Ejegg triaged this task as Medium priority.
Ejegg added a comment.Mar 7 2019, 11:30 PM

Looks like 66010478.1 came in on the audit file that was delivered March 4th, and we imported it into Civi on (UTC) March 5th at 1:40 .

We do get Ingenico WX audit files on the weekend, but they're about 1/10th the size of the weekday ones. Not sure if that's related to our donation volume, or if there's something about their reporting system that delays most of them till Monday. Monday files DO seem to be bigger than other weekdays on average.

Thanks, @Ejegg I can just factor in a bit more of a delay for manual-settles done on Fridays, it sounds like.

To follow up on T208261: Ingenico: 10/15 or 10/18 audit missing refunds?, how long is a good time period to wait before asking about refunds (or other transactions) that don't reach Civi? The ones in that task were a few weeks overdue.

Here's a recent Ingenico refund that has not migrated to Civi:
transaction ID 4001088437, reference 66225968.1 refunded on March 7th.

Ejegg added a comment.Mar 13 2019, 9:21 PM

Aha, looks like we're not counting the refund code we get in the audit when the payment hasn't been collected yet.

From the WX format docs:

Data records succesful created refunds (all payment products) X CR
Data records refunds on collected card payments - CR

We are currently only parsing the "- CR" records.

Change 496320 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/SmashPig@master] Count 'XCR' type refunds, not just '-CR'

Change 496320 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Count 'XCR' type refunds, not just '-CR'

Change 496479 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/SmashPig@master] Add another payment product mapping for Ingenico

Change 496479 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Add another payment product mapping for Ingenico

Change 496678 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/SmashPig@master] Fix audit parsing for XCR records

Change 496678 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Fix audit parsing for XCR records

Ejegg closed this task as Resolved.Mar 15 2019, 10:41 PM

OK, that seems to have gotten the 66225968.1 transaction refunded.