{"id":12434505,"date":"2020-02-14T01:07:05","date_gmt":"2020-02-14T01:07:05","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/javascript-error-loading-form\/"},"modified":"2020-02-14T01:07:05","modified_gmt":"2020-02-14T01:07:05","slug":"javascript-error-loading-form","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/javascript-error-loading-form\/","title":{"rendered":"Javascript error loading form"},"content":{"rendered":"<p>I seem to have an issue with mollie forms in the test mode of molliepay (cant try live yet, we just applied for verification)<br \/>\nEven the simplest of pages throws an error regarding <\/p>\n<p>Uncaught TypeError: Cannot read property &#8216;remove&#8217; of null<br \/>\n    at mollie_forms_recurring_methods_3573<\/p>\n<p>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.<\/p>\n<p>                if (!window.ApplePaySession || !window.ApplePaySession.canMakePayments()) {<br \/>\n                    document.getElementById(&#8220;rfmp_pm_applepay_3573&#8221;).remove();<\/p>\n<p>WordPress version is 5.3.2, theme is Enfold Child.<\/p>\n<p>Help would be greatly appreciated<\/p>\n","protected":false},"template":"","class_list":["post-12434505","topic","type-topic","status-publish","hentry","topic-tag-applepay","topic-tag-charity","topic-tag-error-javascript"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12434505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12434505\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12434505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}