When Update Discount UI Extension Old Discount Code Stop Working

Whenever I push changes to my Discount Extension Old Discount codes stops working and give this error message on checkout “Testing1234 is valid but not applicable. Check discount terms.“.

You’ll need to ‘share logs’, and see why the discount function isn’t returning any discount proposals/operations. Once you do this, you can copy the input, and run the ‘failing’ discount locally to debug what’s happening, and why :slight_smile:

I did not make changes to discount function but in Discount Function UI. why it impact the function logs