simply paypal ipn -------------------- I´m working on a site where people can register for a free account and publish classified adds (it´s not very original but it is for a very specific market) Later on users can add funds to their accounts to buy featured adds and many other services. Funds are added through different ways -very similar than Scriptlance works- (bank wire, different credit card...) and I want to add PayPal. However I´m not very expertise in programming so I need help with PayPal IPN. What I want you to do is to create a simple example and VERY VERY VERY WELL COMMENTED step by step (using understandeble variable names...) script to manage fund adds through paypal for my site and HELP ME LATER IF I NEED it to integrate it in my system. The idea is after login and select add funds (deposit money) "throug paypal" to show a form where you input amount (EUROS AND CENTS) (EXAMPLE 18 euros AND 54 cents), this order is stored in the ORDERS table then posted to paypal, process the payment and check via IPN and do database work to update balance in and transactions, show proper messages to users and send mails to admin and user) I´ll describe more or less the structure of the database I have (only needed fields) NOTE ALL EUROS AMOUNTS ARE STORED IN DATABASE IN CENTS (EXAMPLE: 23 EUROS AND 15 CENTS IS STORED AS 2315 CENTS, SO BEFORE STORING, REMEMBER TO CALCULATE (23*100)+15 AND AFTER EXTRACTIC number_format(...2315/100...) TABLE USERS ----------- id_user username password email name lastname balance (remember euro cents) TABLE ORDERS (Store orders to add funds) ------------ id_order (similar to invoice number) id_user datetime method_payment (enum 'paypal','bankwire') amount (remember euro cents) status (enum 'completed', 'cancelled'...) TABLE TRANSACTIONS ------------------ id_transaction id_user sort_of_transaction (enum 'deposit', 'charge') concept (text example: deposit paypal add funds) amount (remember euro cents) datetime I know there are several classes that do more or less what I need but honestly I´m getting a bit mad with then, I also know it is not a difficult work... but I need help. Remember what I want is a step by step well commented script fully customizable with my paypal account and VERY VERY EASY to insert in my complete site, and perhaps some later help. This is basic squema of what I need, I hope to be clear enough. If you need extra information, just PMB me. If you think there´s a better way to do it, just tell me, all yoir ideas are welcome. Thanks you all in advance for time and bids.