Module: ActiveMerchant::Billing::Integrations::Adyen

Defined in:
lib/active_merchant/billing/integrations/adyen.rb,
lib/active_merchant/billing/integrations/adyen/helper.rb,
lib/active_merchant/billing/integrations/adyen/return.rb,
lib/active_merchant/billing/integrations/adyen/notification.rb

Defined Under Namespace

Classes: Helper, Notification, Return

Constant Summary collapse

TEST_URL =
'https://test.adyen.com/hpp/select.shtml'
LIVE_URL =
'https://live.adyen.com/hpp/select.shtml'

Class Method Summary collapse

Class Method Details

.notification(post) ⇒ Object



19
20
21
# File 'lib/active_merchant/billing/integrations/adyen.rb', line 19

def self.notification(post)
  Notification.new(post)
end

.return(query_string) ⇒ Object



23
24
25
# File 'lib/active_merchant/billing/integrations/adyen.rb', line 23

def self.return(query_string)
  Return.new(query_string)
end

.service_urlObject



15
16
17
# File 'lib/active_merchant/billing/integrations/adyen.rb', line 15

def self.service_url
  ActiveMerchant::Billing::Base.integration_mode == :test ? TEST_URL : LIVE_URL
end