This addon allows you to integrate S2Member plugin with the Affiliates Manager plugin.
When members pay for membership on your site, this addon will check to see if the member was referred to your site by an affiliate. It will then give commission to the affiliate who referred the user.
This addon requires the Affiliates Manager Plugin.
Read the usage documentation here.