Home Forums Plugin Support AffiliateWP Performance Bonuses Conflict with AffiliateWP Payouts Service

14 replies, 3 voices Last updated by zachkinsey 2 years, 4 months ago
    • zachkinsey
      Participant
      @zachkinsey
      #11974

      Whenever I have this plugin activated, the business fields on the AffiliateWP Payouts Service registration form doesn’t show.

      Here’s what I mean: http://prntscr.com/sct0rv

      Here’s what it looks like when it’s working: http://prntscr.com/sct1jo

    • zachkinsey
      Participant
      @zachkinsey
      #11975

      I notice that when it’s enabled the https://www.mydomain.com/wp-content/plugins/affiliate-wp/assets/js/frontend.min.js script no longer displays in my Script Manager.

      Additionally, when I disable that script the form no longer works correctly.

      The same thing happens with the bonus plugin enabled.

    • Christian Freeman
      Participant
      @christianf
      #11998

      Hi Zach,

      Thanks for reporting this bug. Can you enable Debug Mode in WordPress, and see if there are any PHP errors that will point us to the root cause of this conflict?

      Thanks

    • zachkinsey
      Participant
      @zachkinsey
      #12015

      Here’s the debug.log:

      [14-May-2020 20:40:01 UTC] PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/mydomain.com/httpdocs/wp-includes/ms-settings.php on line 57

    • Christian Freeman
      Participant
      @christianf
      #12018

      Hi Zach,

      Did you customize the Payouts Service Registration Form somehow? It looks like you’ve added some custom fields to the form. If so, do you still have the same issue when you remove the custom code for those fields?

    • zachkinsey
      Participant
      @zachkinsey
      #12597

      No, I did not.

      It still doesn’t work to this day, and I realllly would like to use the Performance Bonuses plugin.

      But, it currently has critical conflicts….

      One being the Payouts Service form conflict, and the other being the Elementor conflict that I just posted about.

    • Christian Freeman
      Participant
      @christianf
      #13158

      Hi Zach,

      Now that the Elementor Conlfict has been resolved, I’ve looked deeper into the Payouts Service issue. From what I can tell, when I deactivate Performance Bonuses, I still don’t see those Business fields on the Payout Settings Form. This means, it’s not being caused by the Performance Bonuses add-on.

      The source of the issue, is the CSS code within those two Business fields. They are currently set to display: none;. Which is hiding them from view, but the fields are still there on the page.

      Here’s some CSS code you can use to force these fields to display every time:

      .affwp-wrap.affwp-payout-service-business-name-wrap, .affwp-wrap.affwp-payout-service-business-owner-wrap {
          display: block!important;
      }

      Add that code to your theme’s custom CSS file. Then, let me know how it works for you.

    • zachkinsey
      Participant
      @zachkinsey
      #13163

      ???

      I sent you a video demonstrating that it’s the performance bonus plugin.

      The business fields are suppose to be hidden only when you’re creating a ‘personal’ account for the Payouts Service.

      If you switch the ‘Account Type’ field to ‘Business’ then the business fields are displayed.

      If your plugin is active on the same page through using the Shortcode, then fields aren’t displayed when you switch the ‘Account Type’ field to ‘Business’.

      Besides the Payouts form, the performance bonus plugin also conflicts with the Campaign tracking link creation form.

      Here’s another video demonstrating this: https://youtu.be/fk2TEK7juJM

    • Christian Freeman
      Participant
      @christianf
      #13176

      Hi Zach,

      Now I have more insight as to what’s happening. I’m looking into this further.

      The conflict is strange, because Performance Bonuses doesn’t contain any javascript code.

      I found what the problem is. Within AffiliateWP, there is a function that forces the frontend scripts to load, and the performance bonuses plugin does call on it to load those scripts when the shortcode is used. After removing that, it works. I’ll provide a patched version of Performance Bonuses that includes the fix.

      I’ll follow up soon, when it’s ready.

    • Christian Freeman
      Participant
      @christianf
      #13183

      Hi Zach,

      I’ve incorporated the patch that fixes this issue into version 1.0.5. You can download it from the Downloads tab of your account area.

      Please test, and confirm if it resolves the issue on your end.

    • zachkinsey
      Participant
      @zachkinsey
      #13187

      Ahh, gotta love it when things work how they should, lol.

      Great job!

      All the forms work correctly now.

      I can officially leave your plugin activated, ha.

      Do you have a timeframe on when the Updates for Performance Bonuses will be out regarding Recurring Bonuses based on an Affiliate maintaining a certain # of Active Subscription Referrals through Woocommerce Subscriptions?

    • Christian Freeman
      Participant
      @christianf
      #13188

      Hey Zach,

      Awesome news. Thanks for working with me on this.
      It took a bit longer than usual to figure this one out.

      Regarding the major updates for Performance Bonuses and Ranks, right now, as a rough estimate, it looks like they will be ready some time within the next 1 to 2 weeks.

      We don’t currently have any Bonus/Rank Types that will allow you to require X amount of active subscriptions, however, you could use the Sub Affiliates Bonus/Rank Type to require X amount of Sub Affiliates. Then, use the Affiliate Sign Up Products plugin to sync their affiliate status with their WC Subscription. This will basically work in the same way, since any affiliate that cancels their subscription, or lets their subscription go inactive, will automatically be made inactive in AffiliateWP, and won’t be counted towards the goal set in your Sub Affiliate Bonus/Rank.

    • zachkinsey
      Participant
      @zachkinsey
      #13203

      That sub-affiliate idea won’t work because I presume that it will disable their status as an Affiliate.

      Additionally, it only counts a referral as an Active Subscription if that referral happens to be an Affiliate.

      That’s definitely no good since I can’t have every User be automatically sign up as an Affiliate since I’m looking to run an MLM.

      In order to stay on the good side of the FTC the business has to seperate Affiliates from Customers in order to essentially prove that the business has ‘Retail Customers’ that aren’t interested in the Business Opprotunity side.

      Otherwise, the business could get hit with Pyramid Scheme allegations… which obviously isn’t good for business, lol.

      The idea is to pay out a recurring monthly Bonus if the Affiliate is able to keep X amount of Referrals for X subscription product.

      So, for example…

      Let’s assume I’m selling a SAAS that has a monthly plan of $100/m.

      If my Affiliates are able to maintain 100 people/subscriptions on that monthly plan, then I’ll pay them a predetermined Bonus every month.

      If they dip below 100 people/subscriptions, then the Bonus stops being applied.

    • Christian Freeman
      Participant
      @christianf
      #13212

      Hi Zach,

      That’s a good idea. I think that we could implement this as an upgrade to the existing Product Sales Bonus Type. The Product Sales Bonus Type allows you to choose a specific product (By ID), and require X number of Referred Sales of that product. Basically, this would involve creating a WooCommerce Subscriptions integration to only count the referrals for active Subscriptions.

      We don’t have plans to add a feature like this any time soon, as we are prepping for the release of the major updates, but if this is something you need sooner, rather than later, we do offer custom development services, and we could build that feature for you.

    • zachkinsey
      Participant
      @zachkinsey
      #13264

      If you take a bajillion years to implement it, then I may have to take you up on that offer. It’s not a priority at the moment for me.

      On another note, your ‘AffiliateWP Sign Up Products’ plugin is slowing down my plugins.php page!

      It has duplicate queries ( according to Query Monitor ) as shown here: http://prntscr.com/viq4fo

Viewing 14 reply threads
  • You must be logged in to reply to this topic.