Jump to content
Sign in to follow this  
mroche

Authorize.net SSL 3.0 Working?

Recommended Posts

Thanks, I did already see that post, I downloaded the Contribution, wrote a language file for it, installed it and it does not work. We just keep getting the default error message. Yes, CURL is installed, Yes, the path is set.

 

Do you have to do any changes in the auth.net control panel?

Edited by mroche

Share this post


Link to post
Share on other sites
Thanks, I did already see that post, I downloaded the Contribution, wrote a lnguage file for it, installed it and it does not work. We just keep getting the default error message. Yes, CURL is installed, Yes, the path is set.

 

Do you have to do any changes in the auth.net control panel?

I use this one: http://addons.oscommerce.com/info/4091

 

If the stock module works for you, it looks like there is only a very minor change made in the contribution mentioned earlier.

Share this post


Link to post
Share on other sites

Ok, so I made the small change to the new auth.net ssl3 module. Just to verify:

 

You need to "Add" this line or "change" the variable in the existing line from "$curl" to "$ch"

 

To fix authorizenet_cc_aim.php, it looks like all you have to do is find this (around line 342):

curl_setopt($curl, CURLOPT_HEADER, 0);

 

and insert the following as a new line below that:

curl_setopt($ch, CURLOPT_SSLVERSION, 3);

 

----When I change to the line you have above and run a transaction, this is the error I get------------

 

Warning: curl_setopt(): supplied argument is not a valid cURL handle resource in cart/includes/modules/payment/authorizenet_cc_aim.php on line 343

 

Warning: Cannot modify header information - headers already sent by (output started at public_html/cart/includes/modules/payment/authorizenet_cc_aim.php:343) in public_html/cart/includes/functions/general.php on line 33

Share this post


Link to post
Share on other sites
Ok, so I made the small change to the new auth.net ssl3 module. Just to verify:

 

You need to "Add" this line or "change" the variable in the existing line from "$curl" to "$ch"

 

To fix authorizenet_cc_aim.php, it looks like all you have to do is find this (around line 342):

curl_setopt($curl, CURLOPT_HEADER, 0);

 

and insert the following as a new line below that:

curl_setopt($ch, CURLOPT_SSLVERSION, 3);

 

----When I change to the line you have above and run a transaction, this is the error I get------------

 

Warning: curl_setopt(): supplied argument is not a valid cURL handle resource in cart/includes/modules/payment/authorizenet_cc_aim.php on line 343

 

Warning: Cannot modify header information - headers already sent by (output started at public_html/cart/includes/modules/payment/authorizenet_cc_aim.php:343) in public_html/cart/includes/functions/general.php on line 33

I think you should post this in the other thread because that's where the author posted the contribution link.

 

http://forums.oscommerce.com/index.php?showtopic=328913

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×