Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

checkoutDiscountCodeApplyV2 Mutation No Longer Working(?) But Not Getting Error

checkoutDiscountCodeApplyV2 Mutation No Longer Working(?) But Not Getting Error

HunterHillegas
Shopify Partner
8 0 1

We've been using checkoutDiscountCodeApplyV2 with the Storefront API for ages without any trouble but just today I noticed that after calling checkoutDiscountCodeApplyV2 and getting a success code back from the API, if you then follow the URL to the checkout, the discount is not applied.

If I take that same discount code and apply it manually on the checkout page, it works fine.

 

 

For reasons unknown, despite the API returning a success response, discounts applied to the checkout do not appear to actually be applied. Anyone else seeing this?

Reply 1 (1)

HunterHillegas
Shopify Partner
8 0 1

Not sure what the story was here but this seems to be working again. We didn't change anything on our end.