Integrate iDevAffiliate with SimpleMembership
-
Hi,
I’m after some assistance Integrating iDevAffiliate with WP Simple Membership.My Affiliates will be referring customers to my site, and I want to pay them on an on-going basis. Customers will be signing up for a recurring monthly bill and I want affiliates to get a “cut” from this every month whilst the recurring payment with PayPal is still active.
The iDevAffiliate Documentation refers to Creating an API Call using a CURL snippet.
<?PHP $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://www.site.com/idevaffiliate/sale.php?profile=72198&idev_s aleamt=XXX&idev_ordernum=YYY&ip_address=IPA"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_exec($ch); curl_close($ch); ?>
It then goes onto document Recurring comissions and states;
The example in section 2 showed you showed us this URL call: "https://www.site.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=XXX&idev_ordernum=YYY&ip_address=IPA" What we're going to do here is instead of passing the IP address we'll pass the affiliate ID, like this: "https://www.site.com/idevaffiliate/sale.php?profile=72198&idev_saleamt=XXX&idev_ordernum=YYY&affiliate_id=AID "); ‐ AID needs replaced with the referring affiliate's ID number.
Any assistance in setting this software up with Simple Membership is greatly appreciated. I’ve been tearing my hair out for the past few days!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Integrate iDevAffiliate with SimpleMembership’ is closed to new replies.