Re: [WebDNA] PayPal IPN (was: paypal FINALLY!!!!)

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103332
interpreted = N
texte = --Apple-Mail-60--331662011 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Dan I think I will have a better solution to IPN if you'll be needing a instant reply from paypal to give services/ect...? the connection I submitted today yields a reply from paypal but (below 1) returns no values except for VERSION or [VERSION]...? and a long string. however... I'm decoding their string with a [text]...? anyone know better..? [table name=PayPalWords&fields=FROM,TO] %2e. %2d- & %2F/ %2b+ %3a: %20 [/Table] [TEXT]content=[!] [/!]METHOD=[URL]DoDirectPayment[/URL][!] [/!]&USER=[URL]xxxxxxxxxxxxx/URL][!] [/!]&PWD=[URL] xxxxxxxxxxxxx[/URL][!] [/!]&VERSION=[URL]3.2[/URL][!] [/!]&SIGNATURE=[URL] xxxxxxxxxxxxx[/URL][!] [/!]&CREDITCARDTYPE=[URL]MasterCard[/URL][!] [/!]&ACCT=[URL] xxxxxxxxxxxxx[/URL][!] [/!]&EXPDATE=[URL]022010[/URL][!] [/!]&CVV2=[URL]305[/URL][!] [/!]&AMT=[URL].75[/URL][!] [/!]&TRANSACTIONID=[URL]1005[/URL][!] [/!]&FIRSTNAME=[URL] xxxxxxxxxxxxx[/URL][!] [/!]&LASTNAME=[URL] xxxxxxxxxxxxx[/URL][!] [/!]&STREET=[URL] xxxxxxxxxxxxx[/URL][!] [/!]&CITY=[URL]BUFFALO[/URL][!] [/!]&STATE=[URL]NY[/URL][!] [/!]&ZIP=[URL]14222[/URL][!] [/!]&COUNTRYCODE=[URL]US[/URL][!] [/!]&PAYMENTACTION=[URL]Sale[/URL][!] [/!]&IPADDRESS=[URL]072.045.150.022[/URL][!] [/!][/TEXT] ---
[text]reply= [tcpconnect host=api-3t.paypal.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] reply=[ConvertWords table=paypalwords][reply][/ConvertWords]
(below 1)...... ++++++++++++++++++++++++++++++++++++++++++++++++++++++ CVV2MATCH=[CVV2MATCH] TRANSACTIONID=[TRANSACTIONID] TIMESTAMP=[TIMESTAMP] ACK=[ACK] L_SHORTMESSAGE0=[L_SHORTMESSAGE0] ACK=[ACK] CORRELATIONID=[CORRELATIONID] L_SHORTMESSAGE0=[L_SHORTMESSAGE0] L_LONGMESSAGE0=[L_LONGMESSAGE0] longMessage=[longMessage] shortMessage=[shortMessage] debuggingToken=[debuggingToken] VERSION=6.2 L_ERRORCODE0=[L_ERRORCODE0] errorCode=[errorCode] VersionNo=[VersionNo] NAME1=[NAME1] NAME2=[NAME2] NAME3=[NAME3] NAME4=[NAME4] NAME5=[NAME5] NAME6=[NAME6] value1=[value1] value2=[value2] value3=[value3] value4=[value4] value5=[value5] value6=[value6] On Aug 19, 2009, at 1:53 PM, Dan Strong wrote: > All this talk about PayPal and I too am needing to build a solution. > I implemented a PayPal IPN solution way back in 2003, but can't find > the code, and even if I did am not sure it would still be valid. > Anybody willing to share code? Thanks, -Dan > > > On Wed, 19 Aug 2009 12:43:19 -0400 > Kenneth Grome wrote: >> If you want to be sure you have received a payment you must >> implement PayPal IPN, you cannot confirm payments with code in the >> PayPal success page. >> 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/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > --Apple-Mail-60--331662011 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Dan

I = think I will have a better solution to IPN if you'll be needing a = instant reply from paypal to give = services/ect...?
  the connection I submitted today = yields a reply from paypal but (below 1) returns no = values
 except for VERSION or [VERSION]...? and a long = string.
 however... I'm decoding their string with a = [text]...? anyone know = better..?


[table = name=3DPayPalWords&fields=3DFROM,TO]
%2e= .
%2d-
&=
%2F/
%2b= +
%3a:
%20=  
[/Table]


<= br>
[TEXT]content=3D[!]
[/!]METHOD=3D[URL]DoDirectPaym= ent[/URL][!]
[/!]&USER=3D[URL]xxxxxxxxxxxxx/URL][!]
[/!]&PWD=3D[URL] = xxxxxxxxxxxxx[/URL][!]
[/!]&VERSION=3D[URL]3.2[/URL][!]
[/!]&SIGNATURE=3D[URL] = xxxxxxxxxxxxx[/URL][!]
[/!]&CREDITCARDTYPE=3D[URL]MasterCard= [/URL][!]
[/!]&ACCT=3D[URL] = xxxxxxxxxxxxx[/URL][!]
[/!]&EXPDATE=3D[URL]022010[/URL][!]
[/!]&CVV2=3D[URL]305[/URL][!]
[/!]&AMT=3D[URL].= 75[/URL][!]
[/!]&TRANSACTIONID=3D[URL]1005[/URL][!]
[/!]&FIRSTNAME=3D[URL] = xxxxxxxxxxxxx[/URL][!]
[/!]&LASTNAME=3D[URL] = xxxxxxxxxxxxx[/URL][!]
[/!]&STREET=3D[URL] = xxxxxxxxxxxxx[/URL][!]
[/!]&CITY=3D[URL]BUFFALO[/URL][!]
[/!]&STATE=3D[URL]NY[/URL][!]
[/!]&ZIP=3D[URL]142= 22[/URL][!]
[/!]&COUNTRYCODE=3D[URL]US[/URL][!]
[/= !]&PAYMENTACTION=3D[URL]Sale[/URL][!]
[/!]&IPADDRESS=3D[= URL]072.045.150.022[/URL][!]
[/!][/TEXT]
---<hr>=

[text]reply=3D
[tcpconnect = host=3Dapi-3t.paypal.com&port=3D443&ssl=3DT][!]
[/!][tcp= send skipheader=3DT]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][!]
[/!]C= ontent-type: = text/namevalue[UnURL]%0D%0A[/UnURL][!]
[/!][UnURL]%0D%0A[/UnURL]= [!]
[/!][content][UnURL]%0D%0A[/UnURL][!]
[/!][/TCPSen= d][!]
[/!][/tcpconnect]
[/text]

reply=3D[ConvertWords = table=3Dpaypalwords][reply][/ConvertWords]<hr>

<= div>(below = 1)......
++++++++++++++++++++++++++++++++++++++++++++++++++++++<= /div>

CVV2MATCH=3D[CVV2MATCH]
TRANSACTIONID=3D[TRANSACTIONID]
TIMESTAMP=3D= [TIMESTAMP]
ACK=3D[ACK]
L_SHORTMESSAGE0=3D[L_SHORTMESSAGE0]
ACK=3D= [ACK]
CORRELATIONID=3D[CORRELATIONID]
L_SHORTMESSAGE0=3D[L_SHORTMESS= AGE0]
L_LONGMESSAGE0=3D[L_LONGMESSAGE0]
longMessage=3D[longMessage]<= br>shortMessage=3D[shortMessage]
debuggingToken=3D[debuggingToken]
V= ERSION=3D6.2
L_ERRORCODE0=3D[L_ERRORCODE0]
errorCode=3D[errorCode]VersionNo=3D[VersionNo]
NAME1=3D[NAME1]
NAME2=3D[NAME2]
NAME3=3D= [NAME3]
NAME4=3D[NAME4]
NAME5=3D[NAME5]
NAME6=3D[NAME6]
value1= =3D[value1]
value2=3D[value2]
value3=3D[value3]
value4=3D[value4]=
value5=3D[value5]
value6=3D[value6]
  
On Aug 19, 2009, at 1:53 PM, Dan Strong = wrote:

All this talk about PayPal and I too am needing to = build a solution. I implemented a PayPal IPN solution way back in 2003, = but can't find the code, and even if I did am not sure it would still be = valid. Anybody willing to share code? Thanks, -Dan


On Wed, 19 = Aug 2009 12:43:19 -0400
Kenneth Grome <kengrome@gmail.com> = wrote:
If you want to be sure you have = received a payment you must implement PayPal IPN, you cannot confirm = payments with code in the PayPal success = page.
Sincerely,
Ken = Grome
----------------------------------------------------= -----
This message is sent to you because you are subscribed = to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
old archives: http://dev.webdna.us/TalkLi= stArchive/
Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288=


= --Apple-Mail-60--331662011-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] PayPal IPN (was: paypal FINALLY!!!!) ("Brian Harrington, Broker" 2009)
  2. Re: [WebDNA] PayPal IPN (was: paypal FINALLY!!!!) ("Brian Harrington, Broker" 2009)
  3. Re: [WebDNA] PayPal IPN (was: paypal FINALLY!!!!) ("Dan Strong" 2009)
  4. [WebDNA] PayPal IPN (was: paypal FINALLY!!!!) ("Dan Strong" 2009)
--Apple-Mail-60--331662011 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Dan I think I will have a better solution to IPN if you'll be needing a instant reply from paypal to give services/ect...? the connection I submitted today yields a reply from paypal but (below 1) returns no values except for VERSION or [version]...? and a long string. however... I'm decoding their string with a [text]...? anyone know better..? [table name=PayPalWords&fields=FROM,TO] %2e. %2d- & %2F/ %2b+ %3a: %20 [/Table] [text]content=[!] [/!]METHOD=[url]DoDirectPayment[/URL][!] [/!]&USER=[url]xxxxxxxxxxxxx/URL][!] [/!]&PWD=[url] xxxxxxxxxxxxx[/URL][!] [/!]&VERSION=[url]3.2[/URL][!] [/!]&SIGNATURE=[url] xxxxxxxxxxxxx[/URL][!] [/!]&CREDITCARDTYPE=[url]MasterCard[/URL][!] [/!]&ACCT=[url] xxxxxxxxxxxxx[/URL][!] [/!]&EXPDATE=[url]022010[/URL][!] [/!]&CVV2=[url]305[/URL][!] [/!]&AMT=[url].75[/URL][!] [/!]&TRANSACTIONID=[url]1005[/URL][!] [/!]&FIRSTNAME=[url] xxxxxxxxxxxxx[/URL][!] [/!]&LASTNAME=[url] xxxxxxxxxxxxx[/URL][!] [/!]&STREET=[url] xxxxxxxxxxxxx[/URL][!] [/!]&CITY=[url]BUFFALO[/URL][!] [/!]&STATE=[url]NY[/URL][!] [/!]&ZIP=[url]14222[/URL][!] [/!]&COUNTRYCODE=[url]US[/URL][!] [/!]&PAYMENTACTION=[url]Sale[/URL][!] [/!]&IPADDRESS=[url]072.045.150.022[/URL][!] [/!][/TEXT] ---
[text]reply= [tcpconnect host=api-3t.paypal.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] reply=[ConvertWords table=paypalwords][reply][/ConvertWords]
(below 1)...... ++++++++++++++++++++++++++++++++++++++++++++++++++++++ CVV2MATCH=[CVV2MATCH] TRANSACTIONID=[TRANSACTIONID] TIMESTAMP=[TIMESTAMP] ACK=[ACK] L_SHORTMESSAGE0=[L_SHORTMESSAGE0] ACK=[ACK] CORRELATIONID=[CORRELATIONID] L_SHORTMESSAGE0=[L_SHORTMESSAGE0] L_LONGMESSAGE0=[L_LONGMESSAGE0] longMessage=[longMessage] shortMessage=[shortMessage] debuggingToken=[debuggingToken] VERSION=6.2 L_ERRORCODE0=[L_ERRORCODE0] errorCode=[errorCode] VersionNo=[VersionNo] NAME1=[NAME1] NAME2=[NAME2] NAME3=[NAME3] NAME4=[NAME4] NAME5=[NAME5] NAME6=[NAME6] value1=[value1] value2=[value2] value3=[value3] value4=[value4] value5=[value5] value6=[value6] On Aug 19, 2009, at 1:53 PM, Dan Strong wrote: > All this talk about PayPal and I too am needing to build a solution. > I implemented a Paypal IPN solution way back in 2003, but can't find > the code, and even if I did am not sure it would still be valid. > Anybody willing to share code? Thanks, -Dan > > > On Wed, 19 Aug 2009 12:43:19 -0400 > Kenneth Grome wrote: >> If you want to be sure you have received a payment you must >> implement Paypal IPN, you cannot confirm payments with code in the >> PayPal success page. >> 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/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > --Apple-Mail-60--331662011 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Dan

I = think I will have a better solution to IPN if you'll be needing a = instant reply from paypal to give = services/ect...?
  the connection I submitted today = yields a reply from paypal but (below 1) returns no = values
 except for VERSION or [version]...? and a long = string.
 however... I'm decoding their string with a = [text]...? anyone know = better..?


[table = name=3DPayPalWords&fields=3DFROM,TO]
%2e= .
%2d-
&=
%2F/
%2b= +
%3a:
%20=  
[/Table]


<= br>
[text]content=3D[!]
[/!]METHOD=3D[url]DoDirectPaym= ent[/URL][!]
[/!]&USER=3D[url]xxxxxxxxxxxxx/URL][!]
[/!]&PWD=3D[url] = xxxxxxxxxxxxx[/URL][!]
[/!]&VERSION=3D[url]3.2[/URL][!]
[/!]&SIGNATURE=3D[url] = xxxxxxxxxxxxx[/URL][!]
[/!]&CREDITCARDTYPE=3D[url]MasterCard= [/URL][!]
[/!]&ACCT=3D[url] = xxxxxxxxxxxxx[/URL][!]
[/!]&EXPDATE=3D[url]022010[/URL][!]
[/!]&CVV2=3D[url]305[/URL][!]
[/!]&AMT=3D[url].= 75[/URL][!]
[/!]&TRANSACTIONID=3D[url]1005[/URL][!]
[/!]&FIRSTNAME=3D[url] = xxxxxxxxxxxxx[/URL][!]
[/!]&LASTNAME=3D[url] = xxxxxxxxxxxxx[/URL][!]
[/!]&STREET=3D[url] = xxxxxxxxxxxxx[/URL][!]
[/!]&CITY=3D[url]BUFFALO[/URL][!]
[/!]&STATE=3D[url]NY[/URL][!]
[/!]&ZIP=3D[url]142= 22[/URL][!]
[/!]&COUNTRYCODE=3D[url]US[/URL][!]
[/= !]&PAYMENTACTION=3D[url]Sale[/URL][!]
[/!]&IPADDRESS=3D[= URL]072.045.150.022[/URL][!]
[/!][/TEXT]
---<hr>=

[text]reply=3D
[tcpconnect = host=3Dapi-3t.paypal.com&port=3D443&ssl=3DT][!]
[/!][tcp= send skipheader=3DT]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][!]
[/!]C= ontent-type: = text/namevalue[unurl]%0D%0A[/UnURL][!]
[/!][unurl]%0D%0A[/UnURL]= [!]
[/!][content][unurl]%0D%0A[/UnURL][!]
[/!][/TCPSen= d][!]
[/!][/tcpconnect]
[/text]

reply=3D[ConvertWords = table=3Dpaypalwords][reply][/ConvertWords]<hr>

<= div>(below = 1)......
++++++++++++++++++++++++++++++++++++++++++++++++++++++<= /div>

CVV2MATCH=3D[CVV2MATCH]
TRANSACTIONID=3D[TRANSACTIONID]
TIMESTAMP=3D= [TIMESTAMP]
ACK=3D[ACK]
L_SHORTMESSAGE0=3D[L_SHORTMESSAGE0]
ACK=3D= [ACK]
CORRELATIONID=3D[CORRELATIONID]
L_SHORTMESSAGE0=3D[L_SHORTMESS= AGE0]
L_LONGMESSAGE0=3D[L_LONGMESSAGE0]
longMessage=3D[longMessage]<= br>shortMessage=3D[shortMessage]
debuggingToken=3D[debuggingToken]
V= ERSION=3D6.2
L_ERRORCODE0=3D[L_ERRORCODE0]
errorCode=3D[errorCode]VersionNo=3D[VersionNo]
NAME1=3D[NAME1]
NAME2=3D[NAME2]
NAME3=3D= [NAME3]
NAME4=3D[NAME4]
NAME5=3D[NAME5]
NAME6=3D[NAME6]
value1= =3D[value1]
value2=3D[value2]
value3=3D[value3]
value4=3D[value4]=
value5=3D[value5]
value6=3D[value6]
  
On Aug 19, 2009, at 1:53 PM, Dan Strong = wrote:

All this talk about PayPal and I too am needing to = build a solution. I implemented a Paypal IPN solution way back in 2003, = but can't find the code, and even if I did am not sure it would still be = valid. Anybody willing to share code? Thanks, -Dan


On Wed, 19 = Aug 2009 12:43:19 -0400
Kenneth Grome <kengrome@gmail.com> = wrote:
If you want to be sure you have = received a payment you must implement Paypal IPN, you cannot confirm = payments with code in the PayPal success = page.
Sincerely,
Ken = Grome
----------------------------------------------------= -----
This message is sent to you because you are subscribed = to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
old archives: http://dev.webdna.us/TalkLi= stArchive/
Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288=


= --Apple-Mail-60--331662011-- "Brian Harrington, Broker"

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:

Extended [ConvertChars] (1997) show all problem (1997) Dates (1998) [searchString] (1997) Sorting (1998) mass mailing (1998) RE: WebCat cannot handle compatible search parameters? (1997) WebCat2 - Getting to the browser's username/password data (1997) Catalogs and W* (1996) Don't know if this is a sily question... (2003) Emailer (WebCat2) (1997) It just Does't add up!!! (1997) ShowNext (1997) EMailFolder will not send (2003) thisurl & arguments (2000) WebCatalog can't find database (1997) Sorting Numbers (1997) ShowIf variables (1997) Limit to Field Length in DB (1998) Country & Ship-to address & other fields ? (1997)