Elavon requires the shipping address to have numbers appended.
Fix modern payments
Fix bug with Modern Payments Gateway where failure authorizations appeared to be successful
fix up response message for Modern payments
Unify API to always look for billing_address/address hash inside of options

Signed-off-by: Cody Fauser <codyfauser@gmail.com>
Handling currency and processor for SmartPS/Braintree

Signed-off-by: Cody Fauser <codyfauser@gmail.com>
fixed small bug

changed:
params[:billing][:name] = billing_address[:name] || creditcard ? creditcard.name : nil

to:
params[:billing][:name] = billing_address[:name] || (creditcard ? creditcard.name : nil)

========

ruby-1.9.1-p243 > params = {}
 => {}
ruby-1.9.1-p243 > params[:billing] = {}
 => {}
ruby-1.9.1-p243 > billing_address = {}
 => {}
ruby-1.9.1-p243 > billing_address[:name] = 'dusty doris'
 => "dusty doris"
ruby-1.9.1-p243 > creditcard = nil
 => nil
ruby-1.9.1-p243 > params[:billing][:name] = billing_address[:name] || creditcard ? creditcard.name : nil
NoMethodError: undefined method `name' for nil:NilClass
	from (irb):6
	from /Users/dusty/.rvm/ruby-1.9.1-p243/bin/irb:15:in `<main>'
ruby-1.9.1-p243 > params[:billing][:name] = billing_address[:name] || (creditcard ? creditcard.name : nil)
 => "dusty doris"
ruby-1.9.1-p243 > def creditcard.name
ruby-1.9.1-p243 ?>  "dusty doris"
ruby-1.9.1-p243 ?>  end
 => nil
ruby-1.9.1-p243 > billing_address[:name] = nil
 => nil
ruby-1.9.1-p243 > params[:billing][:name] = billing_address[:name] || creditcard ? creditcard.name : nil
 => nil
ruby-1.9.1-p243 > params[:billing][:name] = billing_address[:name] || (creditcard ? creditcard.name : nil)
 => nil
ruby-1.9.1-p243 > creditcard = true
 => true
ruby-1.9.1-p243 > def creditcard.name
ruby-1.9.1-p243 ?>  "dusty doris"
ruby-1.9.1-p243 ?>  end
 => nil
ruby-1.9.1-p243 > params[:billing][:name] = billing_address[:name] || (creditcard ? creditcard.name : nil)
 => "dusty doris"
ruby-1.9.1-p243 > params[:billing][:name] = billing_address[:name] || creditcard ? creditcard.name : nil
 => "dusty doris"

Signed-off-by: Cody Fauser <codyfauser@gmail.com>
added test for capture
Fix typo in base.rb
Add NELix to readme
Converted all gateways to autoload so that parsing & requiring is done on demand
Made integrations autoload as well
Defer setup of Integrations namespace
Updated SecurePay gateway to use a comma delimiter when parsing response messages instead of the old percentage sign. Also updated tests.
Remove old AuthorizedNetGateway constant
Remove old BrainTree constant
remove old gateway constant aliases
Add .rdoc to README for better github rendering
Fix jcb regex to include wider range of card numbers.
Formally deprecate Money objects. Clean up contributor comments