Sha256: 85264f25c9ac09da1575d37fe50bd0bd2ad00772d890a11279deede4b5d3a319

Contents?: true

Size: 353 Bytes

Versions: 32

Compression:

Stored size: 353 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
      super().merge(:test => self.preferred_test_mode)
    end
  end
end

Version data entries

32 entries across 32 versions & 3 rubygems

Version Path
spree_gateway-3.11.0 app/models/spree/gateway/eway.rb
spree_gateway-3.10.0 app/models/spree/gateway/eway.rb
archetype_spree_gateway-3.9.5.1 app/models/spree/gateway/eway.rb
archetype_spree_gateway-3.9.5 app/models/spree/gateway/eway.rb
spree_gateway-3.9.4 app/models/spree/gateway/eway.rb
spree_gateway-3.9.3 app/models/spree/gateway/eway.rb
spree_gateway-3.9.2 app/models/spree/gateway/eway.rb
spree_gateway-3.9.0 app/models/spree/gateway/eway.rb
spree_gateway-3.8.0 app/models/spree/gateway/eway.rb
spree_gateway-3.7.5 app/models/spree/gateway/eway.rb
spree_gateway-3.7.4 app/models/spree/gateway/eway.rb
spree_gateway-3.7.3 app/models/spree/gateway/eway.rb
spree_gateway-3.7.2 app/models/spree/gateway/eway.rb
spree_gateway-3.7.1 app/models/spree/gateway/eway.rb
spree_gateway-3.7.0 app/models/spree/gateway/eway.rb
spree_gateway-3.6.7 app/models/spree/gateway/eway.rb
spree_gateway-3.3.7 app/models/spree/gateway/eway.rb
spree_gateway-3.6.5 app/models/spree/gateway/eway.rb
spree_gateway-3.6.4 app/models/spree/gateway/eway.rb
spree_gateway-3.3.5 app/models/spree/gateway/eway.rb