Sha256: 5a81b0adb723afd6447506f6a1653fa96429d38b12b4b194cffbb109015c1850

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

module Spree
  class Gateway::AuthorizeNet < Gateway
    preference :login, :string
    preference :password, :string
    
    def provider_class
      ActiveMerchant::Billing::AuthorizeNetGateway
    end

    def options_with_test_preference
      options_without_test_preference.merge(:test => self.preferred_test_mode)
    end

    alias_method_chain :options, :test_preference
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_gateway-2.1.1 app/models/spree/gateway/authorize_net.rb