Sha256: c8e94f954d178108a0b4e1405150934e76e8ecf18869e0783e854232864348b8

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

module Spree
  class Gateway::PinGateway < Gateway
    preference :api_key, :string
    preference :currency, :string, :default => 'AUD'

    def provider_class
      ActiveMerchant::Billing::PinGateway
    end

    # Pin does not appear to support authorizing transactions yet
    def auto_capture?
      true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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