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 void(authorization, options = {})
        post = init_post(options)
        endpoint = options[:cancel_or_refund] ? 'cancelOrRefund' : 'cancel'
        add_reference(post, authorization, options)
        add_network_transaction_reference(post, options)
        commit(endpoint, post, options)
      end
def void ( authorization , options = { } ) post = init_post ( options ) endpoint = options [ :cancel_or_refund ] ? 'cancelOrRefund' : 'cancel' add_reference ( post , authorization , options ) add_network_transaction_reference ( post , options ) commit ( endpoint , post , options ) end
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
authorization
<not_specific>
options
<not_specific>