# File lib/active_merchant/billing/integrations/two_checkout/helper.rb, line 6 def initialize(order, account, options = {}) super add_field('fixed', 'Y') if ActiveMerchant::Billing::Base.integration_mode == :test || options[:test] add_field('demo', 'Y') end end
mapping :description, ” mapping :tax, ” mapping :shipping, ”
# File lib/active_merchant/billing/integrations/two_checkout/helper.rb, line 50 def customer(params = {}) add_field(mappings[:customer][:email], params[:email]) add_field(mappings[:customer][:phone], params[:phone]) add_field('card_holder_name', "#{params[:first_name]} #{params[:last_name]}") end
Generated with the Darkfish Rdoc Generator 2.