summaryrefslogtreecommitdiff
path: root/addons/payment/static/src/js/payment_form.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/payment/static/src/js/payment_form.js')
-rw-r--r--addons/payment/static/src/js/payment_form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/payment/static/src/js/payment_form.js b/addons/payment/static/src/js/payment_form.js
index 10ddb19ee37..c97da26cd39 100644
--- a/addons/payment/static/src/js/payment_form.js
+++ b/addons/payment/static/src/js/payment_form.js
@@ -134,7 +134,7 @@ odoo.define('payment.payment_form', function (require) {
self.displayError(
_t('Server Error'),
_t("We are not able to add your payment method at the moment.") +
- data.data.message
+ message.data.message
);
});
}
@@ -180,7 +180,7 @@ odoo.define('payment.payment_form', function (require) {
self.displayError(
_t('Server Error'),
_t("We are not able to redirect you to the payment form. ") +
- data.data.message
+ message.data.message
);
});
}