This topic contains 1 reply, has 2 voices. Last updated by Bruce 3 years, 5 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Jul 9th, 2013 at 7:35 pm #53198 | |
Hi, I have integrated s2 and iDevAffiliate with no problems so far. I would like to have two “types” of affiliates. 1. An affiliate who is not a subscriber for my website (not registered with s2Member) All non-subscriber affiliates get their commissions when s2Member sends payment notification via the following URL: So non-subscriber affiliates are getting paid as described above. However, I would like to have a referral program for my website subscribers as well. I have created a custom profile field using s2Member pro forms that asks the customer for the referral ID (named referral_id) that belongs to one of my current subscribers. I would like to have this second type of affiliate that does not need to create website and insert ad links to my website – they just tell other people about my product and mention their referral ID to get their commission sometime in the future. My question is how do I notify iDevAffiliate when a new comission should be paid to an affiliate of type #2? Since these affiliate types will not be sending customers via a website but will just be using “word of mouth”, the potential customer will not have a cookie that associates them with any affiliate. I have a feeling that I can just substitute the %%user_ip%% field in the API URL for the customer profile field %%referral_id%%. But after reading the iDevAffiliate documentation:
it seems that an IP must be used with URL notifications. This is where I’m stuck because I can’t figure how to tie everything together for an affiliate for type #2. TIA |