I want to build a marketplace site where my application connects a 'buyer' and a 'seller' and takes a commission (%) in the process.
I've checked out Adaptive payments API on Paypal and have seen 'parallel payments' as well as 'chained payments'.
However, what I would like to do is make it seem like the buyer is interacting directly with the seller, with my application taking a commission.
I know with parallel payments (Adaptive Payments API) it's possible for the 'sender' to see the 'primary recipient' which in this case would be the seller. In chained payments the buyer would see my application as the 'middle man' (and as the middle man I could take commission). So what I'm kind of looking for is something of a mix between the two. Any ideas?
My other idea is to use a parallel payment and have my application as the second recipient (taking % commission)?
How do marketplace sites do this? Any rails-specific tips would be much appreciated too - i've seen there is a Paypal Adaptive Gem which I could use?
I'm a rails noob and this is my first project.