I'm selling downloadable products on my website. Sometimes, by mistake a customer adds the same product twice and pays for it. As a result of this mistake each time i need to refund the payment to customer for duplicate product.

Is there any way i can put a check on shopping cart to allow unique products only. The client must not be able to add same product twice.

Please tell me how can i do that?