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

fix: use new redirect url #1720

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

Conversation

fgiesske-intershop
Copy link

@fgiesske-intershop fgiesske-intershop commented Oct 22, 2024

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] 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?

For a redirect before checkout payment, the customer is redirected to the PSP using the redirect URL that the ICM generates.
When the customer is back in the PWA and the redirect was successful, he can add further products to the basket, which then triggers a new basket validation in the checkout.
This basket validation returns that a new redirect is necessary (depending on the payment connector implementation) but does not return a new redirect URL.

What Is the New Behavior?

This bug has been fixed in ICM version 12.3.0 and the ICM now returns a new redirect URL on basket validation if adjustments are allowed and if a new redirect is needed.

This PR takes the newly generated URL and stores it in the Store to then perform the redirect with the newly generated URL.

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

Requires ICM 12.3.0
Azure DevOps Issue: 97415

AB#100804

@fgiesske-intershop fgiesske-intershop self-assigned this Oct 22, 2024
@fgiesske-intershop fgiesske-intershop added bug Something isn't working refactoring Refactoring of current code wait Waiting for something (e.g. new ICM release) labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 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