Hi Betty,
Have you got any progress on this issue?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
.
-=----------------------------
>From: =?Utf-8?B?YzY3NjIyOA==?= <>
>Subject: Can I make Asp program sleep?
>Date: Thu, 20 Nov 2008 11:20:01 -0800
>
>Hi all,
>
>We use Payflow Pro from Verisign(Now it calls paypal Payflow Pro) as a
>gateway software to process credit card payment.
>
>Most of time, Paypal server is OK and we don't have problems for credit
card
>payment. But we do experience some issues sometimes.
>i.e. Occasionally, after credit card information was submitted to payPal
>server, we didn't get any response from their server, no error code, it is
>just an empty string.
>
>I am not sure how it happened. I am thinking it's probably caused by our
>server program not waiting long enough for their server's response if
their
>server has some performance issue(slow in response) at that time. When the
>server response is not back yet, our program goes forward already, then
cause
>the return string from their server is empty. Am I on the right track?
>
>That's why I am thinking to make our asp program sleep for a while at this
>statement:
>
> Executor.Application = sDosCmd 'this command basically has credit card
>info for processing
> sResult=Executor.ExecuteDosApp 'sResult is the string back from paypal
server
>
>I want to add sleep 3000 right after this statement.
>then check is sResult is empty, if not, program goes on. If yes, continue
to
>sleep...
>until a non-empty string returns or quit the transaction after a long
enough
>waiting.
>
>Would you like to share some your experiences of credit card transactions?
I
>am dealing with a production server, so it is a very critical issue for us.
>
>I googled a bit. It says on ServerObejcts.com it has waitfor 1.0 we can
>download.
>I don't see this product.
>
>Thank you,
>--
>Betty
>