Sha256: e3534bd55aca1128593c866dda9327d248a2f6983cc1eefaece8a7bb1865ed67

Contents?: true

Size: 850 Bytes

Versions: 4

Compression:

Stored size: 850 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module Dwolla
        class Helper < ActiveMerchant::Billing::Integrations::Helper

          def initialize(order, account, options = {})
            super
            add_field('name', 'Store Purchase')
          end
          
          # Replace with the real mapping
          mapping :credential1, 'key'
          mapping :credential2, 'secret'
          mapping :notify_url, 'callback'
          mapping :return_url, 'redirect'
          mapping :test_mode, 'test'
          mapping :description, 'description'
          mapping :account, 'destinationid'
          mapping :amount, 'amount'
          mapping :tax, 'tax'
          mapping :shipping, 'shipping'
          mapping :order, 'orderid'          
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
vibedeck-activemerchant-1.18.2 lib/active_merchant/billing/integrations/dwolla/helper.rb
activemerchant-1.18.1 lib/active_merchant/billing/integrations/dwolla/helper.rb
fishman-activemerchant-1.18.0 lib/active_merchant/billing/integrations/dwolla/helper.rb
activemerchant-1.18.0 lib/active_merchant/billing/integrations/dwolla/helper.rb