Solved

Getting an authorize.net connection failure

Posted on 2008-06-16
20
746 Views
Last Modified: 2013-12-24
Hi.  I've been battling this for awhile now and need help.  I have a shared godaddy host account with coldfusion installed.  I also purchased at godaddy and have setup a "Standard Multiple Domain (UCC) SSL Up to 5".  I set up multiple domains on the host account (using sub domains) so those domains are pointing to subdirectories off of the root.  I then created ssl subject alt names to each of those domains in the certificate.  so I have:

Shared host account.  coldfusion installed.
www.siteone.com -> /siteone.com
www.sitetwo.com -> /sitetwo.com
www.sitethree.com -> /sitethree.com

The certs have been apparently setup properly and no errors show in the browser (IE), I see the 'lock' on the https pages and when clicked, it properly displays the certificate (when viewing the cert further, it of course displays the owner of the actual cert which is my company).  So, all of that looks and functions properly.

However, I also have an Authorize.net account and am using AIM (using the cf_aim file).  All the settings are correct including the tran key and login id.  However, I get a 'Connection Failure' error when I run the test page.  I have another shared host account with godaddy and have a regulare ssl cert applied to just that host account.  I've tested it and it runs perfect?  I'm using the exact same test page.  Does it have to do with the UCC 5-pack ssl cert and me using subject alt names?  Please someone help me.  I'm pulling my hair out!
0
Comment
Question by:COwebmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 12
  • 8
20 Comments
 
LVL 36

Expert Comment

by:SidFishes
ID: 21799411
0
 

Author Comment

by:COwebmaster
ID: 21799448
Hi SidFishes.  I can't even connect using http at least on the one account.  It works on the other account using http, but not the other.
0
 

Author Comment

by:COwebmaster
ID: 21799456
I'm pointing the params to <cfhttp method="post" url="https://secure.authorize.net/gateway/transact.dll">
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 21802824
try this on a test page

<cfhttp method="post" url="https://secure.authorize.net/gateway/transact.dll" name="test">
<cfhttpparam name="merchantid" value="Test" type="formfield">
</cfhttp>

<cfoutput>#test.filecontent#</cfoutput>

it works for me.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 21802828
when I say works i mean I get  an authorize.net error message, but that is valid as I am not passing proper params
0
 

Author Comment

by:COwebmaster
ID: 21802932
It takes a long time to get a response (30 seconds), then I get an error:

Element FILECONTENT is undefined in TEST.
0
 

Author Comment

by:COwebmaster
ID: 21802957
I tried that in my other shared hosting account which connects fine and an immediate response came back..

The column name "
The following errors have occurred.
(13) The merchant login ID or password is invalid or the account is inactive.
" is invalid.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 21802965
hmm... works for me in  <2 secs

try loading it in the browser by clicking on the link
https://secure.authorize.net/gateway/transact.dll

0
 

Author Comment

by:COwebmaster
ID: 21803042
I get an immediate response..

The following errors have occurred.
(13) The merchant login ID or password is invalid or the account is inactive.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 21803181
then it must be the cert store

did you try this from the livedocs link

"To use HTTPS with the cfhttp tag, you might need to manually import the certificate for each web server into the keystore for the JRE that ColdFusion uses. This procedure should not be necessary if the certificate is signed (issued) by an authority that the JSSE (Java Secure Sockets Extension) recognizes (for example, Verisign); that is, if the signing authority is in the cacerts already. However, you might need to use the procedure if you are issuing SSL (secure sockets layer) certificates yourself.
To manually import a certificate:

   1. Go to a page on the SSL server in question.
   2. Double-click the lock icon.
   3. Click the Details tab.
   4. Click Copy To File.
   5. Select the base64 option and save the file.
   6. Copy the CER file into C:\CFusionMX7\runtime\jre\lib\security (or whichever JRE ColdFusion is using).
   7. Run the following command in the same directory (keytool.exe is located in C:\CFusionMX7\runtime\jre\bin):

      keytool -import -keystore cacerts -alias giveUniqueName -file filename.cer

0
 

Author Comment

by:COwebmaster
ID: 21803242
i'm on a shared hosting environment with godaddy and believe have zero access to do any of that.  I bought the cert through them (starfield) and they set it up.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 21803390
your SSL cert is irrelevant for use with cfhttp. Your ssl cert is is to encrypt data between your server and your clients browser. cfhttp is acting as a browser client on your server connecting to the SSL server on authorize.net.

I have seen a bunch of posts regarding godaddy/authorize.net and php shopping carts. The solution was to use a proxy, but I've seen nothing on using cfhttp

I think you will probably have to open a support ticket with godaddy as I don't think there is anything you can do from your end.

0
 

Author Comment

by:COwebmaster
ID: 21803461
but it works for my on another godaddy shared hosting account I own?
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 21803533
your one site may be running on a different cf server as I expect they have dozens if not 100's
0
 

Author Comment

by:COwebmaster
ID: 21803557
that could be. I believe the one I'm one uses cf 7.  would that make a difference?
0
 

Author Comment

by:COwebmaster
ID: 21804310
Could it be that godaddy is blocking the gateway ip for authorize.net on that machine and that is why I can connect to them?
0
 

Author Comment

by:COwebmaster
ID: 21804843
what is strange is that one time it was working until I purchased an ssl cert and had them set it up.  After 6 weeks, they realized the host account was improperly setup.  what does that mean?  does that also mean the coldfusion wasn't setup properly or that they blocked the authorize.net gateway ip?
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 21806000
at this point, I'm not sure I've any more suggestions except talk to tech support... sounds like they may have screwed something up.
0
 

Author Comment

by:COwebmaster
ID: 21806135
thanks for your hekp on this.
0
 

Author Comment

by:COwebmaster
ID: 21809844
I have to use a proxyserver in the cfhttp tag I'm finding out.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question