Posting XML data to SSL site

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40581
interpreted = N
texte = I am trying to integrate with a payment processor in New Zealand, They specify I need to send XML data to their payments page .. I am able to make the connection but am having problems with the correct way to send XML data .. Here is what I have so far ..[text]crlf=[unurl]%0D%0A[/unurl][/text] [text]the_variables=[crlf]username[crlf]password[crlf]A J CARDHOULD[crlf]4111111111111111[cr lf]40.00[crlf]0603[crlf]Order1234[crlf][/text][TCPConnect host=www.payment.co.nz&port=443&ssl=T] [tcpsend][!] [/!]POST /pxpost.asp HTTP/1.1[crlf][!] [/!]Referer: http:/[thisURL][crlf][!] [/!]Host: www.payment.co.nz[crlf][!] [/!]Content-Type: text/xml[!] [/!]Content-length: [countchars][the_variables][/countchars][crlf][!] [/!][crlf][!] [/!][the_variables][crlf][!] [/!][/tcpsend] [/TCPConnect] Does anyone know the correct way to send XML data with TCPConnect ??Thanks Alain ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Posting XML data to SSL site (Alain Russell 2002)
  2. Re: Posting XML data to SSL site (Ben Swihart 2002)
  3. Re: Posting XML data to SSL site (Alain Russell 2002)
  4. Re: Posting XML data to SSL site (John Peacock 2002)
  5. Posting XML data to SSL site (Alain Russell 2002)
I am trying to integrate with a payment processor in New Zealand, They specify I need to send XML data to their payments page .. I am able to make the connection but am having problems with the correct way to send XML data .. Here is what I have so far ..[text]crlf=[unurl]%0D%0A[/unurl][/text] [text]the_variables=[crlf]username[crlf]password[crlf]A J CARDHOULD[crlf]4111111111111111[cr lf]40.00[crlf]0603[crlf]Order1234[crlf][/text][TCPConnect host=www.payment.co.nz&port=443&ssl=T] [tcpsend][!] [/!]POST /pxpost.asp HTTP/1.1[crlf][!] [/!]Referer: http:/[thisurl][crlf][!] [/!]Host: www.payment.co.nz[crlf][!] [/!]Content-Type: text/xml[!] [/!]Content-length: [countchars][the_variables][/countchars][crlf][!] [/!][crlf][!] [/!][the_variables][crlf][!] [/!][/tcpsend] [/TCPConnect] Does anyone know the correct way to send XML data with TCPConnect ??Thanks Alain ------------------------------------------------------------- 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://search.smithmicro.com/ Alain Russell

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:

[format xs] freeze (1997) Slow Server (2005) Newbie question (1998) [OT], Sorta: WebCat-Talk List (2000) shopping cart bug? or link? (1999) WebCat2.0 [format thousands .0f] no go (1997) Pull down menu for categories (2000) [cart]= (2004) WCS Newbie question (1997) Converting characters to numbers ... (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Re:Dashes and dots in credit card (1998) testing testing 1.2.3 (2004) [SearchString] problem with [search] context (1997) RE: creating writefile data from a nested search (1997) Follow-Up to: Removing [showif] makes a big difference in speed (1997) Custom WebCat Prefs ... (1997) Problems appending to database (1997) WebTen and WebCat (1997) Adding To items to cart at once (1999)