>http://www.authorize.net/support/AIM_guide.pdf > >Everything you need to know about integration is contained in there. >
Well, not quite everything -- some added thoughts for your consideration. There also is a "card-present" pdf file on their site if you are needing to do a point-of-sale app where you can have the customer swipe his card. In a card not present situation or where you have to mannually enter the card info in a card-present system, the ZIP and ADDRESS field names expected by the gateway are X_ZIP and X_ADDRESS respectively. Example code that works well follows: <cfhttp method="post" url="https://secure.authorize.net/gateway/transact.dll" > <cfhttpparam name="x_login" type="formfield" value="abcdefg"> <cfhttpparam name="x_tran_key" type="formfield" value="123456"> <cfhttpparam name="x_method" type="formfield" value="CC"> <cfhttpparam name="x_type" type="formfield" value="#mX_TYPE#"> <cfhttpparam name="x_delim_char" type="formfield" value="|"> <cfhttpparam name="x_amount" type="formfield" value="#mX_AMOUNT#"> <cfhttpparam name="x_card_num" type="formfield" value="#mX_CARD_NUM#"> <cfhttpparam name="x_exp_date" type="formfield" value="#mX_EXP_DATE#"> <cfhttpparam name="x_address" type="formfield" value="#mX_ADDR_NUM#"> <cfhttpparam name="x_zip" type="formfield" value="#mX_ZIP#"> <cfhttpparam name="x_invoice_num" type="formfield" value="#mX_INVC_NUM#"> <cfhttpparam name="x_description" type="formfield" value="CF: Example"> <cfhttpparam name="x_cust_id" type="formfield" value="411219"> <cfhttpparam name="x_user_ref" type="formfield" value="#mX_INVC_NUM#" > <cfhttpparam name="x_market_type" type="formfield" value="2"> <cfhttpparam name="x_device_type" type="formfield" value="1"> <cfhttpparam name="x_cpversion" type="formfield" value="1.0"> <cfhttpparam name="x_response_format" type="formfield" value="1"> <cfhttpparam name="x_duplicate_window" type="formfield" value="2"> </cfhttp> Also note that doing a refund or credit against a same-day sale (one that has not gone to settlement requires a "void" operation and then a "auth_capture" to charge the new amount. With next day refunds/credits (done after settlement) you can do a credit without having to do a void. With a void or credit, you only need to have the TRAN_ID code returned by the gateway along with the last four digits of the credit card number (so no need to do a card reswipe for refunds partial or total). Finally, both debit and credit cards are handled the same by the gateway. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252163 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

