Rewards Plugin for e-commerce

Has anyone seen a plug-in designed to run a rewards program in conjunction with an ecommerce site. For example, for every $1 the customer spends, they get 1 point - - And they can redeem those points for $ on the store?

James