1d95e81c8a6350369c9abea1aac5476904ca1376
When there is a connection failure (eg. server restart) while we are polling adyen for payment status during the payment process, we would show a connection error and when clicking on retry, we would do a new payment even if the first one was successful causing a double payment. After dcb1e2b48, the retry after failure should just continue the polling as if there was no connection failure, so for example: - order 1: pay with adyen => connection failure during payment - order 1: retry => payment successful But in this particular case: - order 1: pay with adyen => connection failure during payment - order 1: close adyen payment line and pay with another payment method - order 2: pay with adyen => we will receive the response from order 1 With this changeset, we only continue the polling for adyen status if we are retrying to pay the same order. opw-2587625 closes odoo/odoo#75640 X-original-commit: f83d1b13a96f8df559918b5905b949009d2ece88 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%