Sha256: c3824615a7e589eeedc3fb9637e5f09d63dbcc34b2f31741ef5409caa754a055

Contents?: true

Size: 549 Bytes

Versions: 39

Compression:

Stored size: 549 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class Flo2cashSimpleGateway < Flo2cashGateway
      self.display_name = 'Flo2Cash Simple'

      def purchase(amount, payment_method, options={})
        post = {}
        add_invoice(post, amount, options)
        add_payment_method(post, payment_method)
        add_customer_data(post, options)

        commit("ProcessPurchase", post)
      end

      # Flo2Cash's "simple mode" does not support auth/capture
      undef_method :authorize
      undef_method :capture
    end
  end
end

Version data entries

39 entries across 39 versions & 3 rubygems

Version Path
activemerchant-1.61.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.60.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.59.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.58.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.57.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.56.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.55.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.54.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.53.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
start_activemerchant-1.50.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/gateways/flo2cash_simple.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.52.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.51.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/activemerchant-1.48.0/lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.50.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.49.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.48.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb
activemerchant-1.47.0 lib/active_merchant/billing/gateways/flo2cash_simple.rb