pwright
pwright
Offline
0
I'm using Membership Pro. Is there a way to prevent payment to the affiliate on monthly recurring subscription charges? I'd like to structure the commission payout to affiliate to occur on initial enrollment of subscriber and stop payments thereafter.

I read in another thread that as long as the subscriber is connected to the affiliate, the affiliate will receive commissions on what subscriber pays. Is the fix to remove subscriber from the affiliate after initial subscription? How would this affect conversions/commissions on initial subscription?

Or is there a better fix?
Responses (16)
  • Accepted Answer

    Wednesday, January 30 2019, 05:48 PM - #Permalink
    0
    hello,

    yes, this is set by default to always give a commission on recurring subscriptions. We can avoid that by making a few small adjustments on the plugin's code.
    The reply is currently minimized Show
  • Accepted Answer

    pwright
    pwright
    Offline
    Wednesday, January 30 2019, 09:17 PM - #Permalink
    0
    I'd like to learn what these few small adjustments in the plugin's code is, and implement asap. Many thanks.
    The reply is currently minimized Show
  • Accepted Answer

    pwright
    pwright
    Offline
    Friday, February 01 2019, 04:33 PM - #Permalink
    0
    Reminder.. if you can elevate this Germinal. Thank you so much! :)
    The reply is currently minimized Show
  • Accepted Answer

    pwright
    pwright
    Offline
    Monday, February 04 2019, 09:43 PM - #Permalink
    0
    Thank you sir. Are you implying that I must install the invoice manager plugin for Membership Pro? I don't currently have it installed, it's not visible on the server, at /plugins/osmembership/invoicemanager/
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 06 2019, 09:36 AM - #Permalink
    0
    not at all, sorry for the confusion, it's my bad.

    the plugin is:

    /plugins/osmembership/affiliates/affiliates.php

    in files 78 and 132, you have this:

    AffiliateHelper::create_conversion($conversion_data, $user_id);


    replace it for that:

    if(type == 1) AffiliateHelper::create_conversion($conversion_data, $user_id);
    The reply is currently minimized Show
  • Accepted Answer

    pwright
    pwright
    Offline
    Thursday, February 07 2019, 06:51 AM - #Permalink
    0
    Thank you, I replaced in both instances, in my case lines 60 and 105. I'll keep this open and report back with update at next user's recurring payment.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 17 2019, 01:37 AM - #Permalink
    0
    I have the same request. I will perform the above code modification as well. Ideally, this could be set as an option. If I'm understanding the code above, it appears this would need to be an option in the OSMembership configuration. Is that true? If so, need to open a ticket with Tuan.
    Regards,
    -Chip
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 18 2019, 12:28 PM - #Permalink
    0
    it's not a OSM configuration, but we will add this as a configuration in our plugin.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 18 2019, 12:37 PM - #Permalink
    0
    actually I have just added this in version 2.1.0 of the plugin
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 15 2019, 01:04 PM - #Permalink
    0
    Hi Germinal,

    My download package lists: Plugin Affiliate Tracker - Joomla 3.0 v. 2.0.3 (attached)

    Do I need a different plugin file to have the option to not pay on recurring subscription?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 15 2019, 03:37 PM - #Permalink
    0
    it's the OS membership plugin, right at the bottom of your screenshot
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 15 2019, 03:40 PM - #Permalink
    0
    oh SORRY, I just realised that the file uploaded is not the latest version

    please download this plugin again now, it will be version 2.1.0, and reinstall

    sorry for the confusion!!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 15 2019, 03:46 PM - #Permalink
    0
    Lol - All set now. Great addition for Membership Pro.

    You might want to try button language:

    "First subscription"

    "First and recurring subscriptions"
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, March 16 2019, 04:07 PM - #Permalink
    0
    Hi Germinal,

    I installed v. 2.1.0 for Membership Pro.

    However, after the installation, no user can register for any Membership Pro plan. They now receive an error (attached):
    The most recent request was denied because it had an invalid security token. Please refresh the page and try again.

    In addition, all existing users can no longer access their account information on the front-end and it's also disappeared on the back-end (attached):
    0 - syntax error, unexpected '}', expecting end of file

    *Is there a way to fix the plugin so that it does not impact subscribing to a new plan and accessing existing plans?

    Thank you!
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, March 16 2019, 07:54 PM - #Permalink
    0
    hi

    sorry, there was a little bug on the plugin. I have just uploaded the corrected version. please download it again and reinstall.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, March 16 2019, 10:08 PM - #Permalink
    0
    Thank you for the quick fix Germinal!
    The reply is currently minimized Show
Your Reply