original_docstring: 
          On Specific Gateway due differences in response from gateway
          
docstring: On Specific Gateway due differences in response from gateway
docstring_tokens: On Specific Gateway due differences in response from gateway
code: def parse(self, response, response_time):
          """
          On Specific Gateway due differences in response from gateway
          """
          debug_string = " paython.gateways.innovative_gw.parse() -- Raw response: "
          logger.debug(debug_string.center(80, '='))
          logger.debug("\n %s" % response)
  
          new_response = urlparse.parse_qsl(response)
          response = dict(new_response)
          if 'approval' in response:
              approved = True
          else:
              approved = False
              response['approval'] = 'decline' # there because we have a translation key called "approval" - open to ideas here...
  
          debug_string = " paython.gateways.innovative_gw.parse() -- Response as dict: "
          logger.debug(debug_string.center(80, '='))
          logger.debug('\n%s' % response)
  
          return super(InnovativeGW, self).standardize(response, self.RESPONSE_KEYS, response_time, approved)
code_tokens: def parse ( self , response , response_time ) : debug_string = " paython.gateways.innovative_gw.parse() -- Raw response: " logger . debug ( debug_string . center ( 80 , '=' ) ) logger . debug ( "\n %s" % response ) new_response = urlparse . parse_qsl ( response ) response = dict ( new_response ) if 'approval' in response : approved = True else : approved = False response [ 'approval' ] = 'decline' debug_string = " paython.gateways.innovative_gw.parse() -- Response as dict: " logger . debug ( debug_string . center ( 80 , '=' ) ) logger . debug ( '\n%s' % response ) return super ( InnovativeGW , self ) . standardize ( response , self . RESPONSE_KEYS , response_time , approved )
short_docstring: On Specific Gateway due differences in response from gateway
short_docstring_tokens: On Specific Gateway due differences in response from gateway
comment: """
          On Specific Gateway due differences in response from gateway
          """$SEP$# there because we have a translation key called "approval" - open to ideas here...