Solved

msxml hangs when I contact credit card processor from hosting service

Posted on 2002-06-20
4
199 Views
Last Modified: 2008-02-01
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
Comment
Question by:garyz31
  • 2
4 Comments
 
LVL 1

Author Comment

by:garyz31
ID: 7097659
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
 
LVL 20

Accepted Solution

by:
Silvers5 earned 150 total points
ID: 7097864
>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
 
LVL 1

Author Comment

by:garyz31
ID: 7099615
Yes, that's a typo.  https causes the hanging problem.
0
 
LVL 4

Expert Comment

by:Wakie
ID: 9355381
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

759 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now