Re: [WebDNA] anyone have a good tcpconnect post snippet?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102782
interpreted = N
texte = Here is some code I have C&P from a PayPal snippet I have, I know you will be able to sort out the sheep from the goats :) [!]===== SetExpressCheckout =====[/!] [TEXT show=T]content=[!] [/!]&USER=[URL][Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APIUSERNAME][/URL][!] [/!]&PWD=[URL][Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APIPASSWORD][/URL][!] [/!]&VERSION=[URL][Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APIVERSION][/URL][!] [/!]&SIGNATURE=[URL][Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APISIGNATURE][/URL][!] [/!]&METHOD=[URL]SetExpressCheckout[/URL][!] [/!]&PAYMENTACTION=[URL]SALE[/URL][!] SALE, AUTHORIZATION, ORDER [/!]&AMT=[URL][_amount][/URL][!] [/!]&CURRENCYCODE=[URL][ThisCurrency][/URL][!] [/!]&SOLUTIONTYPE=[URL]Sole[/URL][!] [/!]&RETURNURL=[URL][SiteReturnURL][/URL][!] [/!]&CANCELURL=[URL][SiteCancelURL][/URL][!] [/!]&INVNUM=[URL][ThisOrder][/URL][!] [/!]&PAGESTYLE=[URL][ThisBrand][/URL][!] [/!][/TEXT] [!]===== Make Connection =====[/!] [text muti=F]paypal_result=[tcpconnect host=[Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APIURL]&port=443&ssl=T][!] [/!][tcpsend skipheader=T]POST /nvp HTTP/1.0[UnURL]%0D%0A[/UnURL][!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) [UnURL]%0D%0A[/UnURL][!] [/!]Content-type: text/namevalue[UnURL]%0D%0A[/UnURL][!] [/!]Content-Length: [CountChars][content][/CountChars][UnURL]%0D%0A[/ UnURL][!] [/!]Content-type: text/namevalue[UnURL]%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A[/UnURL][!] [/!][content][UnURL]%0D%0A[/UnURL][!] [/!][/TCPSend][!] [/!][/tcpconnect][/text] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 24/06/2009, at 8:15 AM, Kenneth Grome wrote: >> Hello Ken! i will forward what i find to your personal >> email address. > > Thank you Chris, I found one that looks like it will work, > it is Stuart Tremain's code. > > Sincerely, > Ken Grome > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] anyone have a good tcpconnect post snippet? (Govinda 2009)
  2. Re: [WebDNA] anyone have a good tcpconnect post snippet? (Kenneth Grome 2009)
  3. Re: [WebDNA] anyone have a good tcpconnect post snippet? (Stuart Tremain 2009)
  4. Re: [WebDNA] anyone have a good tcpconnect post snippet? (Christer Olsson 2009)
  5. Re: [WebDNA] anyone have a good tcpconnect post snippet? (Stuart Tremain 2009)
  6. Re: [WebDNA] anyone have a good tcpconnect post snippet? (Kenneth Grome 2009)
  7. Re: [WebDNA] anyone have a good tcpconnect post snippet? (christophe.billiottet@webdna.us 2009)
  8. Re: [WebDNA] anyone have a good tcpconnect post snippet? (Govinda 2009)
  9. [WebDNA] anyone have a good tcpconnect post snippet? (Kenneth Grome 2009)
Here is some code I have C&P from a PayPal snippet I have, I know you will be able to sort out the sheep from the goats :) [!]===== SetExpressCheckout =====[/!] [TEXT show=T]content=[!] [/!]&USER=[url][Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APIUSERNAME][/URL][!] [/!]&PWD=[url][Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APIPASSWORD][/URL][!] [/!]&VERSION=[url][Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APIVERSION][/URL][!] [/!]&SIGNATURE=[url][Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APISIGNATURE][/URL][!] [/!]&METHOD=[url]SetExpressCheckout[/URL][!] [/!]&PAYMENTACTION=[url]SALE[/URL][!] SALE, AUTHORIZATION, ORDER [/!]&AMT=[url][_amount][/URL][!] [/!]&CURRENCYCODE=[url][ThisCurrency][/URL][!] [/!]&SOLUTIONTYPE=[url]Sole[/URL][!] [/!]&RETURNURL=[url][SiteReturnURL][/URL][!] [/!]&CANCELURL=[url][SiteCancelURL][/URL][!] [/!]&INVNUM=[url][ThisOrder][/URL][!] [/!]&PAGESTYLE=[url][ThisBrand][/URL][!] [/!][/TEXT] [!]===== Make Connection =====[/!] [text muti=F]paypal_result=[tcpconnect host=[Lookup db=^paypal/ paypal.db&Lookinfield=PREF&returnfield=PREFVALUE&value=[API- CODE]APIURL]&port=443&ssl=T][!] [/!][tcpsend skipheader=T]POST /nvp HTTP/1.0[unurl]%0D%0A[/UnURL][!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) [unurl]%0D%0A[/UnURL][!] [/!]Content-type: text/namevalue[unurl]%0D%0A[/UnURL][!] [/!]Content-Length: [countchars][content][/CountChars][unurl]%0D%0A[/ UnURL][!] [/!]Content-type: text/namevalue[unurl]%0D%0A[/UnURL][!] [/!][unurl]%0D%0A[/UnURL][!] [/!][content][unurl]%0D%0A[/UnURL][!] [/!][/TCPSend][!] [/!][/tcpconnect][/text] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 24/06/2009, at 8:15 AM, Kenneth Grome wrote: >> Hello Ken! i will forward what i find to your personal >> email address. > > Thank you Chris, I found one that looks like it will work, > it is Stuart Tremain's code. > > Sincerely, > Ken Grome > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Stuart Tremain

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:

synching databases on multiple servers (1997) WC2.0 Memory Requirements (1997) NT 4.0/IIS WebCat Installation (1998) is there a [purchase]? (1998) Possible Bug in 2.0b15.acgi (1997) HELP WITH DATES (1997) Displaying backgrounds (1999) Resume Catalog ? (1997) Re:2nd WebCatalog2 Feature Request (1996) [sendmail] possible modification needed... (2000) back button loses cart (2000) LetterRip and WebCat & more (1998) Help! (2000) CloseDatabase (1997) RE: Problems with dbcatalog.exe (1997) Converting SQL Microtime to Date and Time (2003) Re:listfiles-looking for slick solution (1997) [WebDNA] Best practice re: password storage (2013) [isfolder] and [filename] (1997) RE: Search (1997)