Jump to content


Corporate Sponsors


Latest News: (loading..)

walkman

Member Since 21 Jan 2005
Offline Last Active Dec 21 2011, 00:09
-----

Topics I've Started

LinkPoint SSL change caused downtime

04 March 2011, 17:57

I have been using Linkpoint API to connect to the CC gateway since 2006. This routine used curl and PHP. It stopped working last night around 7:30 EST.

Calls to technical support revealed that the following 2 lines need to be added (or uncommented if already there):

curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);


Existing lines in the curl section:

curl_setopt ($ch, CURLOPT_URL,$host);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml);
curl_setopt ($ch, CURLOPT_SSLCERT, $key);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);



I believe that the contribution I used was based on 3010 -- this may have been replaced as I didn't find it in search.