paypal IPN requirement change

Written by Peter Davies on .

There is a possible issue with all Magento's and PayPal; specifically the posting of data using their IPN system.

There is a NEW requirement that requires modification in Magento core code to add extra HTTP headers:

It's not an easy job, but ideally we need each Magento customer who uses PayPal to update the code on their site. If this doesn't happen they will no longer be able to take PayPal orders - thanks PayPal.

As confirmed by one of my colleagues, the code relating to verifyPeer does look to be enterprise only, i.e. it’s not in the ipn.php file for community. Just comment this line out if you are using community edition, the Gist above is an official Magento Enterprise patch and is likely to break your Magento community unless modified.