diff --git a/addons/payment_adyen/static/src/js/payment_form.js b/addons/payment_adyen/static/src/js/payment_form.js index d0221ef4794..b3deafed680 100644 --- a/addons/payment_adyen/static/src/js/payment_form.js +++ b/addons/payment_adyen/static/src/js/payment_form.js @@ -23,7 +23,6 @@ odoo.define('payment_adyen.payment_form', require => { * @return {Promise} */ _dropinOnAdditionalDetails: function (state, dropin) { - this._hideInputs(); // Only the inputs of the inline form should be used return this._rpc({ route: '/payment/adyen/payment_details', params: { @@ -92,6 +91,8 @@ odoo.define('payment_adyen.payment_form', require => { }); }).then(paymentResponse => { if (paymentResponse.action) { // Additional action required from the shopper + this._hideInputs(); // Only the inputs of the inline form should be used + $('body').unblock(); // The page is blocked at this point, unblock it dropin.handleAction(paymentResponse.action); } else { // The payment reached a final state, redirect to the status page window.location = '/payment/status';