Show unpaid referrals only

Posted in

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?


2 Responses to Show unpaid referrals only

  1. Erica Thumma October 14, 2021 at 1:45 pm #

    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 October 14, 2021 at 8:53 am #

    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!

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account