Sha256: 5fa8c9bd8dc094ce19c78aa30fbd68a560c2d99d2f93e1f20e4853831ecf5f0c

Contents?: true

Size: 867 Bytes

Versions: 17

Compression:

Stored size: 867 Bytes

Contents

module ActiveMerchant
  module Billing
    class TnsGateway < Gateway
      include MastercardGateway

      class_attribute :live_na_url, :live_ap_url, :test_na_url, :test_ap_url

      self.live_na_url = 'https://secure.na.tnspayments.com/api/rest/version/36/'
      self.test_na_url = 'https://secure.na.tnspayments.com/api/rest/version/36/'

      self.live_ap_url = 'https://secure.ap.tnspayments.com/api/rest/version/36/'
      self.test_ap_url = 'https://secure.ap.tnspayments.com/api/rest/version/36/'

      self.display_name = 'TNS'
      self.homepage_url = 'http://www.tnsi.com/'
      self.supported_countries = %w(AR AU BR FR DE HK MX NZ SG GB US)
      self.default_currency = 'USD'
      self.supported_cardtypes = [:visa, :master, :american_express, :discover, :diners_club, :jcb, :maestro, :laser]
      self.ssl_version = :TLSv1

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
activemerchant-1.77.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.76.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.75.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.74.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.73.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.72.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.71.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.70.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.69.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.68.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.67.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.66.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.65.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.64.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.63.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.62.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.61.0 lib/active_merchant/billing/gateways/tns.rb