It's been a while since I've posted! Anyway, I'm building a website and I need one user to be able to pay another user, while a percentage of that money goes to me.
Here's an example:
User A pays User B $100 through my website.
User B receives $95, I receive $5 (as the website owner).
What's the best way to do this? I know I can take payments directly using PayPal's API, but I need to let users pay each other while I take a % of the transactions. Any advice?
Thanks is advanced!
PS: My website is built all in PHP, so if the API is PHP-friendly, that would be great :)