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 = Net::HTTP.new(''www.paypal.com'', 443)
http.use_ssl = true
response = http.post(''/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".
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---