I am not getting a response from Authorize.net using their PHP script and the AIM method


On Windows servers when connecting to a secure server via CURL, you must

provide and reference a file from the CURL library directly before calling

the connection. Here is how to do it:







STEP 1: DOWNLOAD THE FILE



1. Go to http://curl.haxx.se/

2. Download the full CURL package in your preferred format

3. Unzip the package

4. Locate the file 'ca-bundle.crt' in the 'lib' folder

5. Upload that file to your website







STEP 2: REFERENCE THAT FILE IN YOUR PHP SCRIPT



1. Add the following line before you call the CURL connection:



curl_setopt($ch, CURLOPT_CAINFO,

'D:\Domains\\\ca-bundle.crt');



An example might be:



curl_setopt($ch, CURLOPT_CAINFO,

'D:\Domains\mydomain.com\wwwroot\myfolder\ca-bundle.crt');



  • 1195 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

PHP version

We support both php 4/5 in all of our plans.

Does your hosting include support for mssql functions in PHP, allowing PHP to interact with either local OR foreign SQL Server databases?

Yes, this is possible. You can use php_mssql extension for that.If you need other extensions...