Skip to content

[ECP-9562] Fix the quote staying active on authorised payments#2921

Merged
candemiralp merged 5 commits intomainfrom
ECP-9562
Apr 4, 2025
Merged

[ECP-9562] Fix the quote staying active on authorised payments#2921
candemiralp merged 5 commits intomainfrom
ECP-9562

Conversation

@candemiralp
Copy link
Contributor

Description

Under some edge cases, the plugin might skip /payments/details call from the frontend but Adyen is notified by the PSP externally. After the payment is authorised, the Authorisation webhook is sent to the store and order state is updated correctly. However, this flow doesn't deactivate the quote, which might cause some issues in the downstream operations.

This PR implements a logic to disable the quote while processing Authorisation webhook if it is still active.

Tested scenarios

  • Blik payments with/without /payments/details call

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 2, 2025

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 3, 2025

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 3, 2025

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@candemiralp candemiralp merged commit 7ea3811 into main Apr 4, 2025
14 of 15 checks passed
@candemiralp candemiralp deleted the ECP-9562 branch April 4, 2025 07:19
@candemiralp candemiralp added the Fix Indicates a bug fix label Apr 4, 2025
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.

3 participants