Planning for Electronic Commerce