Sha256: 19b64e1c5d2c4c4fe4e3e15b8139a61115a5e89c33b57880930567ace49741d8

Contents?: true

Size: 786 Bytes

Versions: 42

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

42 entries across 42 versions & 13 rubygems

Version Path
tomriley-active_merchant-1.4.2.11 lib/active_merchant/billing/gateways/secure_pay.rb
tomriley-active_merchant-1.4.2.10 lib/active_merchant/billing/gateways/secure_pay.rb
ghazel-activemerchant-1.4.2 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-est-1.4.2.6 lib/active_merchant/billing/gateways/secure_pay.rb
patmaddox-activemerchant-1.4.2.6 lib/active_merchant/billing/gateways/secure_pay.rb
patmaddox-activemerchant-1.4.2.5 lib/active_merchant/billing/gateways/secure_pay.rb
patmaddox-activemerchant-1.4.2.4 lib/active_merchant/billing/gateways/secure_pay.rb
patmaddox-activemerchant-1.4.2.3 lib/active_merchant/billing/gateways/secure_pay.rb
patmaddox-activemerchant-1.4.2.2 lib/active_merchant/billing/gateways/secure_pay.rb
patmaddox-activemerchant-1.4.2.1 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-est-1.4.2.5 lib/active_merchant/billing/gateways/secure_pay.rb
patmaddox-activemerchant-1.4.2 lib/active_merchant/billing/gateways/secure_pay.rb
abtain_billing-1.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.2.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.4.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.4.1 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.3.1 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.3.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.3.2 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.2.1 lib/active_merchant/billing/gateways/secure_pay.rb