EARS: When the airline reports the outcome of a payment method's transaction, the system shall record it as the transaction's status if the move from the recorded status is allowed.
Story: As an airline, I want the outcome of each payment method's transaction recorded as it arrives, so that a payment's status follows what I know about its funds.
Acceptance criteria:
-
ONE-303.1: When the airline reports a SUCCESSFUL or FAILED outcome for a payment method's transaction that is still PENDING, the system shall record the outcome.
-
ONE-303.2: When the airline reports the outcome of one payment method's transaction, the system shall leave the transactions of the payment's other methods unchanged.
-
ONE-303.3: The system shall never change the status of a payment that is SUCCESSFUL or FAILED.
Which moves are allowed besides those out of PENDING is a reading of the guide
(see OutcomeReading).