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-9534] Fix success page displayed if payment is canceled #2796

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

khushboo-singhvi
Copy link
Contributor

@khushboo-singhvi khushboo-singhvi commented Nov 4, 2024

Description

isResponseAlreadyProcessed() method has been introduces to solve issues related the duplicate /payments/details API calls. However, relying on the order comment history is not a robust solution. Moreover, this solution has a bug reported in the given Github Issue.
The end goal of ECP-9261 (where isResponseAlreadyProcessed() was introduced) was preventing order state change after making duplicate /payments/details call. This issue has already handled in this PR, so we can get rid of isResponseAlreadyProcessed()

Tested scenarios

Fixes
#2777
#2775
#2786

Copy link

sonarcloud bot commented Nov 4, 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
3 participants