Paypal IPN verify fails without SSL in sandbox

Paypal IPN verify fails without SSL in sandbox

Submitted by Jitesh Doshi on Sun, 11/06/2011 - 19:02
PayPal logo

I was testing a new module I am writing. It is designed to receive IPN (instant payment notification) postbacks from Paypal. And when the code receives an IPN postback, it in turn calls Paypal again and asks Paypal to verify that the given IPN is real and not fake. Paypal is supposed to look at the IPN data and reply with a string "VERIFIED"

This was working until a few days back, and is not working anymore. After struggling with it for several hours, I found out that Paypal sandbox does not like my code to connect to it in non-SSL mode on port 80. I had replace the plain HTTP connection back to Paypal with HTTPS (SSL) connection on port 443, and everything started working again. From what I read on the Internet, it seems Paypal sandbox has done this several times in the past and then they fix the problem a few days later.

Jitesh Doshi

Profile picture for user Jitesh Doshi
Managing Partner & CTO
  • A seasoned technology entrepreneur and enthusiast
  • A regular speaker at industry conferences and universities
  • Host and organizer of technology user groups
  • Active in management of non-profit organizations serving the local community
  • Leader and contributor for multiple open-source projects
  • Expert in cloud, application integration, web and mobile technologies
  • Author of open-source projects, including on Drupal.org - Popular Tags and PRLP.
  • Developed several highly successful software platforms and frameworks for clients