You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, we would like to be able to see the user data, cart data, click on the complete order button to checkout and have the option cancel the order.
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 (*)
As a user, we would like to be able to see the user data, cart data, click on the complete order button to checkout and have the option cancel the order.