I am new to ActiveMerchant and trying to set it up to split payment
between multiple sellers, using Paypal adaptive payments. This thread
was very helpful in that regard:
http://groups.google.com/group/activemerchant/browse_thread/thread/165c3e0bf4d10c02/bbec1d565ada11aa?lnk=gst&q=adaptive+payments#bbec1d565ada11aa
I merged the current version of ActiveMerchant with Scott's fork, but
now I'm stuck with a whiny_nils bug that won't go away. Here is the
backtrace:
undefined method `strip' for nil:NilClass
Rails.root: /Users/newuser/Dropbox/Xperiments/Ruby/activemerchant
Application Trace | Framework Trace | Full Trace
activesupport (3.0.3) lib/active_support/whiny_nil.rb:48:in
`method_missing'
../lib/ruby/1.9.1/net/http.rb:1296:in `block in
initialize_http_header'
../lib/ruby/1.9.1/net/http.rb:1294:in `each'
../lib/ruby/1.9.1/net/http.rb:1294:in `initialize_http_header'
../lib/ruby/1.9.1/net/http.rb:1662:in `initialize'
../lib/ruby/1.9.1/net/http.rb:1779:in `initialize'
../lib/ruby/1.9.1/net/http.rb:970:in `new'
../lib/ruby/1.9.1/net/http.rb:970:in `post'
../bundler/gems/active_merchant-4cee3005f3b4/lib/active_merchant/
common/connection.rb:69:in `block (2 levels) in request'