Sha256: bed4f14dff822d187f3dc285dad1dd110aeb198926031a38184d07ce12dcf917

Contents?: true

Size: 1.34 KB

Versions: 76

Compression:

Stored size: 1.34 KB

Contents

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    module Integrations #:nodoc:
      module EPaymentPlans
        class Helper < ActiveMerchant::Billing::Integrations::Helper
          mapping :account, 'order[account]'
          mapping :amount, 'order[amount]'

          mapping :order, 'order[num]'

          mapping :customer, :first_name => 'order[first_name]',
                             :last_name  => 'order[last_name]',
                             :email      => 'order[email]',
                             :phone      => 'order[phone]'

          mapping :billing_address, :city     => 'order[city]',
                                    :address1 => 'order[address1]',
                                    :address2 => 'order[address2]',
                                    :company  => 'order[company]',
                                    :state    => 'order[state]',
                                    :zip      => 'order[zip]',
                                    :country  => 'order[country]'

          mapping :notify_url, 'order[notify_url]'
          mapping :return_url, 'order[return_url]'
          mapping :cancel_return_url, 'order[cancel_return_url]'
          mapping :description, 'order[description]'
          mapping :tax, 'order[tax]'
          mapping :shipping, 'order[shipping]'
        end
      end
    end
  end
end

Version data entries

76 entries across 76 versions & 9 rubygems

Version Path
activemerchant-1.29.3 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.29.2 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.29.1 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
jelaniharris-activemerchant-1.29.1 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.29.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-nsp-1.27.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.28.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
yetanothernguyen-activemerchant-1.21.2 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.27.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
yetanothernguyen-activemerchant-1.21.1 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.26.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.25.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
jelaniharris-activemerchant-1.24.1 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.24.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tlconnor-activemerchant-1.23.3 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tlconnor-activemerchant-1.23.2 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tlconnor-activemerchant-1.23.1 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tlconnor-activemerchant-1.23.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.23.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.22.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb