RetrievesOrders throws exception if a non pending order exists
Display flash errors