Changes at Authorize.net
Richard D. Williams
richard at appgrp.net
Fri Feb 9 11:36:23 PST 2018
FYI - FP on Linux
As of Feb 28, 2018 Authorize.net is moving from TLS 1.1 to TLS 2.1.
If you are using a curl script inside filepro, you must make sure you
have the most recent version of curl. (yum update curl)
Then just add *--tlsv1.2*to your script.
To check the curl version;
<?php
$curl_info = curl_version();
echo $curl_info['ssl_version'];
?>
To test your connection;
<?php
$ch = curl_init('https://secure2.authorize.net/gateway/transact.dll');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch,CURL_SSLVERSION_TLSv1_2,true);
curl_setopt($ch, CURLOPT_VERBOSE, true);
$data = curl_exec($ch);
curl_close($ch);
?>
Hope this helps somebody,
Richard D. Williams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180209/ce3eb713/attachment.html>
More information about the Filepro-list
mailing list