Closed asuciu-gpsw closed 1 year ago
Hi @asuciu-gpsw , Thanks for reaching out. We will investigate the issue and create an internal ticket for it. We will update you once we have more findings.
Kind regards, Bas Maassen Adyen
HI @asuciu-gpsw,
Looks like this is an old template file which is not in use anymore and will be removed with the next release.
Kind Regards, Aleksandar Mihajlovski Adyen
Describe the bug Sometimes, the 3DSecure 2 flow breaks due to a JS error in adyen3ds2.isml template (https://github.com/Adyen/adyen-salesforce-commerce-cloud/blob/main/cartridges/int_adyen_overlay/cartridge/templates/default/threeds2/adyen3ds2.isml). The handleOnAdditionalDetails function tries to set the value of a DOM element (document.getElementById("stateData").value = JSON.stringify(state.data);) which is not loaded yet.
To Reproduce Steps to reproduce the behavior: Try to place an order using 3DS Secure 2 CC (e.g. 3714 4963 5398 431). Sometimes, a white page is displayed due to the above error.
Expected behavior Adyen 3DSecure 2 flow is not interrupted by a JS error.
Screenshots