Tracking Paid Signups for Affiliates Plugin


I have the Affilaites Plugin installed on a Multisite WordPress setup. I tested and it it works in that if User A refers User B, in User A’s Affiliates Panel it says 1 sign-up.

However, I have a few custom paid plans for Users. I don’t plan on using Memberships or Pro Sites and say I have 3 Paid plans + Free Plan, Paid 1 ($1/month), Paid 2 ($2/month)and Paid 3 ($3/month). I want to pay affiliates referrals the entire month fee, so if a certain user refers me a user who signs up for Paid 2, I will pay the user $2/month

I don’t think the Affiliates plugin gives me this insight in the MU Network Admin Dashboard about which user referred which user (username specifically). If I get the username that was referred to I can then track the custom paid plan they signed-up for, because I don’t want to pay any affiliate fees if the referral signedup for the free plan.

Is this data available in the tables or the UI and if not how can I tweak the code to actually give me this data so I pay User A the exact amount if UserB signed up for a specific paid plan. What is the easiest way to customize this plugin to enable this kind of tracking.