I am trying to get a sandbox PayPal IPN working with the Coldfusion example shown here:
I've added the location of my IPN file to PayPal and the page is being called by it but all I get is a 'Connection Failure' message in the text file. The IPN file is being called from an https location so not sure what is wrong.
Copy link to clipboard
What version of CF and update level are you running? And what version of Java? Both can be seen via the CF Admin “settings summary” page.
Assuming you find it’s Java 7, that may be the problem and it may be solved by your moving to Java 8. As for whether you are able to update your CF version to Java 8, that depends on the CF version and update level. ColdFusion 2016 comes with it. CF 10 supported it as of its update 14, and CF11 supported it as of its update 3 (http://blogs.coldfusion.com/which-jdk-is-supported-with-coldfusion-9-10-and-11/).
(The issue—if this is what it’s about—is not a “bug” in CF but rather typically due to a change on the destination server regarding its TLS/SSL support, and it may require a level of support that only Java 8 offers.)
For more on how to do that update, there are many resources, such as:
Let us know if that’s the issue or not.
in the end it took a server upgrade and a java upgrade to get it working. thanks for the info!
Glad you got it resolved. I really think the jvm update alone would have done it, though, as I'd mentioned that first day. (Thanks for marking it the correct answer).
Is it that somehow you didn't see it before doing the "server upgrade", or are you really saying that both were needed?