diff --git a/views/twig/payment/adyen_assets.html.twig b/views/twig/payment/adyen_assets.html.twig index d20b2c9..e8c1115 100644 --- a/views/twig/payment/adyen_assets.html.twig +++ b/views/twig/payment/adyen_assets.html.twig @@ -24,8 +24,9 @@ {% if oViewConf.getTopActiveClassName() == 'payment' %} {% set isPaymentPage = true %} submitForm = document.getElementById('payment'); + {# getting checkout next step button with fallback for apex theme #} {# ToDo: create a better way to access 'next step' element #} - const nextStepEl = document.getElementsByClassName('btn-highlight')[0]; + const nextStepEl = document.getElementsByClassName('btn-highlight')[0]; {# reset the disabled-status of paymentNextStepBottom if payment is changed #} document.getElementsByName('paymentid').forEach(function (e) { e.addEventListener('change', function () {