Title: Javascript error loading form
Last modified: February 14, 2020

---

# Javascript error loading form

 *  Resolved [pvandongenrcbladel](https://wordpress.org/support/users/pvandongenrcbladel/)
 * (@pvandongenrcbladel)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-loading-form/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-loading-form%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [pvandongenrcbladel](https://wordpress.org/support/users/pvandongenrcbladel/)
 * (@pvandongenrcbladel)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-loading-form/#post-12437270)
 * 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.

 * ![](https://ps.w.org/mollie-forms/assets/icon-256x256.png?rev=3502800)
 * [Mollie Forms](https://wordpress.org/plugins/mollie-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mollie-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mollie-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/mollie-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mollie-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mollie-forms/reviews/)

## Tags

 * [ApplePay](https://wordpress.org/support/topic-tag/applepay/)
 * [charity](https://wordpress.org/support/topic-tag/charity/)
 * [error-javascript](https://wordpress.org/support/topic-tag/error-javascript/)

 * 1 reply
 * 1 participant
 * Last reply from: [pvandongenrcbladel](https://wordpress.org/support/users/pvandongenrcbladel/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-loading-form/#post-12437270)
 * Status: resolved