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
johnideal-activemerchant-1.4.10 lib/active_merchant/billing/gateways/secure_pay.rb
johnideal-activemerchant-1.4.11 lib/active_merchant/billing/gateways/secure_pay.rb
johnideal-activemerchant-1.4.4 lib/active_merchant/billing/gateways/secure_pay.rb
johnideal-activemerchant-1.4.5 lib/active_merchant/billing/gateways/secure_pay.rb
johnideal-activemerchant-1.4.6 lib/active_merchant/billing/gateways/secure_pay.rb
johnideal-activemerchant-1.4.7 lib/active_merchant/billing/gateways/secure_pay.rb
johnideal-activemerchant-1.4.8 lib/active_merchant/billing/gateways/secure_pay.rb
martinstannard-activemerchant-0.1.0 lib/active_merchant/billing/gateways/secure_pay.rb
mattbauer-activemerchant-1.4.2 lib/active_merchant/billing/gateways/secure_pay.rb
seamusabshere-active_merchant-1.4.2.1 lib/active_merchant/billing/gateways/secure_pay.rb
seamusabshere-active_merchant-1.4.2.3 lib/active_merchant/billing/gateways/secure_pay.rb
tomriley-active_merchant-1.4.2.3 lib/active_merchant/billing/gateways/secure_pay.rb
tomriley-active_merchant-1.4.2.4 lib/active_merchant/billing/gateways/secure_pay.rb
tomriley-active_merchant-1.4.2.5 lib/active_merchant/billing/gateways/secure_pay.rb
tomriley-active_merchant-1.4.2.6 lib/active_merchant/billing/gateways/secure_pay.rb
tomriley-active_merchant-1.4.2.7 lib/active_merchant/billing/gateways/secure_pay.rb
tomriley-active_merchant-1.4.2.8 lib/active_merchant/billing/gateways/secure_pay.rb
tomriley-tomriley-active_merchant-1.4.2.4 lib/active_merchant/billing/gateways/secure_pay.rb
goldstar-activemerchant-1.4.2.7 lib/active_merchant/billing/gateways/secure_pay.rb
goldstar-activemerchant-1.4.2.6 lib/active_merchant/billing/gateways/secure_pay.rb