Sha256: 57d0519e600864a58351d75742696b3db34c153d35496cb28e0554cc9fa91885

Contents?: true

Size: 449 Bytes

Versions: 10

Compression:

Stored size: 449 Bytes

Contents

module Spree
  class Gateway::Eway < Gateway
    preference :login, :string

    # Note: EWay supports purchase method only (no authorize method).
    def auto_capture?
      true
    end

    def provider_class
      ActiveMerchant::Billing::EwayGateway
    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

10 entries across 10 versions & 2 rubygems

Version Path
spree_gateway-3.2.0.beta app/models/spree/gateway/eway.rb
solidus_gateway-1.1.1 app/models/spree/gateway/eway.rb
solidus_gateway-1.1.0 app/models/spree/gateway/eway.rb
spree_gateway-3.1.0 app/models/spree/gateway/eway.rb
spree_gateway-3.0.0 app/models/spree/gateway/eway.rb
solidus_gateway-1.0.1 app/models/spree/gateway/eway.rb
solidus_gateway-0.9.0 app/models/spree/gateway/eway.rb
solidus_gateway-1.0.0 app/models/spree/gateway/eway.rb
spree_gateway-2.2.1 app/models/spree/gateway/eway.rb
spree_gateway-2.1.1 app/models/spree/gateway/eway.rb