Skip to content
Snippets Groups Projects
Commit dcb1e2b4 authored by Goffin Simon's avatar Goffin Simon
Browse files

[FIX] pos_adyen: Connection failure during Adyen payment


Steps to reproduce the bug:

When making a payment intent from Adyen terminal with the POS, the payment intent was validated by Adyen
but Odoo stopped polling because a connection failure happened  and then on retry it made second payment
even if the first one was successful.

Fix:

Now after a failure, it will try to poll again the last transaction (with get_latest_adyen_status)
and set the payment as successful or cancelled based on the last response.

opw:2587625

closes odoo/odoo#74972

Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
Co-authored-by: default avatarnle-odoo <nle@odoo.com>
parent 36545980
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment