lib/active_merchant/billing/gateways/adyen.rb in activemerchant-1.101.0 vs lib/active_merchant/billing/gateways/adyen.rb in activemerchant-1.102.0
- old
+ new
@@ -8,11 +8,11 @@
self.live_url = 'https://pal-live.adyen.com/pal/servlet/Payment/'
self.supported_countries = ['AT', 'AU', 'BE', 'BG', 'BR', 'CH', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GI', 'GR', 'HK', 'HU', 'IE', 'IS', 'IT', 'LI', 'LT', 'LU', 'LV', 'MC', 'MT', 'MX', 'NL', 'NO', 'PL', 'PT', 'RO', 'SE', 'SG', 'SK', 'SI', 'US']
self.default_currency = 'USD'
self.currencies_without_fractions = %w(CVE DJF GNF IDR JPY KMF KRW PYG RWF UGX VND VUV XAF XOF XPF)
- self.supported_cardtypes = [:visa, :master, :american_express, :diners_club, :jcb, :dankort, :maestro, :discover, :elo, :naranja, :cabal]
+ self.supported_cardtypes = [:visa, :master, :american_express, :diners_club, :jcb, :dankort, :maestro, :discover, :elo, :naranja, :cabal]
self.money_format = :cents
self.homepage_url = 'https://www.adyen.com/'
self.display_name = 'Adyen'
@@ -369,10 +369,10 @@
post[:mpiData] = {
cavv: three_d_secure_options[:cavv],
cavvAlgorithm: three_d_secure_options[:cavv_algorithm],
eci: three_d_secure_options[:eci],
xid: three_d_secure_options[:xid],
- directoryResponse: three_d_secure_options[:directory_response_status],
+ directoryResponse: three_d_secure_options[:enrolled],
authenticationResponse: three_d_secure_options[:authentication_response_status]
}
end
def add_3ds2_authenticated_data(post, options)