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 commit(action, parameters, options)
        begin
          raw_response = ssl_post(url(action), post_data(action, parameters), request_headers(options))
          response = parse(raw_response)
        rescue ResponseError => e
          raw_response = e.response.body
          response = parse(raw_response)
        end
        success = success_from(action, response, options)
        Response.new(
          success,
          message_from(action, response),
          response,
          authorization: authorization_from(action, parameters, response),
          test: test?,
          error_code: success ? nil : error_code_from(response),
          network_transaction_id: network_transaction_id_from(response),
          avs_result: AVSResult.new(code: avs_code_from(response)),
          cvv_result: CVVResult.new(cvv_result_from(response))
        )
      end
def commit ( action , parameters , options ) begin raw_response = ssl_post ( url ( action ) , post_data ( action , parameters ) , request_headers ( options ) ) response = parse ( raw_response ) rescue ResponseError => e raw_response = e . response . body response = parse ( raw_response ) end success = success_from ( action , response , options ) Response . new ( success , message_from ( action , response ) , response , authorization : authorization_from ( action , parameters , response ) , test : test? , error_code : success ? nil : error_code_from ( response ) , network_transaction_id : network_transaction_id_from ( response ) , avs_result : AVSResult . new ( code : avs_code_from ( response ) ) , cvv_result : CVVResult . new ( cvv_result_from ( response ) ) ) end
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
action
<not_specific>
parameters
<not_specific>
options
<not_specific>