[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RC = -1, yet URL Successfully Contacted
We have been developing a website trying to send credit card
transactions to Authorize.net. We have been sending test transactions
for some time, and thought that everything was going just fine. When
we tried to send our first "live" transaction, we realized that
something was very wrong.
We have cloned our process using Example5 from LIBHTTP. When we try to
run the following command, we receive a return code of -1, yet we have
undeniable proof that our transaction has been received and posted by
Authorize.net. We can go into our Authorize.net merchant interface,
and locate the details of the transaction. Because we get a -1 return
code, we are attempting to contact Authorize.net again. Each
subsequent attempt also causes a return code of -1. However,
Authorize.net does receive the transaction, and logs the transaction
as an error (because it considers the retry a duplicate transaction).
Eval ReturnCode = Http_URL_Post_Raw(PostToURL:
%addr(PostedString):
%len(%trim(PostedString)):
1:
%paddr(ProcessResponse))
where, PostToURL =
'https://secure.authorize.net/gateway/transact.dll'
The error message associated with the -1 return code is as follows.
We're not sure how significant the message is.
CommSSL_read: read:(GSKit) I/O: A connection with a remote socket was
reset by
(Note: As a side issue, we'd love to be able to expand the size of the
error message being returned to more than 80 characters, but haven't
figured out how to do that.)
Can anyone offer any theories why we are receiving a -1 return code,
yet from all appearances, we are successfully contacting the URL?
Thanks so much...
Wayne Hardey
--
We've Got Your Name at [1]Mail.com
Get a FREE E-mail Account Today - Choose From 100+ Domains
References
1. http://www.mail.com/?utm_source=mail_sent_footer&utm_medium=email&utm_term=070621&utm_content=textlink&utm_campaign=we_got_your_name
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------