I have a business that sells computer software. When they order, I have IPN set up to create a registration code and send them an email. The only problem is when ANYONE sends me a payment, even if it is unrelated to my product, they will also get an email with a registration code! Is there anyway to let people send you payment w/o kicking off the IPN? Maybe by setting up a different email address on that paypal account that doesn't use the IPN? What do you guys do to get around this?
Create a product ID for the product that you are selling. Then in the ipn PHP file, check for the product id before sending the email. It'll still run the IPN script but if you check for the product id, it won't send the email unless it's the correct one.
Just in case others don't understand, I have written a guide on how to run multiple item sales through a single PayPal IPN system. Take a look at my blog: PayPal Integration Guide HTH