Page MenuHomePhabricator

Adyen chargebacks not at Gravy, listener sends to queue with gateway=adyen
Closed, ResolvedPublic

Description

And with order_id = gravy's reconciliation ID
For example, this one: https://civicrm.wikimedia.org/civicrm/damaged/edit?action=update&id=714451&reset=1

It's a chargeback on this gravy transaction: https://wikimedia.gr4vy.app/merchants/default/transactions/e00422eb-e4b6-4998-8f61-031264126bbe/overview

Note that gravy still has it as Captured, while at Adyen it's shown as a chargeback: https://ca-live.adyen.com/ca/ui/transactions/payments/M6JM87W8SSN5D2Z3/

{
  "gateway_refund_id": "ZJ63ZCNHJDLW4B24",
  "gateway_parent_id": "M6JM87W8SSN5D2Z3",
  "payment_method": "sepadirectdebit",
  "order_id": "6oiAdapjXAtjS1dEgJZhsc",
  "gross_currency": "EUR",
  "gross": 50,
  "date": 1772522172,
  "gateway": "adyen",
  "reason": "SL01:SpecificServiceofferedbyDebtorAgent",
  "type": "chargeback",
  "source_name": "SmashPig",
  "source_type": "listener",
  "source_host": "frpig1002",
  "source_run_id": 3371387,
  "source_version": "78960c68654c0549f9fabc30728c7fc8f9a5fbef",
  "source_enqueued_time": 1772522176,
  "damaged_id": 714447
}

Event Timeline

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

[wikimedia/fundraising/SmashPig@master] WIP record gravy chargebacks from Adyen IPN listener

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

Change #1248032 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Record gravy refunds/chargebacks from Adyen IPN listener

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

XenoRyet set Final Story Points to 1.