I can't connect to authorize.net in my shared godaddy host account. I was told by authorize.net that they are not receiving anything on the host side. when I run the cf_aim.cfm script that authorize.net supplies (
http://developer.authorize.net/samplecode/), I get a "connection error". I just spoke at length with godaddy tech support and they said I need a web.config file on the root of my file server and that I need to point to a proxy server which is in the config file. I have no idea what they mean. what they supplied me for the web.config was:
<system.net>
<defaultProxy>
<proxy usesystemdefault="False" proxyaddress="
http://proxy.shr.secureserver.net:3128" bypassonlocal="False" />
</defaultProxy>
</system.net>
I still get a "connection failure" error. Do I adjust something in the cfm file that points to this proxy server?
I currently have:
<cfhttp method="post" url="
https://secure.authorize.net/gateway/transact.dll">
<cfhttpparam name="x_login" type="formfield" value="xxxxxxx">
<cfhttpparam name="x_tran_key" type="formfield" value="xxxxxxxxxxxxxxx">
<cfhttpparam name="x_method" type="formfield" value="CC">
<cfhttpparam name="x_type" type="formfield" value="AUTH_CAPTURE">
<cfhttpparam name="x_amount" type="formfield" value="1.00">
<cfhttpparam name="x_delim_data" type="formfield" value="TRUE">
<cfhttpparam name="x_delim_char" type="formfield" value="|">
<cfhttpparam name="x_relay_response" type="formfield" value="FALSE">
<cfhttpparam name="x_card_num" type="formfield" value="4111111111111111">
<cfhttpparam name="x_exp_date" type="formfield" value="07/09">
</cfhttp>
<cfset api_response=cfhttp.fileCo
ntent>
<cfoutput>#api_response#</
cfoutput>
calling all coldfusion experts. any help is greatly appreciated.
Start Free Trial