Sha256: 195a35fc1c0aea58af231eea21b999bdd0ed79f2cc64244b716b9c9b2e38b0cb

Contents?: true

Size: 1.11 KB

Versions: 34

Compression:

Stored size: 1.11 KB

Contents

# All mappings in helper.rb are required fields to be sent to Dwolla.
# :account = 'Dwolla Id of merchant'
# :credential1 = 'key from Dwolla Application'
# :credential2 = 'secret from Dwolla Application'
# :redirect_url = 'can be different that what is specified on Dwolla Application creation'
# :return_url = 'can be different that what is specified on Dwolla Application creation'
# :order_id = must be unique for each transaction

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module Dwolla 
        autoload :Return, 'active_merchant/billing/integrations/dwolla/return.rb'
        autoload :Helper, 'active_merchant/billing/integrations/dwolla/helper.rb'
        autoload :Notification, 'active_merchant/billing/integrations/dwolla/notification.rb'
       
        mattr_accessor :service_url
        self.service_url = 'https://www.dwolla.com/payment/pay'

        def self.notification(post, options={})
          Notification.new(post)
        end

        def self.return(query_string, options={})
          Return.new(query_string)
        end
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 5 rubygems

Version Path
tlconnor-activemerchant-1.23.3 lib/active_merchant/billing/integrations/dwolla.rb
tlconnor-activemerchant-1.23.2 lib/active_merchant/billing/integrations/dwolla.rb
tlconnor-activemerchant-1.23.1 lib/active_merchant/billing/integrations/dwolla.rb
tlconnor-activemerchant-1.23.0 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.23.0 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.22.0 lib/active_merchant/billing/integrations/dwolla.rb
yetanothernguyen-activemerchant-1.21.0 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.21.0 lib/active_merchant/billing/integrations/dwolla.rb
tlconnor-activemerchant-1.20.4 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.20.4 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.20.3 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.20.2 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.20.1 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.20.0 lib/active_merchant/billing/integrations/dwolla.rb