Shopify Functions are not working in the discount creation app I created following the tutorial

Solved

Shopify Functions are not working in the discount creation app I created following the tutorial

Hirano_00
Shopify Partner
86 10 13

After creating an automatic discount with the discount creation app I created following the tutorial, I get a status code 500 "Internal Server Error" when I update my cart on the storefront.

https://shopify.dev/apps/discounts/create

 

I am not sure if the reason for the error when updating the cart is on the Shopify side and will be improved in the future, or if it is in my development environment. Is there anyone else experiencing the same problem?

Accepted Solution (1)

David_Cameron
Shopify Staff
13 1 2

This is an accepted solution.

Thanks for reporting this. It's possible that you're not using the Checkout Extensibility Developer Preview which is why this particular area is not working as expected. I'd suggest creating a new Development Store with the Developer Preview enabled and see if that fixes the issue.

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 2 (2)

David_Cameron
Shopify Staff
13 1 2

This is an accepted solution.

Thanks for reporting this. It's possible that you're not using the Checkout Extensibility Developer Preview which is why this particular area is not working as expected. I'd suggest creating a new Development Store with the Developer Preview enabled and see if that fixes the issue.

To learn more visit the Shopify Help Center or the Community Blog.

Hirano_00
Shopify Partner
86 10 13

Thank you for your reply. Resolved.