[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Getting an authorize.net connection failure

Posted on 2008-06-16
20
Medium Priority
?
763 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
Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

 
LVL 36

Accepted Solution

by:
SidFishes earned 2000 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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

656 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