Authorize.net for dummies

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49017
interpreted = N
texte = I am still having problems implementing AIM. Part of the problem may be that I am trying to convert from WebLink without having to change too much. So all of the variables below are being passed to a new page and the TCPConnect statement, where before they were posted to Authorize.net. If I have to I could change all of the variables so they are not the same as the ones I am passing in the TCPConnect statement, but I do not believe that is an issue.What happens is that I get this message:HTTP/1.1 400 Bad Request Server: Microsoft-IIS/5.0 Date: Fri, 28 Mar 2003 22:02:50 GMT Content-Type: text/html Content-Length: 87 The parameter is incorrect.I tried asking Authorize.net, but they have no idea (about this or it seems, much else). They think i am not connecting to their server. I think i am connecting, but passing something incorrectly. No doubt the problem is in my script, but I have been through it many times, and can not see the mistake. I need a fresh set of eyes to look it over and tell me what I am doing wrong.Here is the exact script, with a few of the particulars changed to protect the innocent. I have echoed the variables on my page, to ensure I am not sending out garbage, and it all looks fine. It is also all the identical variables that work with WebLink.[TCPConnect host=secure.authorize.net&port=443&ssl=T][TCPSend]Get /gateway/transact.dll ?x_Login=loginname&x_tran_key=1234567890&x_Version=3.1&x_Delim_Data=True &x_Type=Auth_Capture&x_customer_IP=[IP]&x_test_request=TRUE&x_Amount=[x_ Amount]&x_Card_Num=[x_Card_Num]&x_Exp_Date=[x_Exp_Date]&x_Test_Request=T RUE&x_First_Name=[url][x_First_Name][/ url]&x_last_name=[url][x_last_name][/ url]&x_Invoice_Num=[url][x_Invoice_Num][/ url]&x_Cust_ID=[url][x_Cust_ID][/url]&x_Company=[url][x_Company][/ url]&x_Address=[url][x_Address][/url]&x_City=[url][x_City][/ url]&x_State=[url][x_State][/url]&x_Zip=[url][x_Zip][/ url]&x_Phone=[url][x_Phone][/url]&x_email=[url][x_email][/url] HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] [/TCPConnect] ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Authorize.net for dummies (Stephen Reiss, Ph.D., C.W.E. 2003)
  2. Authorize.net for dummies (Stephen Reiss, Ph.D., C.W.E. 2003)
I am still having problems implementing AIM. Part of the problem may be that I am trying to convert from WebLink without having to change too much. So all of the variables below are being passed to a new page and the TCPConnect statement, where before they were posted to Authorize.net. If I have to I could change all of the variables so they are not the same as the ones I am passing in the TCPConnect statement, but I do not believe that is an issue.What happens is that I get this message:HTTP/1.1 400 Bad Request Server: Microsoft-IIS/5.0 Date: Fri, 28 Mar 2003 22:02:50 GMT Content-Type: text/html Content-Length: 87 The parameter is incorrect.I tried asking Authorize.net, but they have no idea (about this or it seems, much else). They think i am not connecting to their server. I think i am connecting, but passing something incorrectly. No doubt the problem is in my script, but I have been through it many times, and can not see the mistake. I need a fresh set of eyes to look it over and tell me what I am doing wrong.Here is the exact script, with a few of the particulars changed to protect the innocent. I have echoed the variables on my page, to ensure I am not sending out garbage, and it all looks fine. It is also all the identical variables that work with WebLink.[TCPConnect host=secure.authorize.net&port=443&ssl=T][tcpsend]Get /gateway/transact.dll ?x_Login=loginname&x_tran_key=1234567890&x_Version=3.1&x_Delim_Data=True &x_Type=Auth_Capture&x_customer_IP=[IP]&x_test_request=TRUE&x_Amount=[x_ Amount]&x_Card_Num=[x_Card_Num]&x_Exp_Date=[x_Exp_Date]&x_Test_Request=T RUE&x_First_Name=[url][x_First_Name][/ url]&x_last_name=[url][x_last_name][/ url]&x_Invoice_Num=[url][x_Invoice_Num][/ url]&x_Cust_ID=[url][x_Cust_ID][/url]&x_Company=[url][x_Company][/ url]&x_Address=[url][x_Address][/url]&x_City=[url][x_City][/ url]&x_State=[url][x_State][/url]&x_Zip=[url][x_Zip][/ url]&x_Phone=[url][x_Phone][/url]&x_email=[url][x_email][/url] HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] [/TCPConnect] ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Stephen Reiss, Ph.D., C.W.E.

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Dummy Credit Card Number for debug? (1997) Permissions Ignored - PLEASE HELP (2003) Webten + Webcat running smooth (1998) Changes to the List (1997) WebMerchant and Mac Auth Hub Help Please (1999) Nested vs conditional (1997) Re:Emailer setup (1997) The code, one more time. (2003) WebCat with WebTen (1998) GuestBook example (1997) Ken's Data Manager (was dbQuickView 2.0) (2005) WebMerchant (2000) RE: protect tag on NT (1997) Running 2 two WebCatalog.acgi's (1996) Showif for mulitple variations (1997) PIXO (1997) Shopping cart now bad (1997) Location of Browser Info.txt file (1997) minimalist shopping cart. (1997) listfiles, moving files (1998)