I have developed a site similar to eBay: users can create accounts, sell things to buyers and receive payments through PayPal. As the developer, I want to know how, when someone buys something from my site, the user who sold it gets paid but I am able to take a fee (of ~10%) whenever a transaction is completed. I've already implemented the PayPal IPN but I could use a few pointers on the other thing: which API do I need to use; any available documentation/examples (I'm using PHP) etc. Thanks. *Edit: sorry, wrong forum.*
... View more