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

Webhook failed with status code 425 (Unordered Collection) messages in Mollie and duplicate Registered notification about captured amount of XX in Magento #769

Open
jamieolney opened this issue Apr 10, 2024 · 4 comments
Assignees
Labels
Investigating We are working on this issue together with the customer.

Comments

@jamieolney
Copy link

jamieolney commented Apr 10, 2024

Describe the bug
When paying with Apple Pay, webhook failed messages appear in Mollie and duplicate registred notification in Magento appear.
Seems similar to issue 679 that I opened last year

Used versions

  • Magento Version number(eg 2.3.5): 2.4.5p1
  • Open source/Enterprise/B2b: OS
  • Mollie version number (Check configuration): 2.36.0

To Reproduce
Steps to reproduce the behavior:
Use Apple pay and checkout as usual

Expected behavior
When placed, history should go from Payment of type credit card paid 10 April 2024 at 10:09 to Webhook called successfully, it took 0.6 seconds 10 April 2024 at 10:10
Actual behavior
There are one or two Webhook failed with status code 425 (Unordered Collection) messages and an additional Registered notification about captured amount of XX is registered in Magento 2.

Screenshots
image

image

Additional context
No issues with version 2.30.1
Using payments API and apple pay direct

@Frank-Magmodules
Copy link
Collaborator

Hi There @jamieolney ,

Thank you for opening this issue. The 425 error is expected with Apple Pay. As Apple Pay goes to paid immediately, the first webhook already comes in before we receive the response from Mollie on creating the transaction. This led to different problems in the past, deciding us to delay the processing of this.

For the multiple “Registered notification about” messages: that is caused by multiple webhook calls that are successfully processed. That only occurs when the response of the webshop on the webhook is too slow. Usually, this can be mitigated by setting Stores -> Configuration -> Mollie -> Advanced -> Process transactions in the queue (experimental) to Yes.

@Frank-Magmodules Frank-Magmodules added the Investigating We are working on this issue together with the customer. label Apr 15, 2024
@simonmaass
Copy link

we can also see these errors in sentry:
image

@Frank-Magmodules
Copy link
Collaborator

Hello @simonmaass, Please see my previous comment, also that error has to do with having a response too fast when paying using Apple Pay.

@Frank-Magmodules
Copy link
Collaborator

Hi @simonmaass,
Please let me know if this is now clear for you or if we can close this issue.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Investigating We are working on this issue together with the customer.
Projects
None yet
Development

No branches or pull requests

3 participants