Hmm... Most companies use tactics like this to tug on your heart strings, they're still business people at the end of the day. Usually prices have been adjusted to account for the donation beforehand so as to not eat into profit margins; it's the customer that is donating not the company.
Better off just having a link the order confirmation page saying "hey we believe in this charity, please donate"etc