Sha256: fab453401793eb461c3d2e94dee4e9f525b0b9ef62950cf61f220f7cd4aa261f

Contents?: true

Size: 863 Bytes

Versions: 51

Compression:

Stored size: 863 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module HiTrust 
        autoload :Helper, File.dirname(__FILE__) + '/hi_trust/helper.rb'
        autoload :Return, File.dirname(__FILE__) + '/hi_trust/return.rb'
        autoload :Notification, File.dirname(__FILE__) + '/hi_trust/notification.rb'

        TEST_URL = 'https://testtrustlink.hitrust.com.tw/TrustLink/TrxReq'
        LIVE_URL = 'https://trustlink.hitrust.com.tw/TrustLink/TrxReq'
        
        def self.service_url
          ActiveMerchant::Billing::Base.integration_mode == :test ? TEST_URL : LIVE_URL
        end

        def self.notification(post, options = {})
          Notification.new(post)
        end
        
        def self.return(query_string, options = {})
          Return.new(query_string)
        end  
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 10 rubygems

Version Path
activemerchant-1.34.1 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.34.0 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.33.0 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.32.1 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.32.0 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.31.1 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.31.0 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.30.0 lib/active_merchant/billing/integrations/hi_trust.rb
jelaniharris-activemerchant-1.29.2 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.29.3 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.29.2 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.29.1 lib/active_merchant/billing/integrations/hi_trust.rb
jelaniharris-activemerchant-1.29.1 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.29.0 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-nsp-1.27.0 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.28.0 lib/active_merchant/billing/integrations/hi_trust.rb
yetanothernguyen-activemerchant-1.21.2 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.27.0 lib/active_merchant/billing/integrations/hi_trust.rb
yetanothernguyen-activemerchant-1.21.1 lib/active_merchant/billing/integrations/hi_trust.rb
activemerchant-1.26.0 lib/active_merchant/billing/integrations/hi_trust.rb