def __place_order(self, token):
order_id = <NUM_LIT:0><EOL>response = None<EOL>if not token or token['<STR_LIT:value>'] == '<STR_LIT>':<EOL><INDENT>raise LendingClubError('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>payload = {}<EOL>if token:<EOL><INDENT>payload['<STR_LIT>'] = token['<STR_LIT:name>']<EOL>payload[token['<STR_LIT:name>']] = token['<STR_LIT:value>']<EOL><DEDENT>response = self.lc.session.post('<STR_LIT>', data=payload)<EOL>html = response.text<EOL>soup = BeautifulSoup(html, '<STR_LIT>')<EOL>order_field = soup.find(id='<STR_LIT>')<EOL>if order_field:<EOL><INDENT>order_id = int(order_field['<STR_LIT:value>'])<EOL><DEDENT>if order_id == <NUM_LIT:0>:<EOL><INDENT>self.__log('<STR_LIT>')<EOL>raise LendingClubError('<STR_LIT>', response)<EOL><DEDENT>else:<EOL><INDENT>return order_id<EOL><DEDENT><DEDENT>except Exception as e:<EOL><INDENT>raise LendingClubError('<STR_LIT>'.format(str(e)), response)<EOL><DEDENT>
Use the struts token to place the order.

Parameters
----------
token : string
    The struts token received from the place order page

Returns
-------
int
    The completed order ID.