I've used Authorizenet a few times.  Here's a test script that is a
bit dated - I think it'll still work as is but they may have made some
minor changes in the past year...

<CFHTTP URL="https://secure.authorize.net/gateway/transact.dll";
METHOD="POST" RESOLVEURL="no">
<!--- Required items --->
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Version" VALUE="3.1">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Login" VALUE="your login">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Password" VALUE="your password">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Amount" VALUE="12.00">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Delim_Data" VALUE="True">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Card_Num" VALUE="4007000000027"> 
        <!--- <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Card_Num"
VALUE="4222222222222"> --->
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Exp_Date" VALUE="0905">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Type" VALUE="AUTH_ONLY">
        
<!--- Optional CC --->
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Card_Code" VALUE="123">

<!--- Customer Items --->
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_First_Name" VALUE="Test">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Last_Name" VALUE="User">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Address" VALUE="addy">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_City" VALUE="Cityville">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_State" VALUE="CA">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Zip" VALUE="90210">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Country" VALUE="USA">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Phone" VALUE="800-123-4556">
<!--- Customer/Site --->
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Cust_ID" VALUE="1">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Customer_IP" 
VALUE="#CGI.REMOTE_HOST#">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Email" VALUE="[EMAIL PROTECTED]">
        
<!--- Order --->
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Invoice_Num" VALUE="123">
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Description" VALUE="Test Xfer">
        
<CFIF IsDefined("test_only")>
        <CFHTTPPARAM TYPE="FORMFIELD" NAME="x_Test_Request" VALUE="True">
</CFIF>
        
</CFHTTP>

<CFDUMP VAR="#CFHTTP.FileContent#">


On Thu, 6 Jan 2005 11:50:56 -0500, Ryan Mannion <[EMAIL PROTECTED]> wrote:
> Has anyone used authorize.net for thier payment processing gateway?
> 
> I sent an email asking about how the control would work. I've only
> used Verisign Pay Flow Pro in the past. This is thier response.
> 
> "This is the flow of control for AIM:
> - The customer submits the order form on your web site.
> - This form will post into a script on your server.
> 
> This script must do the following:
> - Make a Direct Socket Connection to our Transact.DLL using SSL.
> - Submit the transaction details. - Transact.DLL processes the transaction and
> generates the results.
> - The results are returned directly to the script that created the connection.
> - Generate the receipt page using the results of the transaction that were
> returned."
> 
> How would I make a direct socket connection to thier transact.dll
> using SSL? I know how to install and configure the SSL cert, but how
> would I make a Direct Socket Connection in Cold Fusion?
> 
> Any suggestions would be welcomed!
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189547
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to