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
tanga_activemerchant-1.38.0.5 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tanga_activemerchant-1.38.0.4 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tanga_activemerchant-1.38.0.3 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tanga_activemerchant-1.38.0.2 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tanga_activemerchant-1.38.0.1 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tanga_activemerchant-1.38.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
tanga_activemerchant-1.37.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.43.3 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.43.1 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.43.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.9 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.8 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.7 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.6 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.5 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.4 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.3 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.2 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.1 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb
activemerchant-1.42.0 lib/active_merchant/billing/integrations/e_payment_plans/helper.rb