Re: Authorize.net for dummies

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49020
interpreted = N
texte = OK, I figured it out. I [url] everything and it worked. On Friday, March 28, 2003, at 03:08 PM, Stephen Reiss, Ph.D., C.W.E. wrote:> 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=Tru > e&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_Reques > t=TRUE&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/ > ------------------------------------------------------------- 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)
OK, I figured it out. I [url] everything and it worked. On Friday, March 28, 2003, at 03:08 PM, Stephen Reiss, Ph.D., C.W.E. wrote:> 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=Tru > e&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_Reques > t=TRUE&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/ > ------------------------------------------------------------- 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:

Show shoppingcart after remove last item (1997) Credit card types (1997) [shownext] and sort (1998) Proper file locations (1997) group searching problem (2002) Number of Open Databases (1998) textA (1998) Re(7): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Reversed words (1997) [WebDNA] Apple Server (2013) Help formatting search results w/ table (1997) [WebDNA] showif/sendmail question (2008) WebCat2b13MacPlugIn - [include] (1997) Multiple Pulldowns (1997) Summing fields (1997) Not really WebCat (1997) Anybody host WebDNA & ImageMagick? (2004) UPS Quick Cost Calculator (1997) Simple way to create unique SKU (1997) Smart caching problems with 2.1b3? (1997)