Steps to replicate:
- create a price rule programmatically, with value at -10
- create a discount code programmatically linking to it
- create a checkout programmatically using storefront SDK graphQL mutation "checkoutCreate"
- apply the discount code programmatically using storefront SDK graphQL mutation "checkoutDiscountCodeApplyV2"
- follow the url link in the response body
From there, I noticed that the discount code was not automatically applied on the checkout page. My order total is 5, and the discount value is -10. Is this intentional? If so, where is it documented?