I need a fairly simple PayPal IPN script to handle a variety of successful transactions. The script will be used for handling different products so there will be several transaction pages.
I envsion the script to work something like [url removed, login to view]
Each id number would reference a particular product. The script would have user defined variables for each id. These variables are consistent with each of the 4 possible outcomes of a PayPal transaction...
1. success page (URL).
2. success pending approval (URL)
3. transaction declined (URL)
4. transaction error/failure (URL)
The URL for each outcome above MUST NEVER BE SHOWN to the buyer.