"/discount/CODE?redirect=" triggers a popup on checkout

This price change popup appears for shops using dynamic tax-inclusive pricing when the buyer is in a location that does not expect product prices to include taxes. The Discount Function will get the adjusted price in the Cart input because of the Function execution order, in which Functions that change the pricing of items in the cart run before the Discount Function.