Sha256: f39633da950a90850e71ef850ef2e548d6869795870c9d99a82b7d1ed82c6714

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

module Spree
  class Gateway::PayflowPro < Gateway
    preference :login, :string
    preference :password, :password
    
    attr_accessible :preferred_login, :preferred_password

    def provider_class
      ActiveMerchant::Billing::PayflowGateway
    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.0.1 app/models/spree/gateway/payflow_pro.rb