Paypal IPN check fails on Pantheon
I have been directed to this patch:

https://www.drupal.org/node/2177647

I can't tell you whether it works or not yet since it will take a few weeks to be sure. But it seems to be the going solution.