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

refactor: replace options calls by appropriate get requests #1714

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

SGrueber
Copy link
Collaborator

@SGrueber SGrueber commented Sep 24, 2024

Wait for the GA release of ICM 12.2.1 before this PR can be merged

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

Options calls are used to fetch the oci punchout configurations as well as the customer payment methods. This is not the way to go anymore and can cause CORS issues if the ICM web adapter is not configured properly.

Issue Number: Closes #

What Is the New Behavior?

Alternative 'get' requests are used to fetch the data mentioned above.

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

Required ICM versions:
11.10.0 and above to fetch the customer payment methods
12.2.1 and above to fetch the oci punchout configuration

@SGrueber SGrueber self-assigned this Sep 24, 2024
@SGrueber SGrueber added refactoring Refactoring of current code wait Waiting for something (e.g. new ICM release) labels Sep 24, 2024
@SGrueber SGrueber force-pushed the refactor/replace_options_calls branch from c2ba592 to 08956d4 Compare September 24, 2024 08:10
@SGrueber SGrueber added this to the 6.0 milestone Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Refactoring of current code wait Waiting for something (e.g. new ICM release)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant