Hello
Every time we create a cart through GraphQL cartCreate
, add a free shipping discount code (code redeemed by store API or manually created, whatever), and then open the checkout URL (the one given in response to cartCreate
call ), the code appears like for 1 second, and then is removed without reason:
The thing is, if I re-add manually the discount code through the UI, it is applied perfectly.
I have tried many things to understand the problem, but can’t get what happens. Even trying to open the checkout URL long after the discount code and cart creation doesn’t work, so not a race condition I believe.
NB: I have also mentioned the issue in this thread in case it is related cartDiscountCodesUpdate removes all cartLines, and does not apply codes. But opening a dedicated topic as the problem is quite urgent.
Thank you for your help