Page MenuHomePhabricator

Duplicate transaction not settling correctly (also should probably reverse it)
Closed, ResolvedPublic

Event Timeline

The ones I found

SELECT count(*) as c, backend_processor_txn_id FROM wmf_contribution_extra WHERE backend_processor_tx
n_id IS NOT NULL AND backend_processor_txn_id <> '' AND gateway ='gravy' GROUP BY backend_processor_txn_id HAVING c > 1;

cbackend_processor_txn_id
26Y000841YR5584729
2BZR78QXLWJRLDC69
2C8X96PNXLJ6TJM35
2CCLRX4SGCS6BLX25
2DHN52N2W6FKD7K69
2DM73X5223569GZ99
2F62NMTHN5GD63735
2H6D5ZTD4J88T4F69
2HP3LNTJTXPCWMD35
2JHT5VBP6LHDR5569
2K632M6ZGCS6BLX25
2LFJL6N6XJNZSK569
2LKJ94K3RFBH7D869
2NL2FHXM5RSLH63B9
2NM7LVMRSGVKC42B9
2P8BK7H37RSLH63B9
2PM895WLVPKQ3H7B9
2PR9WFJL8SDZBSX25
2QLG6PKD5V3QPQMB9
2R4KFR3WHZ6FMPS99
2RMQ78QG4NXWSZC35
2S69PRLVZVJRLDC69
2TNH6C49KQN4RMDB9
2TTP4HDRCM5PKNLB9
2V8CPP9VQ3F9T5T25
2W5J23CBQ3F9T5T25
2XPSHQ5W23569GZ99
2Z7N9MLWXLM5BKJ69
2Z9JCJCR98T5SDNB9

+---+--------------------------+
29 rows in set (18.753 sec)

6 of the above were templates (cleared) & I cleared the original one manually

New query excludes chargeback reversals

SELECT count(*) as c, GROUP_CONCAT(contact_id), backend_processor_txn_id FROM wmf_contribution_extra x INNER JOIN civicrm_contribution c ON x.entity_id = c.id WHERE backend_processor_txn_id IS NOT NULL AND backend_processor_txn_id <> '' AND gateway ='gravy' AND trxn_id NOT LIKE 'chargeback_re%' GROUP BY backend_processor_txn_id HAVING c > 1;

I've fixed the ones recent enough to be in the pending table - which should be enough

c |contact_ids | backend_processor_txn_id |comment

212769425CCLRX4SGCS6BLX25back in Aug
240300849DM73X5223569GZ99Back in Sep
268758038H6D5ZTD4J88T4F69Oct - fixed
225110915JHT5VBP6LHDR5569Sep
210318928K632M6ZGCS6BLX25Aug - noted in DR slack channel as larger amount
250133189PR9WFJL8SDZBSX25Aug
239852746R4KFR3WHZ6FMPS99Sep
268344192TNH6C49KQN4RMDB9aug
236241250TTP4HDRCM5PKNLB9fixed
268360720V8CPP9VQ3F9T5T25Sep
25104115W5J23CBQ3F9T5T25Sep
230882616XPSHQ5W23569GZ99Sep - fixed
266464263Z7N9MLWXLM5BKJ69Apr

Change #1219532 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Keep refund_reversal date, do not let recurring contaminate it

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

Change #1219532 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Keep refund_reversal date, do not let recurring contaminate it

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

Change #1220051 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Find original details from contribution for chargeback, refund, reversals

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

Change #1220051 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Find original details from contribution for chargeback, refund, reversals

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

XenoRyet set Final Story Points to 4.