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:

Re:Signal Raised (1997) [delete] problem (1997) Funny Submissions From a Form Page (1999) summ=T (2003) format_to_days on NT (1997) RE: [taxRate] [TaxTotal] ? (1997) MacAuthorize order data fields WAS:How To question... (1997) [WebDNA] Processor Maxing out (2010) Summing fields (1997) [WebDNA] Issue with variable inside a Function (2018) [Sum] function? (1997) Upgrade to WebCat2 from Commerce Lite (1997) http upload (2001) Is there a max number of fields? (1998) FYI: virus alert (1996) [LOOKUP] (1997) Error 11 (1996) AppleScript question (1997) Major Security Hole IIS NT (1998) WebDNA 4.5.1 Now Available (2003)