Re: Authorize.net, SIM, tcpconnect and applescript

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48911
interpreted = N
texte = Put this code in your page and tell me what you get, be sure to set the t_login & the t_password variables[!]Begin Code[/!][text]t_login=[/text] [text]t_password=[/text] [text]t_test=T[/text] [text]grandtotal=10.00[/text] [text]accountnumx=4621210400216855[/text] [text]expmonth=12[/text] [text]expyear=03[/text] [text]name=Test Person[/text] [text]address1=1234 Test Road[/text] [text]city=Testing[/text] [text]state=IA[/text] [text]country=US[/text] [text]zip=63114[/text] [text]phone=12345678[/text] [text]=[/text][text show=F]__response=[grep search=,,&replace=, ,][grep search=,,&replace=, ,][middle start=Content-Length: ][TCPConnect host=certification.authorize.net&port=443&ssl=T] [TCPSend]GET /gateway/ transact.dll?x_Version=3.1&x_Delim_Data=True&x_Login=[t_login]&x_Passwor d=[t_password]&x_Amount=[grandtotal]&x_Card_Num=[accountnumX]&x_Exp_Date =[expMonth]/ [expyear]&x_Type=AUTH_CAPTURE&x_Test_Request=[t_test]&x_First_Name=[url] [name][/url]&x_Company=&x_Address=[url][address1][/ url]&x_City=[url][city][/url]&x_State=[url][state][/ url]&x_Zip=[url][zip][/url]&x_Country=[url][country][/ url]&x_Phone=[url][phone][/url]&x_Invoice_Num=[url][cart][/ url]&x_Customer_IP=[url][CartIPAddress][/ url]&x_Cust_ID=[url][Header39][/url]&x_Method=CC[showif [cvcode]=T]&x_Card_Code=[url][Header37][/url][/showif] HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] [/TCPConnect][/middle][/grep][/grep][/text][listwords words=[__response]&delimiters=,][text show=F]word[index]=[word][/text][text]__loopend=[index][/text][/ listwords] [text show=F]word1=[listwords words=[grep search=%0D%0D&replace=|][word1][/grep]&delimiters=|][showif [index]=2][word][/showif][/listwords][/text][loop start=1&end=[__loopend]] word[index]=[interpret][word[index]][/interpret]
[/loop][!]authorize.net legendword1 Response Code Indicates the result of the transaction: 1 = Approved 2 = Declined 3 = Error word2 Response Subcode A code used by the system for internal transaction tracking. word3 Response Reason Code A code representing more details about the result of the transaction. word4 Response Reason Text Brief description of the result, which corresponds with the Response Reason Code. word5 Approval Code The six-digit alphanumeric authorization or approval code. word6 AVS Result Code word8 Invoice Number word9 Description word10 Amount word11 Method word12 Transaction Type word13 Customer ID word14 Cardholder First Name word15 Cardholder Last Name word16 Company word17 Billing Address word18 City word19 State word20 Zip word21 Country word22 Phone word23 Fax word24 Email word25 Ship to First Name word26 Ship to Last Name word27 Ship to Company word28 Ship to Address word29 Ship to City word30 Ship to State word31 Ship to Zip word32 Ship to Country word33 Tax Amount word34 Duty Amount word35 Freight Amount word36 Tax Exempt Flag word37 PO Number word38 MD5 Hash System-generated hash that may be validated by the merchant to authenticate a transaction response received from the gateway. word39 Card Code (CVV2/CVC2/CID) Response Code Indicates the results of Card Code verification: M = Match N = No Match P = Not Processed S = Should have been present U = Issuer unable to process request [/!][!]End Code[/!]On Wednesday, March 26, 2003, at 12:15 PM, Clint Davis wrote:> For Bob or Velma, > > I have tried the code that each of you supplied, but neither version is > working. I think the problem might be that I'm using Direct Response > right > now, so the information returned from AuthorizeNet is simply my landing > page. > > Any tips for using your code to migrate from Direct Response??? Robert Minor ------------------------------------------------------------- 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, SIM, tcpconnect and applescript (Matthew Bohne 2003)
  2. Re: Authorize.net, SIM, tcpconnect and applescript (Clint Davis 2003)
  3. Re: Authorize.net, SIM, tcpconnect and applescript (Matthew Bohne 2003)
  4. Re: Authorize.net, SIM, tcpconnect and applescript (Bob Minor 2003)
  5. Re: Authorize.net, SIM, tcpconnect and applescript (Clint Davis 2003)
  6. Re: Authorize.net, SIM, tcpconnect and applescript (Bob Minor 2003)
  7. Re: Authorize.net, SIM, tcpconnect and applescript (Clint Davis 2003)
  8. Re: Authorize.net, SIM, tcpconnect and applescript (Matthew Bohne 2003)
  9. Re: Authorize.net, SIM, tcpconnect and applescript (Clint Davis 2003)
  10. Re: Authorize.net, SIM, tcpconnect and applescript (Matthew Bohne 2003)
  11. Re: Authorize.net, SIM, tcpconnect and applescript (Clint Davis 2003)
  12. Re: Authorize.net, SIM, tcpconnect and applescript (Matthew Bohne 2003)
  13. Re: Authorize.net, SIM, tcpconnect and applescript (Clint Davis 2003)
  14. Re: Authorize.net, SIM, tcpconnect and applescript (Matthew Bohne 2003)
  15. Re: Authorize.net, SIM, tcpconnect and applescript (Clint Davis 2003)
  16. Re: Authorize.net, SIM, tcpconnect and applescript (Matthew Bohne 2003)
  17. Re: Authorize.net, SIM, tcpconnect and applescript (Bob Minor 2003)
  18. Re: Authorize.net, SIM, tcpconnect and applescript (Clint Davis 2003)
  19. Re: Authorize.net, SIM, tcpconnect and applescript (Terry Wilson 2003)
  20. Re: Authorize.net, SIM, tcpconnect and applescript (Matthew Bohne 2003)
  21. Re: Authorize.net, SIM, tcpconnect and applescript (Bob Minor 2003)
  22. Authorize.net, SIM, tcpconnect and applescript (Terry Wilson 2003)
Put this code in your page and tell me what you get, be sure to set the t_login & the t_password variables[!]Begin Code[/!][text]t_login=[/text] [text]t_password=[/text] [text]t_test=T[/text] [text]grandtotal=10.00[/text] [text]accountnumx=4621210400216855[/text] [text]expmonth=12[/text] [text]expyear=03[/text] [text]name=Test Person[/text] [text]address1=1234 Test Road[/text] [text]city=Testing[/text] [text]state=IA[/text] [text]country=US[/text] [text]zip=63114[/text] [text]phone=12345678[/text] [text]=[/text][text show=F]__response=[grep search=,,&replace=, ,][grep search=,,&replace=, ,][middle start=Content-Length: ][TCPConnect host=certification.authorize.net&port=443&ssl=T] [tcpsend]GET /gateway/ transact.dll?x_Version=3.1&x_Delim_Data=True&x_Login=[t_login]&x_Passwor d=[t_password]&x_Amount=[grandtotal]&x_Card_Num=[accountnumX]&x_Exp_Date =[expMonth]/ [expyear]&x_Type=AUTH_CAPTURE&x_Test_Request=[t_test]&x_First_Name=[url] [name][/url]&x_Company=&x_Address=[url][address1][/ url]&x_City=[url][city][/url]&x_State=[url][state][/ url]&x_Zip=[url][zip][/url]&x_Country=[url][country][/ url]&x_Phone=[url][phone][/url]&x_Invoice_Num=[url][cart][/ url]&x_Customer_IP=[url][CartIPAddress][/ url]&x_Cust_ID=[url][Header39][/url]&x_Method=CC[showif [cvcode]=T]&x_Card_Code=[url][Header37][/url][/showif] HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] [/TCPConnect][/middle][/grep][/grep][/text][listwords words=[__response]&delimiters=,][text show=F]word[index]=[word][/text][text]__loopend=[index][/text][/ listwords] [text show=F]word1=[listwords words=[grep search=%0D%0D&replace=|][word1][/grep]&delimiters=|][showif [index]=2][word][/showif][/listwords][/text][loop start=1&end=[__loopend]] word[index]=[interpret][word[index]][/interpret]
[/loop][!]authorize.net legendword1 Response Code Indicates the result of the transaction: 1 = Approved 2 = Declined 3 = Error word2 Response Subcode A code used by the system for internal transaction tracking. word3 Response Reason Code A code representing more details about the result of the transaction. word4 Response Reason Text Brief description of the result, which corresponds with the Response Reason Code. word5 Approval Code The six-digit alphanumeric authorization or approval code. word6 AVS Result Code word8 Invoice Number word9 Description word10 Amount word11 Method word12 Transaction Type word13 Customer ID word14 Cardholder First Name word15 Cardholder Last Name word16 Company word17 Billing Address word18 City word19 State word20 Zip word21 Country word22 Phone word23 Fax word24 Email word25 Ship to First Name word26 Ship to Last Name word27 Ship to Company word28 Ship to Address word29 Ship to City word30 Ship to State word31 Ship to Zip word32 Ship to Country word33 Tax Amount word34 Duty Amount word35 Freight Amount word36 Tax Exempt Flag word37 PO Number word38 MD5 Hash System-generated hash that may be validated by the merchant to authenticate a transaction response received from the gateway. word39 Card Code (CVV2/CVC2/CID) Response Code Indicates the results of Card Code verification: M = Match N = No Match P = Not Processed S = Should have been present U = Issuer unable to process request [/!][!]End Code[/!]On Wednesday, March 26, 2003, at 12:15 PM, Clint Davis wrote:> For Bob or Velma, > > I have tried the code that each of you supplied, but neither version is > working. I think the problem might be that I'm using Direct Response > right > now, so the information returned from AuthorizeNet is simply my landing > page. > > Any tips for using your code to migrate from Direct Response??? Robert Minor ------------------------------------------------------------- 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/ Bob Minor

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:

ConverChars (1999) Shipping charges depending on tax rate? (1997) StoreBuilder Easily change a SKU (2004) f2 download problems (1997) PCS Emailer's role ? (1997) Note added to [sendmail] in Docs (2004) javascript popup (2005) Re[3]: ftp access on Macos X (2000) carriage returns in data (1997) For those of you not on the WebCatalog Beta... (1997) Sorting by date (1997) OT: Backup Strategies (2007) WC2b12: Yes, Formulas.db is for real (1997) Setting up WebCatalog with Retail Pro data (1996) How reliable is WebDNA? (2004) WebDNA Server Not Running (2005) Too Much Rootbeer Free Offer (1997) emailer w/F2 (1997) wish list (2002) SETCOOKIE Tricks (2003)