lib/active_merchant/billing/gateways/adyen.rb
# we recommend setting up merchant-specific endpoints.
# https://docs.adyen.com/developers/api-manual#apiendpoints
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
def authorize_message_from(response)
        if response['refusalReason'] && response['additionalData'] && response['additionalData']['refusalReasonRaw']
          "#{response['refusalReason']} | #{response['additionalData']['refusalReasonRaw']}"
        else
          response['refusalReason'] || response['resultCode'] || response['message'] || response['result']
        end
      end
def authorize_message_from ( response ) if response [ 'refusalReason' ] && response [ 'additionalData' ] && response [ 'additionalData' ] [ 'refusalReasonRaw' ] "#{response['refusalReason']} | #{response['additionalData']['refusalReasonRaw']}" else response [ 'refusalReason' ] || response [ 'resultCode' ] || response [ 'message' ] || response [ 'result' ] end end
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
response
<not_specific>