Method: ActiveMerchant::Billing::BeanstreamCore.included

Defined in:
lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb

.included(base) ⇒ Object



130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# File 'lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb', line 130

def self.included(base)
  base.default_currency = 'CAD'

  # The countries the gateway supports merchants from as 2 digit ISO country codes
  base.supported_countries = %w[CA US]

  # The card types supported by the payment gateway
  base.supported_cardtypes = %i[visa master american_express discover diners_club jcb]

  # The homepage URL of the gateway
  base.homepage_url = 'http://www.beanstream.com/'
  base.live_url = 'https://api.na.bambora.com/scripts/process_transaction.asp'

  # The name of the gateway
  base.display_name = 'Beanstream.com'
end