-
- Downloads
[FIX] payment_adyen: prevent creating a new session for returning users
Before this commit, users returning from Adyen to Odoo after payment
could see their session renewed, depending on their browser's
implementation of the `SameSite` cookie attribute. This prevented Odoo
from retrieving the transaction from the users' session.
This commit flags the return route of Adyen with `save_session=False`,
hence allowing all users to immediately post-process their transactions
when they return to Odoo.
While we're at it, the docstrings of the return routes of PayUmoney and
SIPS' have been updated for better clarity.
closes odoo/odoo#74763
Signed-off-by:
Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
Showing
- addons/payment_adyen/controllers/main.py 9 additions, 1 deletionaddons/payment_adyen/controllers/main.py
- addons/payment_payumoney/controllers/main.py 15 additions, 7 deletionsaddons/payment_payumoney/controllers/main.py
- addons/payment_sips/controllers/main.py 14 additions, 7 deletionsaddons/payment_sips/controllers/main.py
Loading
Please register or sign in to comment