Standard Use Case
Prepared by: [YOUR NAME]
I. Actors
Customer: The individual who searches for, selects, and purchases books.
Payment Gateway: The service that processes the payment transactions.
Inventory System: The system that manages book stock levels.
Shipping Service: The service responsible for delivering the book to the customer.
II. Main Success Scenario
Customer searches for a book:
Customer selects a book and adds it to the cart:
Customer proceeds to checkout:
Customer enters shipping information:
Customer chooses a payment method and completes the payment:
Payment Gateway processes the transaction and confirms the payment:
Inventory System updates the stock:
Shipping Service receives the order information:
Customer receives an order confirmation:
III. Extensions
Step | Branching Action | Outcome |
|---|
1 | Book not found: System informs customer and suggests similar or related books. | Customer is presented with alternatives or guided to refine search. |
2 | Selection issue: Issue with adding the book to the cart; system informs customer and prompts action. | Customer resolves issue or selects a different book. |
3 | Item not available: System informs customer and suggests alternatives or notifies availability status. | Customer decides to wait, choose an alternative, or cancel order. |
4 | Shipping information issue: System prompts customer to correct or complete shipping details. | Customer updates details and continues checkout. |
5 | Invalid payment details: System prompts customer to re-enter payment information. | Customer corrects payment details and retries transaction. |
6 | Payment fails: System informs customer of failure and allows choosing another payment method or retrying. | Customer resolves payment issue and completes transaction. |
7 | Inventory update issue: System informs customer of problem and attempts to rectify it. | Inventory updates once issue is resolved, or customer is informed of delay. |
8 | Shipping issue: System informs customer of problem with shipping and attempts to resolve it. | Customer is informed of issue and given options to resolve it. |
IV. Preconditions
Customer must have an active account:
Inventory System must be updated with current stock information:
Payment Gateway must be operational:
V. Postconditions
Order is placed and payment is confirmed:
Inventory is updated:
Shipping Service starts the delivery process:
VI. Special Requirements
The system must support multiple payment methods:
The system must comply with data protection regulations:
The system must handle high volumes of traffic efficiently:
Use Case Templates @ Template.net