...
The receiver of the referral points: You can set the receiver as the referrer only, the referee only, or both.
Save Configuration (Save Config) then flush cache in System > Cache Management.
After enabling the referral code function, go to Marketing > Reward Points > Rules and create a behavior rule - Refer a friend.
...