{"id":3081,"date":"2022-06-21T21:11:10","date_gmt":"2022-06-21T20:11:10","guid":{"rendered":"https:\/\/tessunlimited.nl\/?page_id=3081"},"modified":"2024-06-12T14:49:15","modified_gmt":"2024-06-12T13:49:15","slug":"half-marathon","status":"publish","type":"page","link":"https:\/\/tessunlimited.nl\/en\/half-marathon\/","title":{"rendered":"Donatie | Half marathon"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-one-full fusion-column-first fusion-column-last\" style=\"--awb-bg-size:cover;--awb-margin-top:126px;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-column-wrapper-legacy\"><div class=\"fusion-title title fusion-title-1 fusion-sep-none fusion-title-center fusion-title-text fusion-title-size-one\"><h1 class=\"fusion-title-heading title-heading-center\" style=\"margin:0;\"><h2 style=\"text-align: center;\">Donation half marathon<br \/>\nThank you!<\/h2><\/h1><\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-bottom:0px;--awb-margin-bottom:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_1 1_1 fusion-one-full fusion-column-first fusion-column-last\" style=\"--awb-bg-size:cover;--awb-margin-bottom:0px;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-column-wrapper-legacy\"><form enctype=\"multipart\/form-data\" data-mollie-forms=\"2.8.0\" method=\"post\" id=\"rfmp_3322\" class=\"\" action=\"\"><input type=\"hidden\" id=\"mollie_forms_3322_nonce\" name=\"mollie_forms_3322_nonce\" value=\"ce3e5a11e4\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/3081\" \/><input type=\"hidden\" name=\"mollie-forms-post\" value=\"3322\"><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_3322_field_0\">Name (can be anonymous) <span class=\"mollie-forms-required\">*<\/span><\/label><br><input type=\"text\" name=\"form_3322_field_0\" id=\"form_3322_field_0\" value label=\"Naam (mag ook anoniem zijn)\" class required style=\"width: 100%\"><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_3322_field_1\">Email (if anonymous we won't do anything with your e-mailaddress) <span class=\"mollie-forms-required\">*<\/span><\/label><br><input type=\"email\" name=\"form_3322_field_1\" id=\"form_3322_field_1\" value label=\"Email (indien anoniem doen wij niks met uw e-mailadres)\" class required style=\"width: 100%\"><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_3322_field_2\">Pick your donation <span class=\"mollie-forms-required\">*<\/span><\/label><br><ul id=\"form_3322_field_2\" label=\"Kies je donatie\" class required style=\"list-style-type:none;margin:0;\"><li>\n                            <label>\n                                <input type=\"radio\" \n                                        onchange=\"mollie_forms_recurring_methods_3322();mollie_forms_3322_totals();\" \n                                        data-frequency=\"once\" \n                                        data-freq=\"\" \n                                        data-pricetype=\"fixed\" \n                                        data-price=\"21.00\" \n                                        data-vat=\"\" \n                                        name=\"rfmp_priceoptions_3322\" \n                                        value=\"56\"\n                                        > \n                                One time donation \u20ac1 x 21 kilometer (\u20ac21,00)\n                            <\/label>\n                          <\/li><li>\n                            <label>\n                                <input type=\"radio\" \n                                        onchange=\"mollie_forms_recurring_methods_3322();mollie_forms_3322_totals();\" \n                                        data-frequency=\"once\" \n                                        data-freq=\"\" \n                                        data-pricetype=\"open\" \n                                        data-price=\"\" \n                                        data-vat=\"\" \n                                        name=\"rfmp_priceoptions_3322\" \n                                        value=\"57\"\n                                        > \n                                One time donation pick your amount \n                            <\/label>\n                          <\/li><\/ul><p id=\"rfmp_open_amount_3322\" style=\"display:none;\">\n                    <label>Amount \n                        <span style=\"color:red;\">*<\/span><br>\n                        <span class=\"rfmp_currency_3322\">&euro;<\/span> \n                        <input type=\"number\" step=\"any\" value=\"\" onchange=\"mollie_forms_3322_totals();\" onkeyup=\"mollie_forms_3322_totals();\" name=\"rfmp_amount_3322\"> \n                        <span id=\"rfmp_amount_freq_3322\"><\/span>\n                    <\/label>\n                    <input type=\"hidden\" name=\"rfmp_amount_required_3322\" id=\"rfmp_open_amount_required_3322\" value=\"0\">\n                  <\/p>\n        <script>\n        window.onload = setTimeout(mollie_forms_3322_totals, 100);\n        function mollie_forms_3322_totals() {\n            var priceoption = document.getElementsByName(\"rfmp_priceoptions_3322\");\n            var quantities  = document.getElementsByClassName(\"rfmp_priceoptions_3322_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_3322\");\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_3322\");\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_3322_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_3322_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_3322_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_3322\").style.display = \"none\";\n            } else {\n                document.getElementById(\"payment_methods_3322\").style.display = \"block\";\n            }\n        }\n        <\/script><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" id=\"payment_methods_3322\"><label for=\"form_3322_field_3\">Paying method <span class=\"mollie-forms-required\">*<\/span><\/label><br>\n            <script>\n            window.onload = setTimeout(mollie_forms_recurring_methods_3322, 100);\n            function mollie_forms_recurring_methods_3322() {\n                var priceoptions = document.getElementsByName(\"rfmp_priceoptions_3322\");\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_3322_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_3322\")[0];\n                if (frequency==\"once\") {\n                    checkbox.removeAttribute(\"required\");\n                } else {\n                    checkbox.setAttribute(\"required\", \"required\");\n                }\n\n                document.getElementById(\"rfmp_checkbox_3322\").style.display = (frequency==\"once\" ? \"none\" : \"block\");\n                document.getElementById(\"rfmp_checkbox_hidden_3322\").value = (frequency==\"once\" ? 0 : 1);\n                document.getElementById(\"rfmp_open_amount_3322\").style.display = (pricetype==\"open\" ? \"block\" : \"none\");\n                document.getElementById(\"rfmp_open_amount_required_3322\").value = (pricetype==\"open\" ? 1 : 0);\n                document.getElementById(\"rfmp_amount_freq_3322\").innerHTML = freq;\n                \n                if (location.protocol === \"https:\" && window.ApplePaySession && window.ApplePaySession.canMakePayments()) {\n                    \/\/\n                } else if (document.getElementById(\"rfmp_pm_applepay_3322\") !== null) {\n                    document.getElementById(\"rfmp_pm_applepay_3322\").remove();\n                }\n                \n                    document.getElementById(\"rfmp_pm_creditcard_3322\").style.display = \"block\";\nif (document.getElementById(\"rfmp_pm_ideal_3322\") !== null){\n    document.getElementById(\"rfmp_pm_ideal_3322\").style.display = (frequency!=\"once\" ? \"none\" : \"block\");\n}\nif (document.getElementById(\"rfmp_pm_paypal_3322\") !== null){\n    document.getElementById(\"rfmp_pm_paypal_3322\").style.display = (frequency!=\"once\" ? \"none\" : \"block\");\n}\n\n            }\n            <\/script><select id=\"form_3322_field_3\" label=\"Betaal methode\" class required name=\"rfmp_payment_method_3322\" style=\"width: 100%;\" onchange=\"mollie_forms_3322_totals();\"><option    id=\"rfmp_pm_ideal_3322\" \n                                                value=\"ideal\"\n                                                data-fixed=\"0\" \n                                                data-variable=\"0\" \n                                                >\n                                        iDEAL | Wero\n                                     <\/option><option    id=\"rfmp_pm_creditcard_3322\" \n                                                value=\"creditcard\"\n                                                data-fixed=\"0\" \n                                                data-variable=\"0\" \n                                                >\n                                        Kaart\n                                     <\/option><option    id=\"rfmp_pm_paypal_3322\" \n                                                value=\"paypal\"\n                                                data-fixed=\"0\" \n                                                data-variable=\"0\" \n                                                >\n                                        PayPal\n                                     <\/option><\/select><input type=\"hidden\" id=\"rfmp_checkbox_hidden_3322\" name=\"rfmp_checkbox_hidden_3322\" value=\"0\"><br><label id=\"rfmp_checkbox_3322\" style=\"display:none;\">\n                            <input type=\"checkbox\" name=\"rfmp_checkbox_3322\" value=\"1\">I hereby give authorization to collect the recurring amount from my account periodically.\n                         <\/label><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><label for=\"form_3322_field_5\"><\/label><br><table id=\"form_3322_field_5\" label class required><tr id=\"rfmp_totals_3322_total\">\n                    <td><strong>Total<\/strong><\/td>\n                    <td><strong>&euro; <span id=\"rfmp_totals_3322_total_value\"><\/span><\/strong><\/td>\n                  <\/tr><\/table><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><br><button type=\"submit\" name=\"form_3322_field_6\" id=\"form_3322_field_6\" value label=\"Doneer\" class required>Donate<\/button><\/div><div class=\"mollie_forms_field_row\" style=\"margin:10px 0\" ><input type=\"hidden\" name=\"form_3322_field_7\" value=\"0\"><input type=\"checkbox\" value=\"1\" name=\"form_3322_field_7\" id=\"form_3322_field_7\" label=\"Ik schrijf me graag in voor de nieuwsbrief van Tess Unlimted\" class> <label for=\"form_3322_field_7\">I would like to sign up for the Tess Unlimited newsletter<\/label><\/div><input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div><\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":8,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3081","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/tessunlimited.nl\/en\/wp-json\/wp\/v2\/pages\/3081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tessunlimited.nl\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tessunlimited.nl\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tessunlimited.nl\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/tessunlimited.nl\/en\/wp-json\/wp\/v2\/comments?post=3081"}],"version-history":[{"count":6,"href":"https:\/\/tessunlimited.nl\/en\/wp-json\/wp\/v2\/pages\/3081\/revisions"}],"predecessor-version":[{"id":3323,"href":"https:\/\/tessunlimited.nl\/en\/wp-json\/wp\/v2\/pages\/3081\/revisions\/3323"}],"wp:attachment":[{"href":"https:\/\/tessunlimited.nl\/en\/wp-json\/wp\/v2\/media?parent=3081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}