I'm stuck guys. I don't know what do do. We've been having this problem for awhile when dealing with a payment gateway that we get a "Connection Failure". Now, it is not all the time. It is intermittent. Maybe 1 in 25 or so. That rules out certificates right? My thoughts are that if it were a certificate then no requests would actually complete. So I set up a test page that does a test call to the payment gateway, the payment gateway we are using is eProcessing Networks' Authorize.Net emulator. Now, I got an error the first time I ran it.
Amazingly I was able to reproduce it. Just once. Then it started working again like nothing ever happened. I really need help guys. I will provide more information if you need.
This is the exact code I was using when I ran it. Nothing changes here as far as structure from call to call.
These are all test credentials from the developer site.
<cfhttp url="https://www.eprocessingnetwork.com/cgi-bin/an/transact.pl" port="443" METHOD="post" USERAGENT="Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))">
<cfhttpparam type="header" name="accept-encoding" value="no-compression"/>
<cfhttpparam type="Formfield" name="x_Login" value="080880">
<cfhttpparam type="Formfield" name="x_Tran_Key" value="yFqqXJh9Pqnugfr">
<cfhttpparam type="Formfield" name="x_Version" value="3.0">
<cfhttpparam type="Formfield" name="x_ADC_Delim_Data" value="TRUE">
<cfhttpparam type="Formfield" name="x_ADC_URL" value="FALSE">
<cfhttpparam type="Formfield" name="x_Method" value="CC">
<cfhttpparam type="Formfield" name="x_Card_Num" value="5454545454545454">
<cfhttpparam type="Formfield" name="x_Exp_Date" value="12/18">
<cfhttpparam type="Formfield" name="x_card_code" value="">
<cfhttpparam type="Formfield" name="x_Amount" value="20.14">
<cfhttpparam type="Formfield" name="x_Invoice_Num" value="001">
<cfhttpparam type="Formfield" name="x_Type" value="AUTH_CAPTURE">
<cfhttpparam type="Formfield" name="x_Cust_ID" value="0">
<cfhttpparam type="Formfield" name="x_Description" value="eProcessingNetwork">
<cfhttpparam type="Formfield" name="x_Last_Name" value="Oliver">
<cfhttpparam type="Formfield" name="x_Address" value="1415 North Loop West suite 905">
<cfhttpparam type="Formfield" name="x_City" value="Houston">
<cfhttpparam type="Formfield" name="x_State" value="TX">
<cfhttpparam type="Formfield" name="x_Zip" value="77008">
<cfhttpparam type="Formfield" name="x_Email" value="myemail@email.com">
</cfhttp>
<cfdump var="#cfhttp#">
Also of note, the call sometimes gets accepted by eprocessingnetwork. The payment will sometimes get made and then the connection will fail or close so we think that it failed.
Thanks so much.