lib/active_merchant/billing/gateways/adyen.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/adyen.rb in activemerchant-1.84.0

- old
+ new

@@ -119,10 +119,11 @@ post[:deliveryDate] = options[:delivery_date] if options[:delivery_date] post[:merchantOrderReference] = options[:merchant_order_reference] if options[:merchant_order_reference] post[:additionalData] ||= {} post[:additionalData][:overwriteBrand] = normalize(options[:overwrite_brand]) if options[:overwrite_brand] post[:additionalData][:customRoutingFlag] = options[:custom_routing_flag] if options[:custom_routing_flag] + post[:additionalData]['paymentdatasource.type'] = NETWORK_TOKENIZATION_CARD_SOURCE[payment.source.to_s] if payment.is_a?(NetworkTokenizationCreditCard) end def add_shopper_interaction(post, payment, options={}) if (payment.respond_to?(:verification_value) && payment.verification_value) || payment.is_a?(NetworkTokenizationCreditCard) shopper_interaction = 'Ecommerce' @@ -246,10 +247,9 @@ response, authorization: authorization_from(action, parameters, response), test: test?, error_code: success ? nil : error_code_from(response) ) - end def url if test? test_url