Re: [WebDNA] PayPal Instant Payment Notification Guide
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103382
interpreted = N
texte = I'm not sure about any of it, all I know is that it made my code more eff=icient the way I did it.=20Putting the cmd param at the end of the [formvariables] loop allowed me t=o take advantage of the=20trailing ampersand left over from the loop. If I put the param at the beg=inning of the loop then I=20may have needed to code out the trailing ampersand (probably not, but sti=ll...). Either way, I=20went with my gut and it worked. Thanks for checking my work :) -DanOn Fri, 21 Aug 2009 10:57:59 -0400 Kenneth Grome
wrote:> Hi Dan,>=20> Any idea why the PDF says the cmd parameter needs to be=20> prepended instead of appended? =20>=20> I wonder which of us referred to old or incorrect=20> documentation that's all.>=20> Sincerely,> Ken Grome>=20>=20>=20>> Yes, I wrote the code, it was tested and it works>> properly. You can test it yourself by going into the>> paypal sandbox:>> https://developer.paypal.com/us/cgi-bin/devscr?cmd=3D_logou>>t>>>> Click "Test Tools" > "IPN simulator">>>> Be sure to change the host in the TCP connect to>> "www.sandbox.paypal.com" otherwise you will get an>> INVALID response.>> -Dan>>>>>>>> On Fri, 21 Aug 2009 07:40:04 -0400>>>> Kenneth Grome wrote:>> > This PDF guide says the ipn message you send back to>> > paypal must have "cmd=3D_notify-validate" prepended to>> > the beginning of the message, not appended to the end>> > of the message.>> >>> > But the WebDNA code posted here and on github has the>> > "cmd=3D_notify-validate" name=3Dvalue pair appended to the>> > end of the return message.>> >>> > This makes me wonder: Which is it, prepend or>> > append???>> >>> > Was the WebDNA code that was posted the other day>> > tested and proven to work properly? If so then maybe>> > append works regardless of what it says in the IPN>> > Guide.>> >>> > 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=3Dtopics&category=3D2>>88>=20>=20
Associated Messages, from the most recent to the oldest:
I'm not sure about any of it, all I know is that it made my code more eff=icient the way I did it.=20Putting the cmd param at the end of the [formvariables] loop allowed me t=o take advantage of the=20trailing ampersand left over from the loop. If I put the param at the beg=inning of the loop then I=20may have needed to code out the trailing ampersand (probably not, but sti=ll...). Either way, I=20went with my gut and it worked. Thanks for checking my work :) -DanOn Fri, 21 Aug 2009 10:57:59 -0400 Kenneth Grome wrote:> Hi Dan,>=20> Any idea why the PDF says the cmd parameter needs to be=20> prepended instead of appended? =20>=20> I wonder which of us referred to old or incorrect=20> documentation that's all.>=20> Sincerely,> Ken Grome>=20>=20>=20>> Yes, I wrote the code, it was tested and it works>> properly. You can test it yourself by going into the>> paypal sandbox:>> https://developer.paypal.com/us/cgi-bin/devscr?cmd=3D_logou>>t>>>> Click "Test Tools" > "IPN simulator">>>> Be sure to change the host in the TCP connect to>> "www.sandbox.paypal.com" otherwise you will get an>> INVALID response.>> -Dan>>>>>>>> On Fri, 21 Aug 2009 07:40:04 -0400>>>> Kenneth Grome wrote:>> > This PDF guide says the ipn message you send back to>> > paypal must have "cmd=3D_notify-validate" prepended to>> > the beginning of the message, not appended to the end>> > of the message.>> >>> > But the WebDNA code posted here and on github has the>> > "cmd=3D_notify-validate" name=3Dvalue pair appended to the>> > end of the return message.>> >>> > This makes me wonder: Which is it, prepend or>> > append???>> >>> > Was the WebDNA code that was posted the other day>> > tested and proven to work properly? If so then maybe>> > append works regardless of what it says in the IPN>> > Guide.>> >>> > 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=3Dtopics&category=3D2>>88>=20>=20
"Dan Strong"
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:
[FoundItems] solved - thanks (1997)
First Attempts (2000)
HTML mapped to WebCat (2001)
NT beta ReadMe missing (b12-b15) (1997)
WebCatalog Technical Reference (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
SKU's (2000)
Limiting user access to .tmpl files (1997)
faxing orders (2000)
RE: Missing contexts on NT (1997)
The Form authentication trick (2000)
authenticating a second user (1997)
WebCatalog NT beta 18 problem (1997)
WebCat2: multiple currency support (1997)
Multiple cart additions (1997)
Cart questions (1997)
DB Field Name? (2000)
setting taxable to true (1997)
Snake Bites (1997)
Need help (1998)