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-nsp-1.27.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.28.0 lib/active_merchant/billing/gateways/secure_pay.rb
yetanothernguyen-activemerchant-1.21.2 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.27.0 lib/active_merchant/billing/gateways/secure_pay.rb
yetanothernguyen-activemerchant-1.21.1 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.26.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.25.0 lib/active_merchant/billing/gateways/secure_pay.rb
jelaniharris-activemerchant-1.24.1 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.24.0 lib/active_merchant/billing/gateways/secure_pay.rb
tlconnor-activemerchant-1.23.3 lib/active_merchant/billing/gateways/secure_pay.rb
tlconnor-activemerchant-1.23.2 lib/active_merchant/billing/gateways/secure_pay.rb
tlconnor-activemerchant-1.23.1 lib/active_merchant/billing/gateways/secure_pay.rb
tlconnor-activemerchant-1.23.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.23.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.22.0 lib/active_merchant/billing/gateways/secure_pay.rb
yetanothernguyen-activemerchant-1.21.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.21.0 lib/active_merchant/billing/gateways/secure_pay.rb
tlconnor-activemerchant-1.20.4 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.20.4 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.20.3 lib/active_merchant/billing/gateways/secure_pay.rb