code: def express_endpoint_for_token(token, commit=False):
      
      pp_params = dict(token=token)
      if commit:
          pp_params['useraction'] = 'commit'
      return express_endpoint() % urlencode(pp_params)
docs: Returns the PayPal Express Checkout endpoint for a token.
      Pass 'commit=True' if you will not prompt for confirmation when the user
      returns to your site.