HomePhabricator

Tweak the cancel/refund logic

Authored by awight.

Description

Tweak the cancel/refund logic

Try cancelling first, it's the only way to stop a charge that hasn't settled
yet.

Do some sketchy stuff with the status code mapping, we're busting DI's rivets,
we'll have to redesign the way data and state are handled to be more
appropriate for workflows other than normal payment.

Bug: T110367
Change-Id: I8848fe6542f46f8284ff8b05bbab401dd0af35a4

Details

Committed
awightAug 31 2015, 5:36 PM
Parents
rEDOIf49d2fa1e956: Correct typos
Branches
Unknown
Tags
Unknown
References
refs/changes/74/234474/3
ChangeId
I8848fe6542f46f8284ff8b05bbab401dd0af35a4