You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should fix the following issues in Magento 2 Checkout in version 2.4.7 or higher, where Magento_Csp module is active by default:
Refused to load the script 'https://api.lyra.com/static/js/krypton-client/V4.0/stable/kr-payment-form.min.js' because it violates the following Content Security Policy directive: "script-src ...
Refused to load the stylesheet 'https://api.lyra.com/static/js/krypton-client/V4.0/ext/classic-reset.css' because it violates the following Content Security Policy directive: "style-src
@Ryldd , I tried to change that, but as soon as I save the config at this point, I get the error message Invalid file name.
That happens even when I do not change anything.
Debugged that a bit and found out, that you define some default file names for logos. In my case, Magento looks for them in pub/media/lyra/images, although they are not present there and only in pub/static folder.
Have you already heard of this issue? How can this be fixed?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This should fix the following issues in Magento 2 Checkout in version 2.4.7 or higher, where Magento_Csp module is active by default: