Sha256: 3f2a7d94bfb2a89efcdc08c9eeedf5165d097c459a8c3cb43720065f951310ad

Contents?: true

Size: 744 Bytes

Versions: 5

Compression:

Stored size: 744 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'
      self.supported_countries = %w(US CA GB AU)

      # 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

      private

      def split(response)
        response.split(',')
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
solidus_backend-1.0.0.pre vendor/bundle/gems/activemerchant-1.44.1/lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.44.1 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.44.0 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.43.3 lib/active_merchant/billing/gateways/secure_pay.rb
activemerchant-1.43.1 lib/active_merchant/billing/gateways/secure_pay.rb