Frontend
Write a component to display a checkout experience
Display user data (perhaps reusing the single-user component)
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 (*)
Frontend Write a component to display a checkout experience Display user data (perhaps reusing the single-user component) 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 (*)