<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'Error in Verification' | Pragmatic Forums</title>
    <link>http://forums.pragprog.com/forums/47/topics/422</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>Error in Verification posted by Joe Fair @ Tue, 13 May 2008 12:53:03 -0000</title>
      <description>&lt;p&gt;Federico,&lt;/p&gt;


	&lt;p&gt;Can you confirm that you get get to the paypal site from where you are running?  Try doing a ping &lt;a href="http://www.paypal.com"&gt;www.paypal.com&lt;/a&gt;, or better yet, wget &lt;a href="https://www.paypal.com/cgi-bin/webscr"&gt;https://www.paypal.com/cgi-bin/webscr&lt;/a&gt; and let us know.&lt;/p&gt;


	&lt;p&gt;Thanks,&lt;br /&gt;Joe&lt;/p&gt;</description>
      <pubDate>Tue, 13 May 2008 12:53:03 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:47:422:2786</guid>
      <author>Joe Fair</author>
      <link>http://forums.pragprog.com/forums/47/topics/422</link>
    </item>
    <item>
      <title>Error in Verification posted by Federico Gonzalez Lutteroth @ Sat, 10 May 2008 20:28:29 -0000</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;I implemented the solution for receiving &lt;span class="caps"&gt;IPN&lt;/span&gt;&amp;#8217;s in the website payments standard option. Everything was working fine when I was testing with the sandbox, but when i tryied to comunicate with the real server i get a &amp;#8220;Errno::ECONNRESET (Connection reset by peer):&amp;#8221; error, when doing the verification.&lt;/p&gt;


	&lt;p&gt;Here is the code:&lt;br /&gt;&lt;pre&gt;
&lt;code&gt;
  def ipnConfirm
    uri = URI.parse("https://www.paypal.com/cgi-bin/webscr")
    status = nil
    Net::HTTP.start(uri.host, uri.port) do |request|
        status = request.post(uri.path, @raw + "&amp;#38;cmd=_notify-validate").body
    end
    logger.debug "status = '#{status}'" 
    status == "VERIFIED" 
  end
&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/p&gt;


	&lt;p&gt;The error is stated as being on lines 4 and 5. (the Net:HTTP line, and the next one.) Could this be because i don&amp;#8217;t have a &lt;span class="caps"&gt;SSL&lt;/span&gt; certificate?&lt;/p&gt;


	&lt;p&gt;thanks.&lt;/p&gt;</description>
      <pubDate>Sat, 10 May 2008 20:28:29 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:47:422:2773</guid>
      <author>Federico Gonzalez Lutteroth</author>
      <link>http://forums.pragprog.com/forums/47/topics/422</link>
    </item>
  </channel>
</rss>
