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:

& in Lookups (1997) Hiding HTML and page breaks (1997) Variables (1999) More on the email templates (1997) RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (2013) Help!!!! Purchases not going through! FIXED! (1997) Setting up shop (1997) Hiding the URL(was Cart ID Duplication) (2001) Plugin or CGI or both (1997) [WebDNA] Processor usage off the charts (2008) WebCat2 beta 11 - new prefs ... (1997) WebCatalog Technical Reference (1997) Best way to add data to .db (1999) The Guru Speaks (1998) [Sum] function? (1997) no global [username] or [password] displayed ... (1997) Problems with [Applescript] (1997) Nested tags count question (1997) One more time (1997) E-Commerce site for Canadian and US customers (1998)