added storing of failed order requests
CHECK FOR ERRORS!