Sha256: 3f1248ce3524be5c589e40e12599fda69e1c138dd1ecce631322df3262f13f0c

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

module Spree
  class Gateway::PayflowPro < Gateway
    preference :login, :string
    preference :password, :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

2 entries across 2 versions & 1 rubygems

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