Sha256: 333fc13ac1e7d3f5cd135b5ee4eaa60f169123c1c26d1e01feae48a8aa863755

Contents?: true

Size: 835 Bytes

Versions: 8

Compression:

Stored size: 835 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]

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activemerchant-1.83.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.82.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.81.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.80.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.79.2 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.79.1 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.79.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.78.0 lib/active_merchant/billing/gateways/tns.rb