I need to interact with an asp.Net based payment service.  I am able to do a
simple form post to the https:// URL with no problems.  However I can't make
it work with cfhttp and I've spent days trying.  Even after importing their
SSL cert into CF, it connects (gives me a 200) but then tells me I don't
have p[ermission to use the system.  Here's a short version of the code that
I am using:

<cfhttp url =https://myurl.com method = "POST" Port="443" charset="utf-8"
UserAgent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0)"
multipart="No"  timeout = "10000" result="CN">
     <cfhttpparam type = "formfield" encoded = "no" name = "NAME" value =
"Rick Mason">
     <cfhttpparam type = "formfield" encoded = "no" name = "ADDR" value =
"123 Main">
     <cfhttpparam type = "formfield" encoded = "no" name = "CITY" value =
"East Lansing">
      <cfhttpparam type = "formfield" encoded = "no" name = "STATE" value =
"MI">
     <cfhttpparam type = "formfield" encoded = "no" name = "ZIP" value =
"48823">
     <cfhttpparam type = "formfield" encoded = "no" name = "COUNTRY" value =
"USA">
     <cfhttpparam type = "formfield" encoded = "no" name = "EMAIL" value =
[email protected]>
     <cfhttpparam type = "formfield" encoded = "no" name = "ItemCode1"
value = "Merchandise">
     <cfhttpparam type = "formfield" encoded = "no" name = "ItemCount1"
value = "1">
     <cfhttpparam type = "formfield" encoded = "no" name = "Amount1"
value = "1">
      <cfhttpparam type = "formfield" encoded = "no" name = "refType1"
value = "sku">
      <cfhttpparam type = "formfield" encoded = "no" name = "refval1"
value = "memento">
</cfhttp>

 <cfdump var="#CN#">

Alternatively I tried the cfx_http5 tag and it gave me a Windows 12006 error
which is defined as the URL scheme could not be recognized or supported.
I'm pretty certain the problem is a networking one with the Windows 2003
server on our end (and the services techs agree) but I've run out of things
to try.

Anyone have an answer?


Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337051
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to