by klawncare1239 » August 22nd, 2011, 12:25 pm
Jason,
Do you know anything about PayPal Adaptive Payments? Using this method, it is possible to "split" a customer payment between multiple recipients (for instance, a site owner and a referring affiliate) via Chained Payments. The customer only knows about the site owner.
I've posted a "job" related to trying to make this work with S2Member - in other words, having a script that sits between S2Member and PayPal which allows S2Member to work with PayPal Adaptive Payments instead of the standard PayPal system - which would then allow for the possibility of "splitting" these payments at the time of payment instead of making payments later.
Another benefit here, as the "InstantPay" plugin touts, is that affiliates are paid immediately on every sale instead of monthly or after they reach a certain payout amount.
So, I'm thinking every blog member (paid or free) could automatically be an "affiliate" where their blog username is their affiliate ID. A simple script would watch for a query string in all incoming links to find an affiliate ID. If one exists, it's tied to that visitor and is saved as a field in their database record if they setup a free account on the blog.
On my "affiliate" page, I would simply provide an extra custom field for them to add their PayPal email address to their user information.
Then, if one of their referrals decide to upgrade to a paid membership, this new script/plugin would check their database record for a referring ID. If found, it would search the database for the blog user with that username and grab their PayPal account email address.
At that point, the order would be forwarded to PayPal as usual, but using the Adaptive Payments method where the payment would be split between myself (the site owner) and the original referring affiliate.
I can see that it should be relatively simple to create the "front-end" processing script to track the initial referrals and "bind" registered users to their original referring member.
What I"m not sure of is just how complicated it would be to force S2Member to function through PayPal Adaptive Payments instead of through the standard Paypal payment methods. I'm not sure how it differs or what would be necessary to make it work.
I'm willing to pay for custom programming to make it work, but I'm a bit nervous that such a system might be potentially "broken" anytime I update my S2Member PRO plugin.
Thoughts? Rough estimates of how much work would be required for a programmer to accomplish the above - in terms of actual hours on task? Interest on your end to try and make something like this work as an add-on feature to S2Member?