• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

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 %>
<%
url="httsp://secure.ezic.com/gw/native/direct2.1"
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?

Thanks

0
garyz31
Asked:
garyz31
  • 2
1 Solution
 
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.
0
 
Michel SakrCommented:
>shouldn't it be https instead of httsp ?
url="httsp://secure.ezic.com/gw/native/direct2.1"


also check if you can get to the url from a browser from within the production server.. maybe there's a routing problem..
0
 
garyz31Author Commented:
Yes, that's a typo.  https causes the hanging problem.
0
 
WakieCommented:
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.

DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Wakie,
EE Cleanup Volunteer.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now