- [ ] Write a component to display a checkout experience - [x] Display user data (perhaps reusing the single-user component) - [x] Display cart data (perhaps reusing the single-order component) - [ ] Create a "Complete Order" button - [ ] Updates the order status to completed - [ ] Credit Card integration is in a future tier - [ ] Display a success message, confirming the order status is now completed. - [ ] Create a "Cancel Order" button - [ ] Updates the order status to cancelled - [ ] Display a success message, confirming the order is cancelled. - [ ] Optionally, redirect user to another route (home?) - [ ] Display the checkout component when the url matches /cart/checkout (*)
single-user component)
single-order component)
completed
tier
confirming the order status is now
completed.
cancelled
confirming the order is cancelled.
route (home?)