diff --git a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js index e31615b..02eaac4 100644 --- a/view/frontend/web/js/view/payment/method-renderer/nexi-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/nexi-method.js @@ -97,7 +97,7 @@ define( }, this); } - if (this.isActive() && this.isEmbedded()) { + if (this.isActive() && this.isEmbedded() && (!this.payTypeSplitting() || this.subselection())) { this.renderCheckout(); } diff --git a/view/frontend/web/template/payment/nexi-hosted-type-split.html b/view/frontend/web/template/payment/nexi-hosted-type-split.html index 6eaf23e..b8b2552 100644 --- a/view/frontend/web/template/payment/nexi-hosted-type-split.html +++ b/view/frontend/web/template/payment/nexi-hosted-type-split.html @@ -45,7 +45,7 @@ click: placeOrder, attr: {title: $t('Place Order')}, css: {disabled: !isPlaceOrderActionAllowed()}, - enable: (getCode() == isChecked()) + enable: (getCode() == isChecked() && subselection()) " disabled>