Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP Affiliate Platform

Integration with s2Member Plugin

(22 posts) (6 voices)
  • Started 2 years ago by bizmum
  • Latest reply from amin007
  • Possible Solutions (Related Topics):
    1. Affiliate Plugin being used on Wishlist Membership Site with PayPal Integration
    2. s2member integration - no sales/commission
    3. Paypal and Vervante Integration with the WP Estore plugin
    4. Satellite plugin not integrating with S2Member
    5. Plugin installation and integration services

Tags:

  • affiliate
  • s2member
« Previous123Next »
  1. Ric M
    Member

    Hi bizmum,

    I'm working on integrating s2Member and WP Affliate myself: How has this worked for you?

    R

    Posted 1 year ago #
  2. mikru2010
    Member

    Hi,

    i run a membership site with s2member.

    There is only 1 (paid) membership level so far, simply to let people join the site.

    How can i use WP Affiliate to set up a an Afiliate Program for this site?

    Posted 1 year ago #
  3. Ivy
    Administrator

    Hi, Please see the Affiliate 3rd party integration options here:

    http://www.tipsandtricks-hq.com/wordpress-affiliate/integrating-the-wp-affiliate-software-with-a-3rd-party-plugin-61

    This will explain how to integrate 3rd party software with the Affiliate Platform.

    Posted 1 year ago #
  4. mikru2010
    Member

    I read the post. But i need more help.

    Imho i would be able to do it with a plain PayPAl button.

    Problem: the notify url is already occupied by the s2member script.

    Can i perhaps use 2 different notify urls in one button?

    Another option could be to use the api/notifications feature of s2member.

    It has an option to put in ( optional ) Payment Notification URLs:

    "If you use affiliate software, or have back-office routines that need to be notified whenever payment transactions take place, and/or for recurring payments, you'll want to read this section. This is marked Payment, because the URLs that you list below, will be notified each time an actual payment occurs. Depending on your fee structure, this may include a first initial payment that establishes a Subscription. But more importantly, this will be triggered on all future payments that are received for the lifetime of the Subscription. So unlike the Signup Notification, Payment Notifications take place whenever actual payments are received, instead of just once after signup is completed. If a payment is required during signup ( e.g. no free trial is being offered ), a Signup Notification will be triggered, and a Payment Notification will ALSO be triggered. In other words, a Payment Notification occurs anytime funds are received, no matter what. Please note, this feature is not to be confused with the PayPal® IPN service. PayPal® IPN integration is already built into s2Member, and it remains active at all times. These Payment Notifications are an added layer of functionality, and they are completely optional."

    If i understood right, i would simply enter

    mydomain .../wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php

    and would be good to go?

    Can you confirm this will work with Affiliate Plattform Plugin?

    Posted 1 year ago #
  5. amin007
    Key Master

    Yes you are correct. You just need to tell the membership plugin to forward the IPN to the affiliate platform's IPN hanlder and it will award the commission.

    The URL of the IPN handler of the affiliate platform is explained here:

    http://www.tipsandtricks-hq.com/wordpress-affiliate/plain-paypal-button-and-affiliate-plugin-integration-168

    Posted 1 year ago #
  6. mikru2010
    Member

    Thanks, that's good news.

    I read the post you mentioned in your answer again, adn now i'm a bit confused about this phrase:

    "And add the Affiliate’s ID to the “custom” field of the button from the cookie. For example:

    <input type="hidden" name="custom" value="<?php echo $_COOKIE['ap_id']; ?>">"

    Does this mean i need to add something to url

    mydomain .../wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php

    to use it with the ( optional ) Payment Notification URL feature of s2member?

    Can you give an example please, how the url should look like for use with the s2member Payment Notification URL feature?

    Posted 1 year ago #
  7. amin007
    Key Master

    There are two things in play here. The first one is where the payment notification should be sent to. Which is the IPN handling script and the URL of this script is always the same for your site. Nothing else changes this URL. Basically the affiliate plugin needs to be told that a sale has been successfully completed so it can do it's job. The way to tell the affiliate plugin that a sale has been completed is to send the payment notification (PayPal IPN) to the ipn handling script. Is this part clear?

    Now, when the affiliate plugin is notified of a sale it needs to know one other key piece of information. This piece of information is stored in the browsers cookie. So all you need to do is when you create the PayPal button (this is the button the buyer will click) you tell this button to add this key piece of information to the button so it gets passed along to the ipn handling script after the payment.

    How do you tell a PayPal button to add some information? Through the usage of the "custom" field. If you look at the "Example for PHP" section on the documentation you will see it has two examples for two types of PayPal button. It also shows how the custom field is used in that button. Does that make sense?

    Two quick questions.. have you ever placed plain PayPal button on a post or page? Are you familiar with the "custom" field of a PayPal button?

    Posted 1 year ago #
  8. mikru2010
    Member

    The answer to your quick questiosn is two times yes.

    So i need to add the 'ap_id' to the button, not to the ipn handling url?

    Posted 1 year ago #
  9. amin007
    Key Master

    You only add the following line in the button which will do it's job given you are placing this on a page where PHP can be executed:

    <input type="hidden" name="custom" value="<?php echo $_COOKIE['ap_id']; ?>">"

    After you do that configure your s2 plugin to send the IPN to the IPN handling URL and that's it.

    Posted 1 year ago #
  10. rpickett
    Member

    (question for admin below)

    First, for those of you using s2member, so *was* I. There were a couple things I didn't like about it. The biggest one was that if someone was a member level 3 they could access levels 2 and 1. Kinda 'dumb' - what if level 1 is product line "a" and level 2 is product line "b"? I don't want them mixing at all...

    emember *doesn't* have this issue at all.

    So, I went ahead and bought emember, estore, and eaffiliate as a bundled package - thanks tips and tricks for putting out a great product bundle!

    Admin:

    1. Is emember and eaffiliate now fully bundled so I don't need special code? If I need it, please send it along.

    2. Does the affiliate get paid on the monthly subscription too, or just the initial "trial" pmt?

    Thanks!

    Posted 1 year ago #

RSS feed for this topic

« Previous123Next »

Reply »

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin