Re: [WebDNA] Paypal Sandbox TCPConnect

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108787
interpreted = N
texte = Hi Aaron, My goal is to use the PP SetExpressCheckout - and other calls that can be made to their NVP API. My customer is firmly of the opinion that his users prefer PP Express. In the UK we have safe but annoying 3D secure verification steps that adds clicks and time. You don't have to do that with PP. All the best, Phil. On 6 Mar 2012, at 14:56, aaronmichaelmusic@gmail.com wrote: > Hi Phil, > > Are you working on a PayPal checkout operation, or working with one of the other services like invoice or Payflow Pro payments? > > The reason I ask is that if your goal is to simply use PayPal for checking out shopping carts from your site, you may be able to save yourself some time. > > I built a site that puts all name-value parameters into a form that posts to www.paypal.com/cgi-bin/webscr with a custom parameter of the cart #. Then I use PayPal Callbacks API to get payment notifications, etc. > > On Mar 6, 2012, at 9:43 AM, WebDNA Solutions wrote: > >> Some tcpconnects don't work unless you specify the host in >> the headers as well as in the tcpconnect tag. Here's an >> example of the code I use that seems to work: >> >> [text]host=www.paypal.com[/text] >> [text]path=/cgi-bin/webscr[/text] >> [text]crlf=[unurl]%0D%0A[/unurl][/text] >> [text]content=... name=value pairs here ...[/text] >> >> [tcpconnect host=[host]&port=443&ssl=T] >> [tcpsend skipheader=T]POST [path] HTTP/1.0[crlf][!] >> [/!]Host: [host][crlf][!] >> [/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[crlf][!] >> [/!]Content-Type: text/namevalue[crlf][!] >> [/!]Content-Length: [countchars][content][/countchars][crlf][crlf][!] >> [/!][content][crlf][!] >> [/!][/tcpsend] >> [/tcpconnect] >> >> Sincerely, >> Kenneth Grome >> WebDNA Solutions >> http://www.webdnasolutions.com >> WebDNA Programming and Linux Server Administration >> >> >> >> >>> Hi All, >>> >>> Many years since I have posted to WebDNA talk list... >>> last post 2004! >>> >>> I am trying to connect to the Paypal sandbox endpoint >>> api-3t.sandbox.paypal.com and cannot: >>> >>> The only difference between these two TCPConnects is the >>> host name... >>> >>> [text]CRLF=[unurl]%0D%0A[/unurl][/text] >>> >>> [!] CONNECTS [/!]
>>> [tcpconnect >>> host=api-3t.paypal.com&port=443&ssl=T][tcpsend >>> skipheader=T]POST /nvp HTTP/1.0[CRLF]Content-type: >>> text/namevalue[CRLF][CRLF][/tcpsend][/tcpconnect] >>> >>> [!] DOES NOT CONNECT - TIMES OUT[/!]
>>> [tcpconnect >>> host=api-3t.sandbox.paypal.com&port=443&ssl=T][tcpsend >>> skipheader=T]POST /nvp HTTP/1.0[CRLF]Content-type: >>> text/namevalue[CRLF][CRLF][/tcpsend][/tcpconnect] >>> >>> >>> The sandbox endpoint is correct as can be seen here: >>> >>> [!] CONNECTS [/!]
>>> TEST >>> >>> [!] CONNECTS [/!]
>>>
>> action=https://api-3t.sandbox.paypal.com/nvp> >> type=submit name=METHOD value=TEST> >>> >>> >>> I'm not bothered (yet) about the ACK=Failure, just would >>> love to make the connection! >>> >>> Any advice you guys can offer would be great. >>> >>> All the best, >>> >>> Phil. >>> --------------------------------------------------------- >>> 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 >>> Bug Reporting: support@webdna.us >> --------------------------------------------------------- >> 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 >> Bug Reporting: support@webdna.us > > --------------------------------------------------------- > 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 > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Paypal Sandbox TCPConnect (Stuart Tremain 2012)
  2. Re: [WebDNA] Paypal Sandbox TCPConnect (Stuart Tremain 2012)
  3. Re: [WebDNA] Paypal Sandbox TCPConnect (Philip Edell 2012)
  4. Re: [WebDNA] Paypal Sandbox TCPConnect (christophe.billiottet@webdna.us 2012)
  5. Re: [WebDNA] Paypal Sandbox TCPConnect (Philip Edell 2012)
  6. Re: [WebDNA] Paypal Sandbox TCPConnect (Toby Cox 2012)
  7. Re: [WebDNA] Paypal Sandbox TCPConnect (aaronmichaelmusic@gmail.com 2012)
  8. Re: [WebDNA] Paypal Sandbox TCPConnect (aaronmichaelmusic@gmail.com 2012)
  9. Re: [WebDNA] Paypal Sandbox TCPConnect (Philip Edell 2012)
  10. Re: [WebDNA] Paypal Sandbox TCPConnect (WebDNA Solutions 2012)
  11. [WebDNA] Paypal Sandbox TCPConnect (Philip Edell 2012)
Hi Aaron, My goal is to use the PP SetExpressCheckout - and other calls that can be made to their NVP API. My customer is firmly of the opinion that his users prefer PP Express. In the UK we have safe but annoying 3D secure verification steps that adds clicks and time. You don't have to do that with PP. All the best, Phil. On 6 Mar 2012, at 14:56, aaronmichaelmusic@gmail.com wrote: > Hi Phil, > > Are you working on a PayPal checkout operation, or working with one of the other services like invoice or Payflow Pro payments? > > The reason I ask is that if your goal is to simply use PayPal for checking out shopping carts from your site, you may be able to save yourself some time. > > I built a site that puts all name-value parameters into a form that posts to www.paypal.com/cgi-bin/webscr with a custom parameter of the cart #. Then I use PayPal Callbacks API to get payment notifications, etc. > > On Mar 6, 2012, at 9:43 AM, WebDNA Solutions wrote: > >> Some tcpconnects don't work unless you specify the host in >> the headers as well as in the tcpconnect tag. Here's an >> example of the code I use that seems to work: >> >> [text]host=www.paypal.com[/text] >> [text]path=/cgi-bin/webscr[/text] >> [text]crlf=[unurl]%0D%0A[/unurl][/text] >> [text]content=... name=value pairs here ...[/text] >> >> [tcpconnect host=[host]&port=443&ssl=T] >> [tcpsend skipheader=T]POST [path] HTTP/1.0[crlf][!] >> [/!]Host: [host][crlf][!] >> [/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[crlf][!] >> [/!]Content-Type: text/namevalue[crlf][!] >> [/!]Content-Length: [countchars][content][/countchars][crlf][crlf][!] >> [/!][content][crlf][!] >> [/!][/tcpsend] >> [/tcpconnect] >> >> Sincerely, >> Kenneth Grome >> WebDNA Solutions >> http://www.webdnasolutions.com >> WebDNA Programming and Linux Server Administration >> >> >> >> >>> Hi All, >>> >>> Many years since I have posted to WebDNA Talk List... >>> last post 2004! >>> >>> I am trying to connect to the Paypal sandbox endpoint >>> api-3t.sandbox.paypal.com and cannot: >>> >>> The only difference between these two TCPConnects is the >>> host name... >>> >>> [text]CRLF=[unurl]%0D%0A[/unurl][/text] >>> >>> [!] CONNECTS [/!]
>>> [tcpconnect >>> host=api-3t.paypal.com&port=443&ssl=T][tcpsend >>> skipheader=T]POST /nvp HTTP/1.0[CRLF]Content-type: >>> text/namevalue[CRLF][CRLF][/tcpsend][/tcpconnect] >>> >>> [!] DOES NOT CONNECT - TIMES OUT[/!]
>>> [tcpconnect >>> host=api-3t.sandbox.paypal.com&port=443&ssl=T][tcpsend >>> skipheader=T]POST /nvp HTTP/1.0[CRLF]Content-type: >>> text/namevalue[CRLF][CRLF][/tcpsend][/tcpconnect] >>> >>> >>> The sandbox endpoint is correct as can be seen here: >>> >>> [!] CONNECTS [/!]
>>> TEST >>> >>> [!] CONNECTS [/!]
>>>
>> action=https://api-3t.sandbox.paypal.com/nvp> >> type=submit name=METHOD value=TEST> >>> >>> >>> I'm not bothered (yet) about the ACK=Failure, just would >>> love to make the connection! >>> >>> Any advice you guys can offer would be great. >>> >>> All the best, >>> >>> Phil. >>> --------------------------------------------------------- >>> 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 >>> Bug Reporting: support@webdna.us >> --------------------------------------------------------- >> 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 >> Bug Reporting: support@webdna.us > > --------------------------------------------------------- > 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 > Bug Reporting: support@webdna.us Philip Edell

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:

Sherlock and WebCat (1998) Keep away (1997) file upload type restrictions? (2001) Clickable maps and WebCatalog? (1996) Help! WebCat2 bug (1997) WebCatalog usage (1997) about this server and links to who (1997) Using Protection =) (2003) OR-searching (2000) Pulling Captions from JPGs (2003) Forms Search Questions (1997) Searching/sorting dates (1997) Errata: WCS Newbie question (1997) different show next (1997) WebCatalog for guestbook ? (1997) unable to run webcatalog locally (1998) WCS Newbie question (1997) Error Lob.db records error message not name (1997) UPDATE PROBLEM (1997) WebCat2 as a chat server? (1997)