Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Authorize.net SSL 3.0 Working?


mroche

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
Link to comment
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.

Link to comment
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

Link to comment
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://www.oscommerce.com/forums/index.php?showtopic=328913

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...