PayPal IPN & LC
Andre Garzia
andre at andregarzia.com
Tue May 1 22:35:37 EDT 2012
Folks,
I found some old IPN code I had. It was a part of a online shop software.
There are two useful files:
ipn.inc - https://gist.github.com/2573122
ipn.irev - https://gist.github.com/2573132
The code above serves as reference material, I am not advocating that the
code above is safe or that it works.
I don't know if this code still works. It used LiveCode Server, when it was
called RevServer.
If I remember correctly, you need to output something from your IPN
handler. Doing the whole POST stuff is not enough. You need to output
something in the CGI or Apache will think it is a 500 error. You can't have
200 OK with no content, so just put ok.
Cheers
andre
More information about the use-livecode
mailing list