I also noticed this issue. It seems that it started happening about a month ago.
When you try to pass the discount code with the “discount” GET parameter in the URL, the discount isn’t passed anymore to the Shopfiy Checkout.
It seems that this issue happens on some stores with the “Checkout One” version, but it seems to be working in the “Checkout Classic” version.
Also, from what I see, it seems that when you pass the discount code, the Shopify Checkout writes it into the cookie, but then immediately after that, it removes it from the cookie, hence why the issue happens.