Mary Jo, You should be able to bypass CFHTTP and use the java libs directly. I took a gander at the Java samples on the auth.net site for AIM integration and here's what I came up with. It seems to work fine on CF 7 and It handles the SSL all right and returns values. But I'm still trying to figure out how to test and see if it's SSL 3.0 or not (I suspect not). Still, I'm guessing you could figure out how to specify the exact SSL protocol from the Java docs. The only question I would have is does 1.4_x support SSL 3.0 natively using the java.net and java.net.SSL libs or do we need some additional library. I'm guessing some Java gurus on this list could give us the skinny on that.
FYI - I'm interested in the resolution to this as well. We would have 2 or 3 sites to move to CF 8 quickly if we don't have an easy work around (at least 1 CF Webstore site as well). Let me know if you figure it out and I'll whip up a blog entry for the community. -Mark _____ <cfparam name="form.x_login" default=""/> <cfparam name="form.x_tran_key" default=""/> <cfparam name="form.x_version" default="3.1"/> <cfparam name="form.x_test_request" default="TRUE"/> <cfparam name="form.x_method" default="CC"/> <cfparam name="form.x_type" default="AUTH_CAPTURE"/> <cfparam name="form.x_amount" default="1.00"/> <cfparam name="form.x_delim_data" default="TRUE"/> <cfparam name="form.x_delim_char" default="|"/> <cfparam name="form.x_relay_response" default="FALSE"/> <cfparam name="form.x_card_num" default="4007000000027"/> <cfparam name="form.x_exp_date" default="0509"/> <cfparam name="form.x_description" default="TEST JAVA TRANS"/> <Cfset str = ''/> <cfloop collection="#form#" item="f"> <Cfset str = str & f & '=' & form[f] & '&'/> </cfloop> <Cfoutput>#str#</CFOUTPUT> <cfscript> objUrl = createobject("java","java.net.URL").init(" <https://test.authorize.net/gateway/transact.dll> https://test.authorize.net/gateway/transact.dll"); sendstring = ''; // connection conn = objUrl.openConnection(); //set some props conn.setDoOutput(true); conn.setUseCaches(false); conn.setRequestProperty("content-Type","application/x-www-form-urlencoded"); //set ouptput dtOut = conn.getOutputStream(); dtOut.write(Javacast("String",str).toString().getBytes()); dtOut.flush(); dtOut.Close(); // set input inS = createobject("java","java.io.InputStreamReader").init(conn.getInputStream()) ; inVar = createObject("java","java.io.BufferedReader").init(inS); retVar = inVar.readLine(); </cfscript> Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -----Original Message----- From: Mary Jo Sminkey [ <mailto:mary...@cfwebstore.com> mailto:mary...@cfwebstore.com] Sent: Tuesday, February 17, 2009 2:47 PM To: cf-talk Subject: CFHTTP and SSL v3 Okay, I have a bit of a critical issue as Authorize.Net is apparently disabling any use of SSL v2.0 and requiring the use of v3.0 (and only giving us about a month to get ready!) To my knowledge, only ColdFusion 8 even supports this, and not sure what the support is in Railo and BlueDragon. Is there any reasonably easy way to do this in CF7 (or even CF6)? I have a LOT of customers still on CF7 and AuthNet is by far the most popular gateway, and I need to find them a solution, as upgrading to CF8 may not be a viable solution for many of them. --- Mary Jo Sminkey CFWebstore, ColdFusion-based Ecommerce <http://www.cfwebstore.com> http://www.cfwebstore.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319436 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4