Re: [WebDNA] Windows 2003 SSL - TCPConnect TCPSend

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100549
interpreted = N
texte = I do a lot of stuff and have found that you often need to send other values such as a USER-AGENT to fool the connection into making it work plus content length has been something that helps to make it all work. This is what I have working for PayPal HTTP NVP API [TEXT]content=[!] [/!]&USER=[URL]APIUSERNAME[/URL][!] [/!]&PWD=[URL]APIPASSWORD[/URL][!] [/!]&VERSION=[URL]APIVERSION[/URL][!] [/!]&SIGNATURE=[URL][APISIGNATURE[/URL][!] [/!]&METHOD=[URL]SetExpressCheckout[/URL][!] [/!]&PAYMENTACTION=[URL]SALE[/URL][!] SALE, AUTHORIZATION, ORDER [/!]&AMT=[URL][THISAMOUNT][/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=www.domain.com&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] [!] -------------- This creates multi text variables -------------- [/!] [TEXT multi=T]PayPal_result02=0&[PayPal_Result][/TEXT] On 15/08/2008, at 7:53 PM, Donovan Brooke wrote: > Hello, > > I wanted to see if anyone else has had issues > with TCPConnect SSL=T&Port=443 connecting to certain > certificates, or certain SSL configurations on Windows > 2003 servers? > > If so, please tell your story! > > Thanks, > Donovan > > > > > -- > Donovan D. Brooke PH/FAX: 1 (608) 291-2024 > ---------------------------------------------- > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Windows 2003 SSL - TCPConnect TCPSend (Stuart Tremain 2008)
  2. [WebDNA] Windows 2003 SSL - TCPConnect TCPSend (Donovan Brooke 2008)
I do a lot of stuff and have found that you often need to send other values such as a USER-AGENT to fool the connection into making it work plus content length has been something that helps to make it all work. This is what I have working for PayPal HTTP NVP API [text]content=[!] [/!]&USER=[url]APIUSERNAME[/URL][!] [/!]&PWD=[url]APIPASSWORD[/URL][!] [/!]&VERSION=[url]APIVERSION[/URL][!] [/!]&SIGNATURE=[url][APISIGNATURE[/URL][!] [/!]&METHOD=[url]SetExpressCheckout[/URL][!] [/!]&PAYMENTACTION=[url]SALE[/URL][!] SALE, AUTHORIZATION, ORDER [/!]&AMT=[url][THISAMOUNT][/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=www.domain.com&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] [!] -------------- This creates multi text variables -------------- [/!] [TEXT multi=T]PayPal_result02=0&[PayPal_Result][/TEXT] On 15/08/2008, at 7:53 PM, Donovan Brooke wrote: > Hello, > > I wanted to see if anyone else has had issues > with TCPConnect SSL=T&Port=443 connecting to certain > certificates, or certain SSL configurations on Windows > 2003 servers? > > If so, please tell your story! > > Thanks, > Donovan > > > > > -- > Donovan D. Brooke PH/FAX: 1 (608) 291-2024 > ---------------------------------------------- > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: 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:

contextual shownext (1998) PSC recommends what date format yr 2000??? (1997) Viewing old carts (was FEW QUESTIONS) (1997) deadlock (2000) add vs. addlineitem (2004) Search technique question (1998) Template transformed itself into a database? (1998) Problems with [Applescript] (1997) Latest Version of WebDNA store (2002) Using WC for Bulk Emailings (1997) [OT] Appropriate Signature??? (2003) 2.1b3 --> way slow (1997) Count how many items in a summ total (2003) FW: ANother SHOWIF problem (1997) WebCat2.0 acgi vs plugin (1997) RE: Redirect (1998) sort problems....bug or brain fart? (1997) PCS Customer submissions ? (1997) Number of cars in cart... (2004) .. more on sliding discounts... (1997)