Funds were also transferred through SR's wallet so they could take their cut.
Basically, when you want to buy something, instead of sending bitcoin manually, the marketplace generates a payment request for you, with two outputs — merchant (the good price) & marketplace (the fee) + some unique ID in the comment field so that the service can link your payment to the order. It can be a QR code or bitcoin:// link or something.
I assume the mediators would need to be paid, at the bare minimum, probably moderators to filter out junk and spam and whatever other unforeseen circumstances pop up.