• Resolved pvandongenrcbladel

    (@pvandongenrcbladel)


    I seem to have an issue with mollie forms in the test mode of molliepay (cant try live yet, we just applied for verification)
    Even the simplest of pages throws an error regarding

    Uncaught TypeError: Cannot read property ‘remove’ of null
    at mollie_forms_recurring_methods_3573

    The traceback seems to show that it is trying to determine if Applepay is on the page which cannot be enabled as we are a charitable setup.

    if (!window.ApplePaySession || !window.ApplePaySession.canMakePayments()) {
    document.getElementById(“rfmp_pm_applepay_3573”).remove();

    Wordpress version is 5.3.2, theme is Enfold Child.

    Help would be greatly appreciated

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter pvandongenrcbladel

    (@pvandongenrcbladel)

    I’ve made several changes to the Formbuilder.php to account for
    1. Charitable and Apple therefore not being on the list of Mollie as available and breaking the code.
    2. Empty VAT, Price and qty being equated to NaN, now set to 0

    Works now. Check the URL page for the fixes (search for //Fix Patrick)
    Lets see if these should be taken into the mainstream build….

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript error loading form’ is closed to new replies.