New Discount Function is Causing my Scripts to Error

New Discount Function is Causing my Scripts to Error

sparky_kr
Shopify Partner
3 0 1

We've had a line_item script running for a good while now, running with no errors. However, today as I'm implementing an App Discount via Functions, the script is returning a production error of "Can't convert nil to Decimal", even though there's no number handling.

 

Edit: Did some more testing, and I published a barebones line_item script that did nothing `Output.cart = Input.cart` and I still got the error.

Replies 0 (0)