After the customer successfully logs in and enables the reference link by admin, the customer will get a referral link. Now if any other user successfully registers through that link, the referrer gets the points. The minimum number of users can be set by admin to generate the points.