Hello,
Those features are not available in the script. The customizations are required to add it, for example, update the referral link behavior and process, separate commissions for paid and unpaid/trial, add options for this commission, add or change the notification message, update referral behavior and process for paid and unpaid members, and so on.
p.s. if you want to reply to this message, use the answer button/form instead of opening a new question.
Thank you,