fix docdata status update to handle order payment id