When the Checkout component fetches the checkout, check the checkout status. If the status is expired or completed we should emit an error event from the component so the implementer can handle them.
The error events should be distinguishable from each other so that they can be handled differently. For example an implementer might re-route to a receipt if the checkout is completed or 404 page if the checkout is expired
When the Checkout component fetches the checkout, check the checkout status. If the status is
expired
orcompleted
we should emit an error event from the component so the implementer can handle them.The error events should be distinguishable from each other so that they can be handled differently. For example an implementer might re-route to a receipt if the checkout is
completed
or 404 page if the checkout isexpired