Shopify Function not firing at all on live store

I deployed a shopify order discount function to a live store. I installed it and installed the discount to the live store and everything. But nothing I do makes it fire. Nothing in the logs at all for the live domain. I can make it work on a development store but the live store acts like it isn’t even there. It shows it on the live store just as it does on my development store but none of the conditions makes it fire. Anybody else experience this problem?

I just now realized that the store has a checkout.liquid file. could that be the reason for the function not working at all on the store?