The flow chart below describes the possible transitions between Transaction status, see "status" field in
Green and red status are final, further transition to another status is not possible.
The flow chart below describes the typical payment flow for POS and E-commerce.