Je suis Americain, mais j'habite en France. Je parle un peu la francais.
I modified the PayPal PHP Instant Payment Notification script and got it to do what I needed.
I will edit it a bit and put a bunch of comments in and then post it for you. I'll try to get it up by tonight.
It took a little time to get it working, but I think it was because I was a PHP novice. Once you understand the basic idea of what the script is doing, it isn't that hard to make it work.
The sandbox is a bit tricky to get working too. But it does work and you should try to use it.
To use the sandbox, you need to change this line in the IPN script:
$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);
The following two uri are on the paypal site in the instructions for the IPN script to use in place of the two I posted above (https://cms.paypal.com/us/cgi-bin/?c...ntpaymentnotif), but I never used them:
$fp = fsockopen ('ssl://www.sandbox.paypal.com', 443, $errno, $errstr, 30);