Sha256: dcb445e36bff5015f81078ca48574190685c7de0282ec65870ce543f5602fdbd

Contents?: true

Size: 342 Bytes

Versions: 42

Compression:

Stored size: 342 Bytes

Contents

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


    def provider_class
      ActiveMerchant::Billing::BanwireGateway
    end

    def purchase(money, creditcard, gateway_options)
      gateway_options[:description] = "Spree Order"
      provider.purchase(money, creditcard, gateway_options)
    end
  end
end

Version data entries

42 entries across 42 versions & 3 rubygems

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