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_shopper_interaction(post, payment, options = {})
        if  (options.dig(:stored_credential, :initial_transaction) && options.dig(:stored_credential, :initiator) == 'cardholder') ||
            (payment.respond_to?(:verification_value) && payment.verification_value && options.dig(:stored_credential, :initial_transaction).nil?) ||
            payment.is_a?(NetworkTokenizationCreditCard)
          shopper_interaction = 'Ecommerce'
        else
          shopper_interaction = 'ContAuth'
        end
        post[:shopperInteraction] = options[:shopper_interaction] || shopper_interaction
      end
def add_shopper_interaction ( post , payment , options = { } ) if ( options . dig ( :stored_credential , :initial_transaction ) && options . dig ( :stored_credential , :initiator ) == 'cardholder' ) || ( payment . respond_to? ( :verification_value ) && payment . verification_value && options . dig ( :stored_credential , :initial_transaction ) . nil? ) || payment . is_a? ( NetworkTokenizationCreditCard ) shopper_interaction = 'Ecommerce' else shopper_interaction = 'ContAuth' end post [ :shopperInteraction ] = options [ :shopper_interaction ] || shopper_interaction end
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
post
<not_specific>
payment
<not_specific>
options
<not_specific>