Skip to content

17.0-20240911

Latest
Compare
Choose a tag to compare
@osimallen osimallen released this 11 Sep 21:07
[IMP] payment_authorize: display the reason for declining the payment

In some occasions, Authorize would decline a payment and provide the
reason for it, but not mark the payment as in error. The customer would
see that their payment is cancelled but not know what to do. That is
because error messages were not processed in the case of declined
payments.

This commit makes eventual error messages (decline reasons) logged on
the linked document's chatter and displayed on the /payment/status page.

opw-4125895

closes odoo/odoo#179805

X-original-commit: 2d29d741748c66cac3fe963ccb846d8421fb16f4
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>