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 authorization_from(action, parameters, response)
        return nil if response['pspReference'].nil?
        recurring = response['additionalData']['recurring.recurringDetailReference'] if response['additionalData']
        recurring = response['recurringDetailReference'] if action == 'storeToken'
        "#{parameters[:originalReference]}##{response['pspReference']}##{recurring}"
      end
def authorization_from ( action , parameters , response ) return nil if response [ 'pspReference' ] . nil? recurring = response [ 'additionalData' ] [ 'recurring.recurringDetailReference' ] if response [ 'additionalData' ] recurring = response [ 'recurringDetailReference' ] if action == 'storeToken' "#{parameters[:originalReference]}##{response['pspReference']}##{recurring}" end
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
action
<not_specific>
parameters
<not_specific>
response
<not_specific>