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.6.1 app/models/spree/gateway/eway.rb
spree_gateway-3.6.0 app/models/spree/gateway/eway.rb
spree_gateway-3.4.1 app/models/spree/gateway/eway.rb
spree_gateway-3.4.0 app/models/spree/gateway/eway.rb
spree_gateway-3.3.3 app/models/spree/gateway/eway.rb
solidus_gateway-1.3.0 app/models/spree/gateway/eway.rb
spree_gateway-3.3.2 app/models/spree/gateway/eway.rb
solidus_gateway-1.2.0 app/models/spree/gateway/eway.rb
spree_gateway-3.3.0 app/models/spree/gateway/eway.rb
spree_gateway-3.3.0.rc2 app/models/spree/gateway/eway.rb
spree_gateway-3.3.0.rc1 app/models/spree/gateway/eway.rb
spree_gateway-3.2.0 app/models/spree/gateway/eway.rb