{"id":2,"date":"2019-07-08T18:01:08","date_gmt":"2019-07-08T18:01:08","guid":{"rendered":"http:\/\/vwltclub.nl\/betalen\/?page_id=2"},"modified":"2022-03-10T19:32:23","modified_gmt":"2022-03-10T19:32:23","slug":"voorbeeld-pagina","status":"publish","type":"page","link":"https:\/\/vwltclub.nl\/betalen\/","title":{"rendered":"Mollie"},"content":{"rendered":"<table style=\"width: 100%; border-collapse: collapse;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 100%; height: 20px;\"><span style=\"font-family: verdana, geneva, sans-serif; font-size: 12pt;\">Bedankt voor het aanmelden!<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: verdana,geneva,sans-serif; font-size: 12pt;\">Via deze beveiligde link, kunt u de betaling voldoen op onderstaande rekening voor het treffen of aanmelden als nieuw lid.<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 100%;\"><span style=\"font-family: verdana,geneva,sans-serif; font-size: 12pt;\">Ten name van:<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 100%;\"><span style=\"font-family: verdana,geneva,sans-serif; font-size: 12pt;\">Els de Keijzer<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 100%;\"><span style=\"font-family: verdana,geneva,sans-serif; font-size: 12pt;\">Penningmeester VW LT club <\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 100%;\"><span style=\"font-family: verdana,geneva,sans-serif; font-size: 12pt;\">Marius de Langenstraat 104<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 100%;\"><span style=\"font-family: verdana,geneva,sans-serif; font-size: 12pt;\">5348 AK Oss<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-89\" src=\"https:\/\/vwltclub.nl\/betalen\/wp-content\/uploads\/2021\/08\/start.gif\" alt=\"\" width=\"190\" height=\"141\" \/><\/p>\n<form enctype=\"multipart\/form-data\" data-mollie-forms=\"2.9.3\" method=\"post\" id=\"rfmp_51\" class=\"mollieform\"><input type=\"hidden\" id=\"mollie_forms_51_nonce\" name=\"mollie_forms_51_nonce\" value=\"7cf31cf689\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/betalen\/wp-json\/wp\/v2\/pages\/2\" \/><input type=\"hidden\" name=\"mollie-forms-post\" value=\"51\"><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_51_field_0\">Naam <span class=\"mollie-forms-required\">*<\/span><\/label><br><input type=\"text\" name=\"form_51_field_0\" id=\"form_51_field_0\" value label=\"Naam\" class required style=\"width: 100%\"><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_51_field_1\">E-mail <span class=\"mollie-forms-required\">*<\/span><\/label><br><input type=\"email\" name=\"form_51_field_1\" id=\"form_51_field_1\" value label=\"E-mail\" class required style=\"width: 100%\"><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_51_field_2\"><\/label><br><ul id=\"form_51_field_2\" label class required style=\"list-style-type:none;margin:0;\"><li>\n                            <label>\n                                <input type=\"radio\" \n                                        onchange=\"mollie_forms_recurring_methods_51();mollie_forms_51_totals();\" \n                                        data-frequency=\"once\" \n                                        data-freq=\"\" \n                                        data-pricetype=\"open\" \n                                        data-price=\"\" \n                                        data-vat=\"\" \n                                        name=\"rfmp_priceoptions_51\" \n                                        value=\"1\"\n                                         checked> \n                                Betaling lidmaatschap of voor een treffen \n                            <\/label>\n                          <\/li><\/ul><p id=\"rfmp_open_amount_51\" style=\"display:none;\">\n                    <label>Bedrag \n                        <span style=\"color:red;\">*<\/span><br>\n                        <span class=\"rfmp_currency_51\">&euro;<\/span> \n                        <input type=\"number\" step=\"any\" value=\"\" onchange=\"mollie_forms_51_totals();\" onkeyup=\"mollie_forms_51_totals();\" name=\"rfmp_amount_51\"> \n                        <span id=\"rfmp_amount_freq_51\"><\/span>\n                    <\/label>\n                    <input type=\"hidden\" name=\"rfmp_amount_required_51\" id=\"rfmp_open_amount_required_51\" value=\"0\">\n                  <\/p>\n        <script>\n        window.onload = setTimeout(mollie_forms_51_totals, 100);\n        function mollie_forms_51_totals() {\n            var priceoption = document.getElementsByName(\"rfmp_priceoptions_51\");\n            var quantities  = document.getElementsByClassName(\"rfmp_priceoptions_51_quantity\");\n            var subtotal = 0, total = 0, vat = 0;\n            \n            \n            \/\/ Add shipping costs to total\n            var shippingCosts = \"\";\n            if (shippingCosts) {\n                var shippingVat = 0.21 * parseFloat(shippingCosts);\n                vat   += shippingVat;\n                total += parseFloat(shippingCosts);\n                subtotal += parseFloat(shippingCosts);\n                \n            }\n            \n            if (0 in priceoption) {\n                var openAmount  = document.getElementsByName(\"rfmp_amount_51\");\n            \n                \/\/ single price option\n                if (priceoption[0].tagName == \"INPUT\") {\n                    for (var i = 0, length = priceoption.length; i < length; i++) {\n                        if (priceoption[i].checked) {\n                        \n                            if (priceoption[i].dataset.pricetype == \"open\") {\n                                openAmount[0].setAttribute(\"min\", isNaN(priceoption[i].dataset.price) ? 0 : priceoption[i].dataset.price);\n                                var optionPrice = parseFloat(openAmount[0].value);\n                            } else {\n                                openAmount[0].removeAttribute(\"min\");\n                                var optionPrice = parseFloat(priceoption[i].dataset.price);\n                            }\n\n                            if (optionPrice <= 0 || isNaN(optionPrice)) {\n                                break;\n                            }\n                            \n                            var optionVat = (parseInt(priceoption[i].dataset.vat) \/ 100) * optionPrice;\n                        \n                            vat += optionVat;\n                            total += optionPrice;\n                            subtotal += optionPrice;\n                            \n                            break;\n                        }\n                    }\n                } else {\n                    if (priceoption[0].options[priceoption[0].selectedIndex].dataset.pricetype == \"open\") {\n                        openAmount[0].setAttribute(\"min\", isNaN(priceoption[0].options[priceoption[0].selectedIndex].dataset.price) ? 0 : priceoption[0].options[priceoption[0].selectedIndex].dataset.price);\n                        var optionPrice = parseFloat(openAmount[0].value);\n                    } else {\n                        openAmount[0].removeAttribute(\"min\");\n                        var optionPrice = parseFloat(priceoption[0].options[priceoption[0].selectedIndex].dataset.price);\n                    }\n                            \n                    if (optionPrice > 0 || isNaN(optionPrice)) {\n                        var optionVat = (parseInt(priceoption[0].options[priceoption[0].selectedIndex].dataset.vat) \/ 100) * optionPrice;\n                        vat   += optionVat;\n                        total += optionPrice;\n                        subtotal += optionPrice;\n                        \n                    }\n                }\n            } else if (quantities) {\n                \/\/ multiple price options with quantity\n                for (var i = 0; i < quantities.length; i++) {\n                    var q = parseInt(quantities[i].value);\n                    if (q <= 0 || isNaN(q)) {\n                        continue;\n                    }\n                    \n                    var optionPrice = parseFloat(quantities[i].dataset.price) * q;\n                    if (optionPrice > 0 || isNaN(optionPrice)) {\n                        var optionVat = (parseInt(quantities[i].dataset.vat) \/ 100) * optionPrice;\n                        vat   += optionVat;\n                        total += optionPrice;\n                        subtotal += optionPrice;\n                        \n                    }\n                }\n            }\n            \n            \/\/ payment method extra costs\n            var methods = document.getElementsByName(\"rfmp_payment_method_51\");\n            if (total > 0) {\n\t            if (0 in methods) {\n\t                if (methods[0].tagName == \"INPUT\") {\n\t                    \/\/ radio buttons\n\t                    for (var i = 0; i < methods.length; i++) {\n\t                        if (methods[i].checked) {\n\t                            var methodAmount = ((parseInt(methods[i].dataset.variable) \/ 100) * total) + parseFloat(methods[i].dataset.fixed);\n\t                            var methodVat = 0.21 * methodAmount;\n\t                            vat   += methodVat;\n\t                            total += methodAmount;\n\t                            subtotal += methodAmount;\n\t                            \n\t                            break;\n\t                        }\n\t                    }\n\t                } else {\n\t                    \/\/ dropdown\n\t                    var methodAmount = ((parseInt(methods[0].options[methods[0].selectedIndex].dataset.variable) \/ 100) * total) + parseFloat(methods[0].options[methods[0].selectedIndex].dataset.fixed);\n\t                    var methodVat = 0.21 * methodAmount;\n\t                    vat   += methodVat;\n\t                    total += methodAmount;\n\t                    subtotal += methodAmount;\n\t                    \n\t                }\n\t            }\n            }\n\n            \/\/ Display subtotal\n            var subtotalValue = document.getElementById(\"rfmp_totals_51_subtotal_value\");\n            if (subtotalValue) {\n                var subtotalAmount = subtotal.toFixed(2) > 0 ? subtotal.toFixed(2) : \"0.00\";\n                subtotalValue.innerHTML = subtotalAmount.replace(\".\", \",\");\n            }\n            \n            \/\/ Display total\n            var totalValue = document.getElementById(\"rfmp_totals_51_total_value\");\n            if (totalValue) {\n                var totalAmount = total.toFixed(2) > 0 ? total.toFixed(2) : \"0.00\";\n                totalValue.innerHTML = totalAmount.replace(\".\", \",\");\n            }\n            \n            \/\/ Display VAT\n            var totalVatValue = document.getElementById(\"rfmp_totals_51_vat_value\");\n            if (totalVatValue) {\n                var totalVat = vat.toFixed(2) > 0 ? vat.toFixed(2) : \"0.00\";\n                totalVatValue.innerHTML = totalVat.replace(\".\", \",\");\n            }\n            \n            \n            if (total <= 0 || isNaN(total)) {\n                document.getElementById(\"payment_methods_51\").style.display = \"none\";\n            } else {\n                document.getElementById(\"payment_methods_51\").style.display = \"block\";\n            }\n        }\n        <\/script><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" id=\"payment_methods_51\"><label for=\"form_51_field_3\">Betaalmethode <span class=\"mollie-forms-required\">*<\/span><\/label><br>\n            <script>\n            window.onload = setTimeout(mollie_forms_recurring_methods_51, 100);\n            function mollie_forms_recurring_methods_51() {\n                var priceoptions = document.getElementsByName(\"rfmp_priceoptions_51\");\n                var freq = \"\";\n                var frequency = \"once\";\n                if (0 in priceoptions) {\n                    if (priceoptions[0].tagName == \"INPUT\") {\n                        for (var i = 0, length = priceoptions.length; i < length; i++) {\n                            if (priceoptions[i].checked) {\n                                frequency = priceoptions[i].dataset.frequency;\n                                var pricetype = priceoptions[i].dataset.pricetype;\n                                freq = priceoptions[i].dataset.freq;\n                                break;\n                            }\n                        }\n                    } else {\n                        frequency = priceoptions[0].options[priceoptions[0].selectedIndex].dataset.frequency ? priceoptions[0].options[priceoptions[0].selectedIndex].dataset.frequency : \"once\";\n                        var pricetype = priceoptions[0].options[priceoptions[0].selectedIndex].dataset.pricetype;\n                        freq = priceoptions[0].options[priceoptions[0].selectedIndex].dataset.freq;\n                    }\n                } else {\n                    var quantities = document.getElementsByClassName(\"rfmp_priceoptions_51_quantity\");\n                    var pricetype = \"fixed\";\n                    frequency = \"once\";\n                    for (var i = 0, length = quantities.length; i < length; i++) {\n                        if (quantities[i].value > 0) {\n                            if (quantities[i].dataset.frequency != \"once\") {\n                                frequency = \"recurring\";\n                            }\n                        }\n                    }\n                }\n\n                var checkbox = document.getElementsByName(\"rfmp_checkbox_51\")[0];\n                if (frequency==\"once\") {\n                    checkbox.removeAttribute(\"required\");\n                } else {\n                    checkbox.setAttribute(\"required\", \"required\");\n                }\n\n                document.getElementById(\"rfmp_checkbox_51\").style.display = (frequency==\"once\" ? \"none\" : \"block\");\n                document.getElementById(\"rfmp_checkbox_hidden_51\").value = (frequency==\"once\" ? 0 : 1);\n                document.getElementById(\"rfmp_open_amount_51\").style.display = (pricetype==\"open\" ? \"block\" : \"none\");\n                document.getElementById(\"rfmp_open_amount_required_51\").value = (pricetype==\"open\" ? 1 : 0);\n                document.getElementById(\"rfmp_amount_freq_51\").innerHTML = freq;\n                \n                if (location.protocol === \"https:\" && window.ApplePaySession && window.ApplePaySession.canMakePayments()) {\n                    \/\/\n                } else if (document.getElementById(\"rfmp_pm_applepay_51\") !== null) {\n                    document.getElementById(\"rfmp_pm_applepay_51\").remove();\n                }\n                \n                if (document.getElementById(\"rfmp_pm_ideal_51\") !== null){\n    document.getElementById(\"rfmp_pm_ideal_51\").style.display = (frequency!=\"once\" ? \"none\" : \"block\");\n}\n\n            }\n            <\/script><ul id=\"form_51_field_3\" label=\"Betaalmethode\" class required style=\"list-style-type:none;margin:0;\"><li id=\"rfmp_pm_ideal_51\">\n                                        <label>\n                                            <input  type=\"radio\" \n                                                    name=\"rfmp_payment_method_51\" \n                                                    value=\"ideal\"\n                                                    data-fixed=\"0\" \n                                                    data-variable=\"0\" \n                                                    onchange=\"mollie_forms_51_totals();\" \n                                                     checked> \n                                            <img decoding=\"async\"    style=\"vertical-align:middle;display:inline-block;\" \n                                                    src=\"https:\/\/www.mollie.com\/external\/icons\/payment-methods\/ideal.svg\"> \n                                            iDEAL | Wero\n                                        <\/label>\n                                     <\/li><\/ul><input type=\"hidden\" id=\"rfmp_checkbox_hidden_51\" name=\"rfmp_checkbox_hidden_51\" value=\"0\"><br><label id=\"rfmp_checkbox_51\" style=\"display:none;\">\n                            <input type=\"checkbox\" name=\"rfmp_checkbox_51\" value=\"1\">Hierbij geef ik toestemming om het terugkerende bedrag periodiek van mijn rekening te incasseren.\n                         <\/label><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><br><button type=\"submit\" name=\"form_51_field_7\" id=\"form_51_field_7\" value label=\"Overmaken\" class=\"versturen\" required>Overmaken<\/button><\/div><\/form>\n","protected":false},"excerpt":{"rendered":"<p>Bedankt voor het aanmelden! Via deze beveiligde link, kunt u de betaling voldoen op onderstaande rekening voor het treffen of aanmelden als nieuw lid. Ten name van: Els de Keijzer Penningmeester VW LT club Marius de Langenstraat 104 5348 AK Oss<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/vwltclub.nl\/betalen\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vwltclub.nl\/betalen\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vwltclub.nl\/betalen\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vwltclub.nl\/betalen\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vwltclub.nl\/betalen\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":56,"href":"https:\/\/vwltclub.nl\/betalen\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":105,"href":"https:\/\/vwltclub.nl\/betalen\/wp-json\/wp\/v2\/pages\/2\/revisions\/105"}],"wp:attachment":[{"href":"https:\/\/vwltclub.nl\/betalen\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}