Page MenuHomePhabricator

Recurring ACH looks like a success but then is actually failed
Open, Needs TriagePublic

Description

example cid=49417526
The donor above has a recurring Trustly ACH, the October 5th billing is in civi as successful but it actually ended up with a declined status and canceled_payment_method
https://wikimedia.gr4vy.app/merchants/default/transactions/062931bb-49ab-45c8-b870-71030f5a3735/overview

The response on the inital API call was "status": "capture_pending",

We got these three ipns in relation:
Oct 5 12:38:45
{"type":"event",
"name":"transaction.authorized",
"id":"50a3c7c6-5dc1-44c8-948e-3d964855e2b7",
"created_at":"2025-10-05T12:38:45.254488+00:00",
"target":{"type":"transaction",
"id":"062931bb-49ab-45c8-b870-71030f5a3735",
"external_identifier":"235107607.3",
"payment_service_transaction_id":"7987166078",
"status":"authorization_succeeded",
"has_gift_card_redemptions":false,
"pending_review":false,
"amount":1000,
"authorized_amount":1000,
"captured_amount":0,
"refunded_amount":0,
"currency":"USD",
"metadata":null,
"created_at":"2025-10-05T12:38:44.994360+00:00",
"updated_at":"2025-10-05T12:38:45.156250+00:00",
"payment_method":{"id":"2cf04ac7-f044-4574-8464-999496380c43",
"method":"trustly"},
"payment_link_id":null,
"error_code":null},
"merchant_account_id":"default",
"gr4vy_id":"wikimedia","environment":"production"} | |

Oct 5 12:38:46
{"type":"event",
"name":"transaction.capture-pending",
"id":"9ad3bdab-de8c-4d17-8145-5a6363dd83af",
"created_at":"2025-10-05T12:38:46.304036+00:00",
"target":{"type":"transaction",
"id":"062931bb-49ab-45c8-b870-71030f5a3735",
"external_identifier":"235107607.3",
"payment_service_transaction_id":"8006930416",
"status":"capture_pending",
"has_gift_card_redemptions":false,
"pending_review":false,
"amount":1000,
"currency":"USD",
"authorized_amount":1000,
"captured_amount":0,
"refunded_amount":0,
"metadata":null,
"created_at":"2025-10-05T12:38:44.994360+00:00",
"updated_at":"2025-10-05T12:38:46.274864+00:00",
"payment_method":{"id":"2cf04ac7-f044-4574-8464-999496380c43","method":"trustly"},
"payment_link_id":null,"error_code":null},
"merchant_account_id":"default",
"gr4vy_id":"wikimedia","environment":"production"} | |

Oct 5 12:38:48
{"type":"event","name":"transaction.declined",
"id":"dec4ef21-80ef-4351-9a69-8937e04b320e",
"created_at":"2025-10-05T12:38:48.078890+00:00",
"target":{"type":"transaction","id":"062931bb-49ab-45c8-b870-71030f5a3735",
"external_identifier":"235107607.3",
"payment_service_transaction_id":"8006930416",
"status":"authorization_declined",
"has_gift_card_redemptions":false,
"pending_review":false,
"amount":1000,"currency":"USD",
"authorized_amount":0,
"captured_amount":0,
"refunded_amount":0,
"metadata":null,"created_at":"2025-10-05T12:38:44.994360+00:00",
"updated_at":"2025-10-05T12:38:48.023847+00:00",
"payment_method":{"id":"2cf04ac7-f044-4574-8464-999496380c43",
"method":"trustly"},
"payment_link_id":null,"error_code":"canceled_payment_method"},
"merchant_account_id":"default",
"gr4vy_id":"wikimedia","environment":"production"}

Event Timeline

Cstone renamed this task from Check on ACH donations to Recurring ACH looks like a success but then is actually failed.Nov 8 2025, 3:31 AM