Store order into database