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
activemerchant-1.32.1 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.32.0 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.31.1 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.31.0 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.30.0 lib/active_merchant/billing/integrations/dwolla.rb
jelaniharris-activemerchant-1.29.2 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.29.3 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.29.2 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.29.1 lib/active_merchant/billing/integrations/dwolla.rb
jelaniharris-activemerchant-1.29.1 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.29.0 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-nsp-1.27.0 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.28.0 lib/active_merchant/billing/integrations/dwolla.rb
yetanothernguyen-activemerchant-1.21.2 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.27.0 lib/active_merchant/billing/integrations/dwolla.rb
yetanothernguyen-activemerchant-1.21.1 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.26.0 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.25.0 lib/active_merchant/billing/integrations/dwolla.rb
jelaniharris-activemerchant-1.24.1 lib/active_merchant/billing/integrations/dwolla.rb
activemerchant-1.24.0 lib/active_merchant/billing/integrations/dwolla.rb