notify.acknowledge
NoMethodError: You have a nil object when you didn’t expect it!
The error occured while evaluating nil.verify_mode
from d:/ruby/lib/ruby/1.8/net/http.rb:565:in connect' from d:/ruby/lib/ruby/1.8/net/http.rb:555:in do_start’
from d:/ruby/lib/ruby/1.8/net/http.rb:544:in start' from d:/ruby/lib/ruby/1.8/net/http.rb:1031:in request’
from
./script/…/config/…/config/…/vendor/plugins/paypal/lib/notification.rb:209:in
`acknowledge’
from (irb):107
from :0
while testing IPN validations with the PayPal gem,
…
./script/…/config/…/config/…/vendor/plugins/paypal/lib/notification.rb:209:in
`acknowledge’
from (irb):107
from :0
Did you look at line 209 of notification ? That should give you a clue.
Check Paypal::Notification.ipn_url is not nil before calling too.
as I suspect it is http that is nil
request[‘Content-Length’] = “#{payload.size}”
raise StandardError.new(“Faulty paypal result: #{request.body}”)
On 8/29/06, Francois B. < [email protected]> wrote:
That only says that the connection is not open. Not that it’s false.
You need to initiate the request. Continue testing in the console /
irb to see where it leads you.
Sorry I can’t be more specific. You’re on the right track though.
Also, nothing prevents you from editing notification.rb and adding
logging statements. I often do: