Fix missing order ID in metadata