Yes, you will only receive your $10 voucher code after your friend has successfully made a purchase.
(Note: Your friend does not need to create a WOWRewards account, nor use the $10 voucher code to complete the referral. They just have to make a purchase.)