SSL for PayPal

I have this for PayPal IPN:

@query = ‘cmd=_notify-validate’
request.params.each_pair {|key, value| @query = @query + ‘&’ + key + ‘=’

  • value.first if key != ‘register/pay_pal_ipn.html/pay_pal_ipn’ }
    http =‘’, 443)
    http.use_ssl = true
    response =’/cgi-bin/webscr’, @query)

Will this work when the app server doesn’t have SSL?

I wonder because I get this Notice from the LSWS “peer certificate won’t
be verified in this SSL session”.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs