I want to track sales using promo codes instead of an affiliate link. Is this possible with WordPress plugins? I haven't been able to find one.

I simply want to be able to give some promo codes to a few individuals and if they can get people to my site and enter the unique promo code upon payment, I will pay a certain amount for each registration.