Blog

ColdFusion 7 and the PayPal Web Payments Pro API

After working happily for a year or so, a client’s donation engine that uses the PayPal Web Payments Pro system started throwing errors. Upon closer inspection it was giving a “Connection Failure” error and not even completing the SSL handshake. After talking with PayPal and digging around on the Internet I found the solution.

  1. Go to: https://www.verisign.com/support/roots.html and download roots.zip file.
  2. Copy and rename the “Class 3 Public Primary Certification Authority – G2.cer” file from the root certificates zip file provided by VeriSign to c:\vs-g2-import.cer to remove spaces from the filename.
  3. Issue the following command: C:\CFusionMX7\runtime\jre\bin\keytool.exe -import -keystore c:\cfusionmx7\runtime\jre\lib\security\cacerts -storepass changeit -noprompt -trustcacerts -file c:\vs-g2-import.cer -alias vs-g2-import-09-09-30
  4. Restart ColdFusion.

Works like a champ now. Thanks PayPal for the advance warning.

Additional Information:

http://www.pdncommunity.com/t5/blogs/blogarticlepage/blog-id/mts_updates/article-id/456
http://www.pdncommunity.com/pdn/board/message?board.id=nvp&thread.id=5557

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>