Copy link to clipboard
Copied
I'm getting a connection failure when I try to post using cfhttp but the transaction works when I post through a form. Can anyone see my problem?
This doesn't work:
<cfhttp url="https://wwws.echo-inc.com/scripts/INR200.EXE?transaction_type=EV&order_type=S&merchant_echo_id=000>000000&merchant_pin=00000000&counter=1&billing_ip_address=xxx.xx.xx.xxx&cc_number=0000000000000000&ccexp_month=12&ccexp_year=2010&grand_total=1.38&billing_name=John Doe&billing_address1=123 Main St.&billing_city=Los Angeles&billing_state=CA&billing_zip=91505&billing_phone=0000000000" method="POST">
<cfoutput>
#cfhttp.FileContent# <br>
</cfoutput>
This works:
<form action="https://wwws.echo-inc.com/scripts/INR200.EXE?transaction_type=EV&order_type=S&merchant_echo_id=999>9999999&merchant_pin=99999999&counter=1&billing_ip_address=xxx.xx.xx.xxx&cc_number=0000000000000000&ccexp_month=12&ccexp_year=2010&grand_total=1.25&billing_name=John Doe&billing_address1=123 Main St.&billing_city=Los Angeles&billing_state=CA&billing_zip=91505HTTPS/1.0&billing_phone=7777777777" method="post">
<input type="submit" name="Submit" value="Submit">
</form>
Copy link to clipboard
Copied
Have you read what the docs have to say about <cfhttp> and HTTPS?
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_g-h_09.html
--
Adam
Copy link to clipboard
Copied
Do you mean the part about importing the cerificate to the keystore? I gave it a try and no luck. The connection is still failing for me.
Copy link to clipboard
Copied
You had no luck installing the cert in the keystore; or you installed the cert fine, but your <cfhttp> call is still failing?
--
Adam