parameters: (self, data, operation=False)
return_statement: return self._proxy_adyen_request_direct(data, operation)
docstring: Necessary because Adyen's endpoints don't have CORS enabled
docstring_summary: Necessary because Adyen's endpoints don't have CORS enabled
docstring_tokens: Necessary because Adyen s endpoints don t have CORS enabled
function: def proxy_adyen_request(self, data, operation=False):
          ''' Necessary because Adyen's endpoints don't have CORS enabled '''
          if data['SaleToPOIRequest']['MessageHeader']['MessageCategory'] == 'Payment': # Clear only if it is a payment request
              self.sudo().adyen_latest_response = ''  # avoid handling old responses multiple times
  
          if not operation:
              operation = 'terminal_request'
  
          return self._proxy_adyen_request_direct(data, operation)
function_tokens: def proxy_adyen_request ( self , data , operation = False ) : if data [ 'SaleToPOIRequest' ] [ 'MessageHeader' ] [ 'MessageCategory' ] == 'Payment' : # Clear only if it is a payment request self . sudo ( ) . adyen_latest_response = '' # avoid handling old responses multiple times if not operation : operation = 'terminal_request' return self . _proxy_adyen_request_direct ( data , operation )