Discussing Shopify Functions development, deployment, and usage in Shopify apps.
Automatic App Discounts functions are not running for my development app, just yesterday they were running perfectly, but now, using the same code, i'm running my app and the automatic app discount just ran 5 times, and intermittently and then completely stopped:
Now if I interact with the cart the function does not run. I tried re-deploying my app extensions, uninstalling and installing the app again, and checking if there is some error without any luck.
Also, i'm constantly getting an error in the terminal where i'm running the app (npm run dev):
I think this looks like an internal bug, I'm using the exact same code I did yesterday, running on the same machine, yet, it doesn't work.
Solved! Go to the solution
This is an accepted solution.
Update: they are running now again, maybe there was some intermittence in the shopify automatic discount function services.
Not just automatic discounts, code discounts are also not working even when development store preview is turned on. Getting this error on checkout:
This is an accepted solution.
Update: they are running now again, maybe there was some intermittence in the shopify automatic discount function services.