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

[ECP-8855] Fix payment pspreference update after a failing payment attempt #2520

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

candemiralp
Copy link
Member

@candemiralp candemiralp commented Feb 21, 2024

Description

Failing payment attempts were updating the pspreference on an order's addition information block due to bug on the conditional update. This PR fixes the condition to obtain the previous Adyen payment event and obtains it from the DB instead of the object on the memory.

Tested scenarios

  • Obtaining the previous Adyen event code
  • Notification processing

Fixes #2409

@candemiralp candemiralp marked this pull request as ready for review February 21, 2024 12:09
@candemiralp candemiralp requested a review from a team as a code owner February 21, 2024 12:09
@candemiralp candemiralp mentioned this pull request Mar 5, 2024
Copy link

sonarqubecloud bot commented Mar 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@candemiralp candemiralp merged commit 7c10752 into develop-8 Mar 7, 2024
7 of 8 checks passed
@candemiralp candemiralp deleted the ECP-8855 branch March 7, 2024 13:14
@candemiralp candemiralp linked an issue Mar 7, 2024 that may be closed by this pull request
@candemiralp candemiralp added the Fix Indicates a bug fix label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Indicates a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ECP-8855] Notification executed with a non logical order
3 participants