msxml hangs when I contact credit card processor from hosting service

I have a problem with posting data to my credit card processor from my hosting service; the script hangs indefinitely when I send data.

This is a script that demonstrates the problem without including my account number:

<%@ Language=VBScript %>
str = "GEN_ACCOUNT=" & "121212121212"
Dim xobj
set xobj = server.Createobject("MSXML2.ServerXMLHTTP")
xobj.Open "POST",url,false
xobj.Send str
Response.Write xobj.ResponseText

This script will return a response of Invalid Account Number.  It works fine from my development machine, but it hangs on my hosting service.  I've also had the same problem with other components posting to the service from the hosting service.  I've used a component called ASPTear, and the Microsoft.xmlhttp component.

The odd thing is that all of these components have worked for a few days, and then developed this same hanging problem.

Another odd thing is that the msxml.xmlhttp component will post successfully to some simple active server pages that I create as tests.

Does anyone have any idea what is going on here?


Who is Participating?
Michel SakrConnect With a Mentor Commented:
>shouldn't it be https instead of httsp ?

also check if you can get to the url from a browser from within the production server.. maybe there's a routing problem..
garyz31Author Commented:
A little more information:

I actually have accounts on two hosting services, so I tried running the page on the second service.

On the second service, I get the Invalid Account Number response from the credit card seervice if I use http, but I get an access denied error if I try to use https.  I don't have an SSL cert on the second service, but I do on the first, but I didn't think my SSL cert would be a factor in posting from the server.

From my local development server I get a response whether I use http or https.

On my first hosting service where I have an SSL cert, the post operation hangs whether I use http or https.
garyz31Author Commented:
Yes, that's a typo.  https causes the hanging problem.
It appears this question has been abandoned.

I will leave a recommendation in the Cleanup topic area that this question will be:

- Points to Silvers5 -

Please leave any comments here within the next seven days.


EE Cleanup Volunteer.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.