|
Description: This PHP class is designed to work with PayPal's Instant Payment Notification system. When someone sends you money via PayPal, either with send money, single item purchase, or shopping cart purchase, PayPal can send the information to a script on your server. All of the information sent from PayPal is in a POST ($HTTP_POST_VARS), so using the information (emailing it or inserting it into your database) is the easy part. The more complicated part is that PayPal requires you to send an identical POST back to PayPal to verify the order. After that it sends a response which tells you if it was a valid order (i.e. came from PayPal), or invalid (i.e. someone tried to run your script manually). This verification is what this class will do for you.
|