{"id":57502,"date":"2025-12-19T10:01:56","date_gmt":"2025-12-19T01:01:56","guid":{"rendered":"https:\/\/dante-learning.com\/eng\/membership-checkout\/"},"modified":"2026-04-14T02:53:55","modified_gmt":"2026-04-13T17:53:55","slug":"membership-checkout","status":"publish","type":"page","link":"https:\/\/dante-learning.com\/eng\/membership-checkout\/","title":{"rendered":"Go to Payment"},"content":{"rendered":"<div class=\"gb-container gb-container-7afeda40\">\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Please log in or create an account with one click<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/dante-learning.com\/wp-content\/uploads\/2025\/06\/vacanze.webp\" alt=\"\" class=\"wp-image-30995\" style=\"width:182px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<p>    <div class=\"dante-login-form\">\n        <div class=\"dante-social-btns\">\n            <a href=\"\/eng\/wp-login.php?loginSocial=google&redirect=%2Feng%2Fwp-json%2Fwp%2Fv2%2Fpages%2F57502\" class=\"dante-social-btn\">\n                <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\">\n                    <path fill=\"#4285f4\" d=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z\"\/>\n                    <path fill=\"#34a853\" d=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z\"\/>\n                    <path fill=\"#fbbc05\" d=\"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z\"\/>\n                    <path fill=\"#ea4335\" d=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z\"\/>\n                <\/svg>\n                Continue with Google            <\/a>\n            <a href=\"\/eng\/wp-login.php?loginSocial=facebook&redirect=%2Feng%2Fwp-json%2Fwp%2Fv2%2Fpages%2F57502\" class=\"dante-social-btn\">\n                <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\">\n                    <path fill=\"#1877f2\" d=\"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z\"\/>\n                <\/svg>\n                Continue with Facebook            <\/a>\n        <\/div>\n        \n        <div class=\"dante-divider\"><span>or<\/span><\/div>\n        \n        <form class=\"dante-auth-form\">\n            <input type=\"hidden\" name=\"nonce\" value=\"45cb0e0cca\">\n            <input type=\"hidden\" name=\"redirect\" value=\"\/eng\/wp-json\/wp\/v2\/pages\/57502\">\n            <input type=\"hidden\" name=\"show_register\" value=\"true\">\n            \n            <!-- HONEYPOT FIELD - Anti-Bot Protection -->\n            <div style=\"position: absolute; left: -9999px; top: -9999px; visibility: hidden;\">\n                <label for=\"website\">Website (leave blank)<\/label>\n                <input type=\"text\" name=\"website\" id=\"website\" value=\"\" autocomplete=\"off\" tabindex=\"-1\">\n            <\/div>\n            \n            <div class=\"dante-form-group\">\n                <label>Email<\/label>\n                <input name=\"email\" type=\"email\" placeholder=\"your email address\" required id=\"email\">\n                <div class=\"dante-message\" id=\"email-message\" style=\"display:none;\"><\/div>\n            <\/div>\n            \n            <div class=\"dante-form-group\" id=\"name-field\" style=\"display:none;\">\n                <label>Full Name<\/label>\n                <input name=\"name\" type=\"text\" placeholder=\"Your full name\" id=\"name\">\n            <\/div>\n            \n            <div class=\"dante-form-group\">\n                <label>Password<\/label>\n                <input name=\"password\" type=\"password\" placeholder=\"Enter password\" required id=\"password\">\n            <\/div>\n            \n            <div class=\"dante-gdpr-section\" id=\"gdpr-field\" style=\"display:none;\">\n                <label class=\"dante-checkbox-label\">\n                    <input type=\"checkbox\" name=\"gdpr\" id=\"gdpr\">\n                    <span class=\"dante-checkmark\"><\/span>\n                    I accept the <a href=\"\/eng\/terms\/\" target=\"_blank\">Terms<\/a> and <a href=\"\/eng\/privacy\/\" target=\"_blank\">Privacy Policy<\/a>                <\/label>\n            <\/div>\n            \n            <div class=\"dante-message\" id=\"form-message\" style=\"display:none;\"><\/div>\n            \n            <button type=\"submit\" class=\"dante-btn-primary\" id=\"submit-btn\">Continue<\/button>\n        <\/form>\n    <\/div>\n    \n    <script>\n    jQuery(function($) {\n        let mode = 'login';\n        let timeout;\n        \n        const texts = {\n            continue: 'Continue',\n            signIn: 'Sign In',\n            createAccount: 'Create Account',\n            enterPassword: 'Enter password',\n            enterYourPassword: 'Enter your password',\n            choosePassword: 'Choose a secure password',\n            emailPasswordRequired: 'Email and password are required',\n            nameRequired: 'Full name is required',\n            acceptTerms: 'Please accept Terms and Privacy Policy',\n            processing: '\u23f3 Processing...',\n            success: 'Success! Redirecting...'\n        };\n        \n        $('#email').on('input', function() {\n            const email = $(this).val();\n            const showReg = $('input[name=\"show_register\"]').val();\n            \n            clearTimeout(timeout);\n            \n            if (!email.includes('@')) {\n                resetForm();\n                return;\n            }\n            \n            timeout = setTimeout(() => {\n                $.post('https:\/\/dante-learning.com\/eng\/wp-admin\/admin-ajax.php', {\n                    action: 'dante_check_email',\n                    email: email,\n                    nonce: $('input[name=\"nonce\"]').val()\n                }, function(r) {\n                    if (r.success) {\n                        if (r.data.exists) {\n                            setLoginMode();\n                        } else if (showReg === 'true') {\n                            setRegisterMode();\n                        } else {\n                            setLoginMode();\n                        }\n                    }\n                });\n            }, 800);\n        });\n        \n        function resetForm() {\n            $('#name-field, #gdpr-field').hide();\n            $('#submit-btn').text(texts.continue);\n            $('#password').attr('placeholder', texts.enterPassword);\n        }\n        \n        function setLoginMode() {\n            mode = 'login';\n            $('#name-field, #gdpr-field').hide();\n            $('#submit-btn').text(texts.signIn);\n            $('#password').attr('placeholder', texts.enterYourPassword);\n        }\n        \n        function setRegisterMode() {\n            mode = 'register';\n            $('#name-field, #gdpr-field').show();\n            $('#submit-btn').text(texts.createAccount);\n            $('#password').attr('placeholder', texts.choosePassword);\n        }\n        \n        function showMessage(message, type = 'error') {\n            const messageDiv = $('#form-message');\n            messageDiv.removeClass('dante-success dante-error').addClass('dante-' + type);\n            messageDiv.text(message).show();\n            setTimeout(() => messageDiv.hide(), 5000);\n        }\n        \n        $('.dante-auth-form').on('submit', function(e) {\n            e.preventDefault();\n            \n            const email = $('#email').val();\n            const password = $('#password').val();\n            const name = $('#name').val();\n            const gdpr = $('#gdpr').is(':checked');\n            const redirect = $('input[name=\"redirect\"]').val();\n            \n            if (!email || !password) {\n                showMessage(texts.emailPasswordRequired);\n                return;\n            }\n            \n            if (mode === 'register') {\n                if (!name) {\n                    showMessage(texts.nameRequired);\n                    return;\n                }\n                if (!gdpr) {\n                    showMessage(texts.acceptTerms);\n                    return;\n                }\n            }\n            \n            $('#submit-btn').prop('disabled', true).text(texts.processing);\n            $('#form-message').hide();\n            \n            $.post('https:\/\/dante-learning.com\/eng\/wp-admin\/admin-ajax.php', {\n                action: 'dante_process_auth',\n                mode: mode,\n                email: email,\n                password: password,\n                name: name,\n                redirect: redirect,\n                website: $('#website').val(),\n                nonce: $('input[name=\"nonce\"]').val()\n            }, function(r) {\n                if (r.success) {\n                    showMessage(texts.success, 'success');\n                    setTimeout(() => window.location.href = r.data.redirect, 1000);\n                } else {\n                    showMessage(r.data);\n                    $('#submit-btn').prop('disabled', false).text(mode === 'login' ? texts.signIn : texts.createAccount);\n                }\n            });\n        });\n    });\n    <\/script>\n    <\/p>\n\n\n<p>\n\n\n\n\n<\/div>\n\n\n<p class=\"has-text-align-center\"><\/p>\n\n\n<div class=\"gb-container gb-container-3203d37f\">\n\n<p class=\"has-text-align-center\"><\/p>\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/dante-learning.com\/eng\/wp-content\/uploads\/2025\/02\/cards.webp\" alt=\"\" class=\"wp-image-51865\" style=\"width:154px;height:auto\" srcset=\"https:\/\/dante-learning.com\/eng\/wp-content\/uploads\/2025\/02\/cards.webp 300w, https:\/\/dante-learning.com\/eng\/wp-content\/uploads\/2025\/02\/cards-150x150.webp 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">\ud83d\udd12<\/h2>\n\n\n\n<p class=\"has-text-align-center\">Payments are securely processed by Stripe<br>We do not store any card information on our servers<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd12 Payments are securely processed by StripeWe do not store any card information on our servers<\/p>\n","protected":false},"author":10020,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"pmpro_default_level":"","footnotes":""},"categories":[],"tags":[],"class_list":{"0":"post-57502","1":"page","2":"type-page","3":"status-publish","5":"no-featured-image-padding","6":"pmpro-has-access"},"_links":{"self":[{"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/pages\/57502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/users\/10020"}],"replies":[{"embeddable":true,"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/comments?post=57502"}],"version-history":[{"count":3,"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/pages\/57502\/revisions"}],"predecessor-version":[{"id":58953,"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/pages\/57502\/revisions\/58953"}],"wp:attachment":[{"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/media?parent=57502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/categories?post=57502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dante-learning.com\/eng\/wp-json\/wp\/v2\/tags?post=57502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}