HomePhabricator

Fix comm status and error checking for PaymentStatus

Authored by Ejegg.

Description

Fix comm status and error checking for PaymentStatus

Create helper functions to inspect the two different types of
responses.
Communication status should still be true if response is valid
but indicates something else is wrong. It should only be false
when the response is malformed or missing.

Bug: T90504
Change-Id: I02dc5496fd1527ffa1cb9d2e56b9e6e71fec7587

Details

Committed
awightMay 8 2015, 5:39 PM
Parents
rEDOIe0bc1766565b: Clarify purpose of addResponseData
Branches
Unknown
Tags
Unknown
References
refs/changes/27/206327/9
ChangeId
I02dc5496fd1527ffa1cb9d2e56b9e6e71fec7587