| |
---|
Name | UC-WG4-005.2 User chooses payment method |
Actors | Authorized user |
Preconditions | Actor has already chosen fuel type and amount. |
Trigger (Start Point) | Actor clicks “Pay“ button |
Flow of Events (Sunny Day Scenario) | System redirects user on payment page. Actor chooses 1 from 3 payment methods “Card“, “Apple Pay“, “Google pay“ If actor chooses paying by card method system will display popup with list of available cards to choose. Actor chooses card, pays and system shows popup with successful message. a. If not successful transaction look UC-WG4-005.2.a(Rainy day) If actor chooses paying via “Apple pay“ method then system shows guides how to pay with this method and if actor pays successfully system shows popup with success message b. If not successful transaction look UC-WG4-005.2.b(Rainy day) If actor chooses paying via “Google pay“ method then system shows guides how to pay with this method and if actor pays successfully system shows popup with success message c. If not successful transaction look UC-WG4-005.2.c(Rainy day)
|
Flow of Events (Rainy Day Scenario) | UC-WG4-005.2.a,b,c If actor is not able to pay by card or “Apple pay“ or “Google pay“ due to system problems actor will be informed by system with warning message If actor hasn’t got enough money on balance system shows popup with message informing about it
|
Post-conditions | Actor has amount of fuel, that was successfully bought on his balance OR Actor receives warning message about system mistakes OR Actor receives informing message about his balance
|