Today's post relates to the recent reports about Magento 2 checkout issues and the corresponding fix released by Adobe. If you haven't reviewed this information yet, we recommend doing so. The article provides essential details needed to assess and mitigate potential checkout instability during the high-traffic season.
Today's post relates to the recent reports about Magento 2 checkout issues and the corresponding fix released by Adobe. If you haven't reviewed this information yet, we recommend doing so. The article provides essential details needed to assess and mitigate potential checkout instability during the high-traffic season.
What was the problem?
Last week, we got reports from a few of our clients about checkout issues. As usual, we started investigating the problem to keep providing the best support to you.
This issue was initially reported on October 16. Learn more at https://github.com/magento/magento2/issues/40236. In a word, SRI hashes were stopping checkout from loading static.js and mixins.js when bundling and minification is enabled.
The reason for this was security measures implemented on Magento 2.4.6-p13, 2.4.7-p8, 2.4.8-p3 on October 14.
How this might look
So, most likely in your error log, you can see something like this:
{"0":"Unable to unserialize value. Error: Syntax error","1":"#1 Magento\\Csp\\Model\\SubresourceIntegrityRepository->getData() called at [vendor\/magento\/module-csp\/Model\/SubresourceIntegrityRepository.php:86]\n#2
On the checkout page, it will be shown like this:

The potential consequences that the issue can lead to are that after a while, the file static/frontend/sri-hashes.json can get a broken JSON structure and which causes issues on checkout.
Good news — it’s all sorted out
We’re glad to inform you that the official fix is already released - https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-27997.
It will roll back some of the security enhancements introduced in the previous version.
Your mandatory steps are to apply that before Black Friday and peak season. This is essential to prepare for big sales.