Sha256: fcfbd490c657d3186642464814c55779e3582a3da59c996badca67143d846f0a

Contents?: true

Size: 827 Bytes

Versions: 16

Compression:

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

    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
activemerchant-1.98.0 lib/active_merchant/billing/gateways/tns.rb
active_accountability_merchant-1.97.1 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.97.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.96.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.95.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.94.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.93.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.92.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.91.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.90.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.89.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.88.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.87.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.86.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.85.0 lib/active_merchant/billing/gateways/tns.rb
activemerchant-1.84.0 lib/active_merchant/billing/gateways/tns.rb