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

request Adyen cancellation when finalizeOrder fails due to stock exceptions #139

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

FATCHIP-GmbH
Copy link

When Adyen authorizes a payment but the order validation within finalizeOrder runs into a NoArticleException or ArticleInputException, the Adyen Order would still be authorized without being cancelled resulting in open Payments in the Adyen Merchant site.

This PR fixes the issue by catching the errors and running a cancel request when the Exception happens.

@Sieg Sieg added the internal label Jan 21, 2025
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
58.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@mariolorenz mariolorenz merged commit ddcd091 into b-6.5.x Jan 28, 2025
11 of 24 checks passed
@mariolorenz mariolorenz deleted the fix-noarticle-adyen-order branch January 28, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants