Page MenuHomePhabricator

Orphan rectifier for Adyen
Closed, DuplicatePublic4 Estimated Story Points

Description

We rely on the Adyen listener to finalize transactions, which can be fragile. If the listener fails to finalize for any reason, we're left with an orphaned transaction that must be settled manually.

Generalize the rectifier loop to process Adyen transactions and do the needed on them.

Event Timeline

ggellerman set the point value for this task to 4.
ggellerman moved this task from Triage to Sprint +1 on the Fundraising-Backlog board.

Aargh, I just remembered why we don't have this. The IPN notifications are the only way we can get AVS and CVV results - their API is missing status queries.

Huh. Maybe the listener can drop the IPN response into the pending queue directly, before the auth step.

@awight that still leaves the listener as a SPOF doesn't it?

Not sure exactly what you mean - the auth happens in the Adyen iframe. One possibility is that we can ask them to auto-capture authorizations after a certain number of days. In that case, us falling over means charging some people we'd otherwise fraud-fail. That might be better than having to manually capture a ton of things!

This isn't actually required for recurring