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

Store API - POST payment details - Payment Failed Exception does not change payment status #304

Open
AndreasA opened this issue Oct 17, 2022 · 0 comments

Comments

@AndreasA
Copy link
Contributor

Describe the bug

If something went seriously wrong with Adyen, it is possible that calling /store-api/adyen/payment-details fails with a server error, e.g. Error occurred finalizing payment which in itself is fine.

However, the order transaction status is still in progress which is really confusing as the payment actually failed. Especially, if that status is used to determine potential payment errors and show the user corresponding error messages.

Versions
Shopware version: 6.4.11.1
Plugin version: 3.4.1

From what I can gather the behavior has not changed with newer versions.

To Reproduce
Steps to reproduce the behavior:

  1. It is easily reproducible by doing something really weird.
  2. Enable adyen live API.
  3. Use test credit card data that requires 3DS, e.g. 5201 2815 0512 9736
  4. Adyen accepts the credit card in the inital input step.
  5. Upon calling /store-api/adyen/payment-details then, it fails with a server error as the transStatus is missing which makes sense.
  6. Order transaction status did not change.

Not sure, if there are actually other potential combinations that result in similar errors but this one does.

Expected behavior

Order transaction status to be set to failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant