Skip to content

Commit

Permalink
Handle failing 3DS2 attempts on multishipping success page (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
candemiralp authored Oct 19, 2023
1 parent 32a3039 commit e233a3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions view/frontend/templates/checkout/multishipping/success.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ $paymentResponseEntities = $block->getPaymentResponseEntities();
handleAdyenResult(responseJSON, $(paymentSelected).data('order-id'));
}).fail(function (response) {
errorProcessor.process(response, self.messageContainer);
let buttonLabel = "<?= $block->escapeHtml($block->getPaymentFailedLabel()) ?>";
$(paymentSelected).attr('disabled', true)
.addClass('adyen-payment-finished')
.removeClass('adyen-payment-unfinished')
.html(buttonLabel);
});
closeModal(popupModal);
fullScreenLoader.stopLoader();
Expand Down

0 comments on commit e233a3f

Please sign in to comment.