Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFHTTP connection problem

Guest
May 20, 2010 May 20, 2010

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>

484
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 20, 2010 May 20, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 20, 2010 May 20, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 20, 2010 May 20, 2010
LATEST

You had no luck installing the cert in the keystore; or you installed the cert fine, but your <cfhttp> call is still failing?

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources