Use Case: UC2 - Place Order
- Author: Tugba Ilhan
- Date / Version: 09/06/2025 -v0.1
User roles
Role | Description |
---|---|
End User | A customer who wants to buy a product |
Business Owner | Store owner who receives the order |
Platform Admin | Oversees transactions and ensures system stability |
Prerequisites / Conditions
-
User must be logged into the platform.
-
Product is in stock.
-
Shopping cart contains at least one product.
-
Shipping and billing information is complete.
-
A supported payment method is available.
Use Case Diagram
Description of use case -Place Order
-
User adds product(s) to the shopping cart.
-
User proceeds to checkout.
-
User reviews order summary (items, quantity, price).
-
User provides/selects shipping and billing information.
-
User selects a payment method and confirms the order.
-
System processes payment via the selected gateway.
-
Upon successful payment, the order is created and confirmation is shown.
-
User receives confirmation email and order ID.
Exceptions
ID | Description |
---|---|
E1 | Payment fails (e.g., insufficient funds) → Show error and retry option |
E2 | Item is out of stock → Inform user and update cart |
E3 | Network error during checkout → Prompt user to try again |
Result
-
A new order is successfully created and saved.
-
The business owner is notified.
-
Inventory is updated.
-
User receives order summary and tracking information.
Use frequency
Medium to High: Depending on traffic, it can be executed thousands of times daily.
Additional information
-
Integration with Stripe, PayPal, and local gateways supported.
-
Order ID format: ECSP1-YYYYMMDD-xxxxx
-
Business Owner can track orders via admin panel.
Sources
This documentation follows common use case modeling practices for eCommerce platforms.