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 purchase(money, payment, options = {})
        if options[:execute_threed] || options[:threed_dynamic]
          authorize(money, payment, options)
        else
          MultiResponse.run do |r|
            r.process { authorize(money, payment, options) }
            r.process { capture(money, r.authorization, capture_options(options)) }
          end
        end
      end
def purchase ( money , payment , options = { } ) if options [ :execute_threed ] || options [ :threed_dynamic ] authorize ( money , payment , options ) else MultiResponse . run do | r | r . process { authorize ( money , payment , options ) } r . process { capture ( money , r . authorization , capture_options ( options ) ) } end end end
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
money
<not_specific>
payment
<not_specific>
options
<not_specific>