Show unpaid referrals only

Hi Guys!

Is there code I can add to the shortcode [affiliates_dashboard_referrals] to only show the unpaid referrals? It would shorten the list and only show what they’re currently eligible for when we do their payout.

Second issue… I get duplicate referrals. The system will count the same order more than once and until I catch and remove them, the affiliate thinks they’ve earned more than they actually have. Is there code I can add to my php file that would prevent this? Such as, if the order number is already in the affiliate pro system, do not count it again?

Thanks!

Posted in

Comments

2 responses to “Show unpaid referrals only”

  1. Erica Thumma Avatar
    Erica Thumma

    Hi Eugen,

    The referral code worked – we’re only seeing the unpaid referrals listed. Perfect!

    I unchecked Allow Duplicate referrals. To be clear, unchecking this stops Affiliates Pro from counting a single order 3x within a minute, right? Unchecked, can a single person place multiple orders from a single device over the span of a month that credit the affiliate?

  2. Eugen Bleck Avatar
    Eugen Bleck

    Hi Erica,

    Good morning. I trust you are well and safe!

    Thank you so much for reaching out.

    With regards to your first inquiry, you can use this shortcode;[affiliates_referrals show="total" status="accepted"] to display the total unpaid referral amount earned by the affiliate.

    And with regards to the second issue, please could you check that you have not selected the Allow duplicate referrals option from Affiliates -> Settings: Referrals.

    I remain available if you have any further inquiries.

    STAY SAFE and I wish you a very fine and productive day ahead!
    Best,
    Eugen.

Share