[FIX] website_sale: add support for custom Authorize Message

closes odoo/odoo#101741

X-original-commit: caa78b880bd256fada8bb106dbc1006b25d29be8
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
This commit is contained in:
kanda999
2022-09-30 14:34:43 +02:00
parent d6ce5157ab
commit 92fae623d4
+2 -1
View File
@@ -2224,7 +2224,8 @@
<t t-out="payment_tx_id.provider_id.sudo().cancel_msg"/>
</t>
<t t-if="payment_tx_id.state == 'authorized'">
<span>Your payment has been authorized.</span>
<t t-if="payment_tx_id.acquirer_id.sudo().auth_msg" t-out="payment_tx_id.acquirer_id.sudo().auth_msg"/>
<span t-else="">Your payment has been authorized.</span>
</t>
<t t-if="payment_tx_id.state == 'error'">
<span t-esc="payment_tx_id.state_message"/>