Adding invoice_number and status to orders, and trying to resolve order failure dequence problems