Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B/par 360 fix cors error on assets key validation #14

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

m1k3lm
Copy link
Member

@m1k3lm m1k3lm commented Mar 15, 2024

What is the goal?

Some merchant can finish teh plugin configuration due to the fact that the assets key validation is failing.
We found out that it was related to the Content-type header used to make the GET request to the https://${mode}.sequracdn.com/scripts/${merchantId}/${assetsKey}/${methods}_cost.json url.

References

How is it being implemented?

Allow the that AjaxServices get method to receive cutomHeaders and send them from the assetsKey validation method

Opportunistic refactorings

Caveats

Does it affect (changes or update) any sensitive data?

No

How is it tested?

Manual tests

How is it going to be deployed?

Standard deployment

@m1k3lm m1k3lm requested a review from MarijaIv March 15, 2024 16:43
@m1k3lm m1k3lm merged commit 24a0232 into master Mar 15, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants