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
projectdx_activemerchant-1.7.1.20100817.3 lib/active_merchant/billing/gateways/secure_pay.rb
projectdx_activemerchant-1.7.1.20100817.2 lib/active_merchant/billing/gateways/secure_pay.rb
projectdx_activemerchant-1.7.1.20100817.1 lib/active_merchant/billing/gateways/secure_pay.rb
humanzz-activemerchant-1.7.1.1 lib/active_merchant/billing/gateways/secure_pay.rb
humanzz-activemerchant-1.7.1 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.7.1 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.7.0.3 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.7.1 lib/active_merchant/billing/gateways/secure_pay.rb
johnreitano-activemerchant-1.5.8 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.7.0.2 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.7.0.1 lib/active_merchant/billing/gateways/secure_pay.rb
johnreitano-activemerchant-1.5.7 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.7.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.7.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.6.0 lib/active_merchant/billing/gateways/secure_pay.rb
bitfluent-activemerchant-1.5.1.1 lib/active_merchant/billing/gateways/secure_pay.rb
johnreitano-activemerchant-1.5.5 lib/active_merchant/billing/gateways/secure_pay.rb
johnreitano-activemerchant-1.5.4 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.5.1.4 lib/active_merchant/billing/gateways/secure_pay.rb
smulube-activemerchant-1.5.1.3 lib/active_merchant/billing/gateways/secure_pay.rb