Just an added aspect to this for your info:
The order MUST have a digital coupon applied for this to work.
If you buy 2 candy bars for $1.98 total and up it to $2 with donation, you’ll still only be able to redeem $1. In the toothpaste example I give in OP, it does work in those kinds of transactions.