I want to progress through the different stages of the trip
So that I can complete the journey, calculate the fare, and handle payment efficiently.
User Stories
[ ] #42
[ ] [User Story]: As a driver, I want to receive a ride request notification that I can either ignore or accept, so that I have the option to respond to the request.
[ ] [User Story]: As a system, I want to update the map to show the route from the pickup location to the drop-off location once the driver has arrived so that the rider and driver can track the trip to its destination.
[ ] [User Story]: As a driver, I want to end the trip when I am within 500m of the drop-off location so that the system knows the ride is complete and can proceed to the fare calculation stage.
[ ] [User Story]: As a rider, I want to see a summary of the fare after the trip ends so that I know how much I need to pay.
[ ] [User Story]: As a driver, I want to see how much I should charge the rider after the trip ends so that I can collect the correct fare.
[ ] [User Story]: As a driver, I want to notify the system if the rider has not paid the correct amount or has not paid at all so that this information is logged for future reference.
[ ] [User Story]: As a system, I want to calculate the fare using a configurable $ per km rate so that the driver and rider both know the correct fare to be paid.
[ ] [User Story]: As a system, I want to define geofenced areas where different fare rates can apply so that the fare calculation is adjusted based on the location.
[ ] [User Story]: As a system, I want to restrict rides to specific geofenced areas so that rides are only allowed within designated areas.
[ ] [User Story]: As a system, I want to disable the restriction of rides based on geofenced areas so that rides can occur anywhere, even outside designated areas.
Acceptance Criteria
[ ] The driver can receive and respond to ride requests, either ignoring or accepting them.
[ ] The system updates the map to show the route to the drop-off location once the driver is at the pickup point.
[ ] Drivers can end the trip when within 500m of the drop-off, marking the ride as complete for fare calculation.
[ ] Riders receive a fare summary post-trip, displaying the amount to be paid.
[ ] Drivers are shown the correct fare to charge after trip completion.
[ ] Any discrepancies in rider payment (underpayment or non-payment) are logged in the system.
[ ] The fare is calculated based on a configurable per-kilometer rate.
[ ] Geofenced areas with specific fare rates are defined and applied in the fare calculation.
[ ] The system restricts rides to designated geofenced areas when restrictions are enabled.
[ ] When geofenced area restrictions are disabled, rides can occur anywhere, even outside designated areas.
Epic Description
User Stories
Acceptance Criteria
Labels