diff --git a/src/assets/js/alma-checkout-in-page.js b/src/assets/js/alma-checkout-in-page.js index ea2b6a9b..591158d7 100644 --- a/src/assets/js/alma-checkout-in-page.js +++ b/src/assets/js/alma-checkout-in-page.js @@ -58,7 +58,7 @@ if (null !== installment) { if ( inPage !== undefined - && document.getElementById( 'alma-embedded-iframe' ) !== null + && document.querySelector( '[id^=alma-embedded-iframe]' ) !== null ) { inPage.unmount(); }