Automatic Discount App Function does not run

My app has a created an Automatic Discount App for a store. The discount is using our app’s Product Discount extension. However, the expected discounts aren’t being applied when meeting our conditions defined by the extension code and the function’s metadata.

I have a hunch that the Automatic Discount App isn’t running on their store. Here are things that I have checked:

  • The discount function is shown as ‘active’ in the store’s discount list
  • The discount function is not reporting any errors
  • I can’t see any function runs for the store in the extension’s run logs
  • I am able to query the function and its metadata using graphQL and can confirm everything exists as expected.

What else should I check? Anyone encountered an issue like this before? Any more context I can provide?

Our instance of the Product Discount extension, as a discount in the store dashboard:

Screenshot 2024-02-29 at 12.40.26 PM.png

The extension, as seen in our app’s dashboard:

Where I’m checking for function runs:

I’m experiencing a similar issue. Has anyone identified the exact cause or found a solution?