diff --git a/addons/payment/static/src/js/post_processing.js b/addons/payment/static/src/js/post_processing.js
index ccc24e211cc..4be04db63cb 100644
--- a/addons/payment/static/src/js/post_processing.js
+++ b/addons/payment/static/src/js/post_processing.js
@@ -2,8 +2,8 @@ odoo.define('payment.post_processing', function (require) {
'use strict';
var publicWidget = require('web.public.widget');
- var ajax = require('web.ajax');
var core = require('web.core');
+ const {Markup} = require('web.utils');
var _t = core._t;
@@ -92,6 +92,9 @@ odoo.define('payment.post_processing', function (require) {
display_values_list.forEach(function (display_values) {
var key = 'tx_' + display_values.state;
if(key in render_values) {
+ if (display_values["display_message"]) {
+ display_values.display_message = Markup(display_values.display_message)
+ }
render_values[key].push(display_values);
}
});
diff --git a/addons/payment/static/src/xml/payment_post_processing.xml b/addons/payment/static/src/xml/payment_post_processing.xml
index 685122596cf..9c8723f5b64 100644
--- a/addons/payment/static/src/xml/payment_post_processing.xml
+++ b/addons/payment/static/src/xml/payment_post_processing.xml
@@ -54,7 +54,7 @@
-
+
Your payment is in pending state.
@@ -75,7 +75,7 @@
-
+
Your payment has been received but need to be confirmed manually.
@@ -100,7 +100,7 @@
-
+
We are waiting for the payment acquirer to confirm the payment.