Quantcast
Channel: philpalmieri » Phil
Viewing all articles
Browse latest Browse all 10

IIS PHP cURL Authorize.net SSL

$
0
0

I’ve been working on a checkout system for a client site… Everything works well on our local and dev servers, but when we launched to the production box, which happens to be IIS, the checkout bombs.

After digging, cursing, googling, complaining to the ISP, etc… I finally found out that apparently, IIS windows servers do not verify the connection… In fact it times out if you try to.

So, im posting this to help save someone else hours of frustration…  In your cURL call to an https url, you just need to add the following

curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); //

Personalized User Vanity Url’s in Codeigniter


Viewing all articles
Browse latest Browse all 10

Trending Articles