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 add_3ds1_authenticated_data(post, options)
        three_d_secure_options = options[:three_d_secure]
        post[:mpiData] = {
          cavv: three_d_secure_options[:cavv],
          cavvAlgorithm: three_d_secure_options[:cavv_algorithm],
          eci: three_d_secure_options[:eci],
          xid: three_d_secure_options[:xid],
          directoryResponse: three_d_secure_options[:enrolled],
          authenticationResponse: three_d_secure_options[:authentication_response_status]
        }
      end
def add_3ds1_authenticated_data ( post , options ) three_d_secure_options = options [ :three_d_secure ] post [ :mpiData ] = { cavv : three_d_secure_options [ :cavv ] , cavvAlgorithm : three_d_secure_options [ :cavv_algorithm ] , eci : three_d_secure_options [ :eci ] , xid : three_d_secure_options [ :xid ] , directoryResponse : three_d_secure_options [ :enrolled ] , authenticationResponse : three_d_secure_options [ :authentication_response_status ] } end
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
post
<not_specific>
options
<not_specific>