I want to add 2 options (in points system)

1- every customer has a link to invite the people



2- when any of this people buy , he will get automatically the same number of the point .





if any one can do it please contact me .