Sha256: b4c1bbe890eb818d7d73cacd670c29ba9d68cbb7eae24ed016d8d41e586aa11a

Contents?: true

Size: 786 Bytes

Versions: 92

Compression:

Stored size: 786 Bytes

Contents

require File.dirname(__FILE__) + '/authorize_net'

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class SecurePayGateway < AuthorizeNetGateway
      self.live_url = self.test_url = 'https://www.securepay.com/AuthSpayAdapter/process.aspx'
      
      self.homepage_url = 'http://www.securepay.com/'
      self.display_name = 'SecurePay'
      
      # Limit support to purchase() for the time being
      # JRuby chokes here
      # undef_method :authorize, :capture, :void, :credit
      
      undef_method :authorize
      undef_method :capture
      undef_method :void
      undef_method :credit
      
      def test?
        Base.gateway_mode == :test
      end
      
      private
      def split(response)
        response.split(',')
      end
    end
  end
end

Version data entries

92 entries across 92 versions & 22 rubygems

Version Path
activemerchant-abn-ideal-1.7.0b lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.11.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.10.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.9.4 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.9.3 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.9.2 lib/active_merchant/billing/gateways/secure_pay.rb
n8_activemerchant-1.9.3 lib/active_merchant/billing/gateways/secure_pay.rb
maedana-activemerchant-1.9.1.1 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.9.1 lib/active_merchant/billing/gateways/secure_pay.rb
johnreitano-activemerchant-1.5.11 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.9.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.8.0 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.7.1.5 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.7.1.4 lib/active_merchant/billing/gateways/secure_pay.rb
johnreitano-activemerchant-1.5.10 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.7.3 lib/active_merchant/billing/gateways/secure_pay.rb
johnreitano-activemerchant-1.5.9 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.7.1.3 lib/active_merchant/billing/gateways/secure_pay.rb
glebm-activemerchant-1.7.2.1 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.7.2 lib/active_merchant/billing/gateways/secure_pay.rb