{"id":41934,"date":"2020-06-09T23:24:15","date_gmt":"2020-06-09T23:24:15","guid":{"rendered":"https:\/\/www.planetandes.com\/es\/purchases\/"},"modified":"2020-06-09T23:24:15","modified_gmt":"2020-06-09T23:24:15","slug":"purchases","status":"publish","type":"page","link":"https:\/\/www.planetandes.com\/es\/purchases\/","title":{"rendered":"Purchases"},"content":{"rendered":"<div class=\"w3eden\">\n<div class=\"w3eden wpdm-auth-page\" id=\"wpdmloginpage\">\n    <div class=\"wpdm-auth-split\" id=\"wpdmlogin\">\n        <div class=\"wpdm-auth-panel\">\n            <!-- Left Panel - Decorative -->\n            <div class=\"wpdm-auth-left\">\n                <div class=\"wpdm-auth-grid\"><\/div>\n                <div class=\"wpdm-auth-circles\">\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                <\/div>\n\n                <div class=\"wpdm-auth-brand\">\n                    <a href=\"https:\/\/www.planetandes.com\/es\">\n                                            <img decoding=\"async\" src=\"https:\/\/www.planetandes.com\/es\/wp-content\/uploads\/sites\/2\/pa-favicon.png\" alt=\"PlanetAndes\" \/>\n                                        <span>PlanetAndes<\/span>\n                    <\/a>\n                <\/div>\n\n                <div class=\"wpdm-auth-welcome\">\n                    <div class=\"wpdm-auth-welcome-sub\">Nice to see you again<\/div>\n                    <div class=\"wpdm-auth-welcome-title\">WELCOME BACK<\/div>\n                    <div class=\"wpdm-auth-welcome-line\"><\/div>\n                    <div class=\"wpdm-auth-welcome-text\">\n                        Sign in to access your account, manage your downloads, and explore all the features available to you.                    <\/div>\n                <\/div>\n            <\/div>\n\n            <!-- Right Panel - Form -->\n            <div class=\"wpdm-auth-right\">\n\n\n                <div class=\"wpdm-auth-form-header\">\n                    <h1 class=\"wpdm-auth-form-title\">Login Account<\/h1>\n                    <p class=\"wpdm-auth-form-desc\">Enter your credentials to access your account and continue where you left off.<\/p>\n                <\/div>\n                                <form name=\"loginform\" id=\"loginform\" action=\"\" method=\"post\">\n                    <input type=\"hidden\" name=\"permalink\" value=\"https:\/\/www.planetandes.com\/es\/purchases\/\" \/>\n\n                    <!-- Alerts -->\n                    <div id=\"__signin_msg\">\n                                            <\/div>\n\n                    \n                    <!-- Email -->\n                    <div class=\"wpdm-auth-field\">\n                        <div class=\"wpdm-auth-input-wrap\">\n                            <input type=\"text\" name=\"wpdm_login[log]\" id=\"user_login\" class=\"wpdm-auth-input\" required placeholder=\"Email ID\" autocomplete=\"username\" \/>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Password -->\n                    <div class=\"wpdm-auth-field\">\n                        <div class=\"wpdm-auth-input-wrap\">\n                            <input type=\"password\" name=\"wpdm_login[pwd]\" id=\"password\" class=\"wpdm-auth-input has-toggle\" required placeholder=\"Contrase\u00f1a\" autocomplete=\"current-password\" \/>\n                            <button type=\"button\" class=\"wpdm-auth-pwd-toggle\" onclick=\"wpdmTogglePwd()\" aria-label=\"Toggle password visibility\">\n                                <svg id=\"wpdm-eye\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"\/><circle cx=\"12\" cy=\"12\" r=\"3\"\/><\/svg>\n                                <svg id=\"wpdm-eye-off\" style=\"display:none\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"\/><line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\"\/><\/svg>\n                            <\/button>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Hidden hash -->\n                                        <input type=\"hidden\" name=\"__phash\" id=\"__phash\" value=\"OLxeKlu1U1iXyZWGPnJ2pih3aJTd5Y0OFWqfbF1i8tm5NFB_WhB6RcdIr17XEIzNl3En5hPE-DJN2XjCA_hq9H0jikICZ1-z6E9rlzEvQHjMX6YczWrZNOhD4m9poXBJfTBfIq2AwGpvGgEP3Vbo-lc9fN2sUcIQTqVuwlWWd2keZPJKsFuZfZBuI52vUVngm\" \/>\n\n                    \n                                        \n                    <!-- Remember & Forgot -->\n                    <div class=\"wpdm-auth-meta\">\n                        <label class=\"wpdm-auth-remember\">\n                            <input type=\"checkbox\" name=\"rememberme\" id=\"rememberme\" value=\"forever\" \/>\n                            <span class=\"wpdm-auth-check\">\n                                <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\"><polyline points=\"20 6 9 17 4 12\"\/><\/svg>\n                            <\/span>\n                            <span>Keep me signed in<\/span>\n                        <\/label>\n                        <a href=\"https:\/\/www.planetandes.com\/es\/ingresar\/?action=lostpassword\" class=\"wpdm-auth-forgot\">Forgot password?<\/a>\n                    <\/div>\n\n                    <!-- Submit -->\n                    <button type=\"submit\" name=\"wp-submit\" id=\"loginform-submit\" class=\"wpdm-auth-btn\">\n                        <span>Sign In<\/span>\n                    <\/button>\n\n                    <!-- Register Link -->\n                                            <div class=\"wpdm-auth-link\">\n                            Don't have an account?                            <a href=\"https:\/\/www.planetandes.com\/es\/registro\/\">Reg\u00edstrate<\/a>\n                        <\/div>\n                    \n                    <input type=\"hidden\" name=\"redirect_to\" value=\"\/es\/wp-json\/wp\/v2\/pages\/41934\" \/>\n                <\/form>\n\n                <!-- Social Login -->\n                \n                            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\nfunction wpdmTogglePwd() {\n    var pwd = document.getElementById('password');\n    var eye = document.getElementById('wpdm-eye');\n    var eyeOff = document.getElementById('wpdm-eye-off');\n    if (pwd.type === 'password') {\n        pwd.type = 'text';\n        eye.style.display = 'none';\n        eyeOff.style.display = 'block';\n    } else {\n        pwd.type = 'password';\n        eye.style.display = 'block';\n        eyeOff.style.display = 'none';\n    }\n}\n\njQuery(function ($) {\n        var $btn = $('#loginform-submit');\n    var btnHtml = $btn.html();\n\n    $('#loginform').submit(function () {\n        $btn.html('<span class=\"wpdm-auth-spinner\"><\/span><span>Signing in...<\/span>').attr('disabled', 'disabled');\n\n        $(this).ajaxSubmit({\n            error: function(error) {\n                if(typeof error.responseJSON !== 'undefined') {\n                    showErr(error.responseJSON.messages || error.responseJSON.message);\n                    $btn.html(btnHtml).removeAttr('disabled');\n                                    } else {\n                    setTimeout(function () {\n                        location.href = \"\/es\/wp-json\/wp\/v2\/pages\/41934\";\n                    }, 1000);\n                }\n            },\n            success: async function (res) {\n                if (!res.success) {\n                    showErr(res.message);\n                    $btn.html(btnHtml).removeAttr('disabled');\n                                    } else {\n                    let proceed = await WPDM.doAction(\"wpdm_user_login\", res);\n                    $btn.html('<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"\/><polyline points=\"22 4 12 14.01 9 11.01\"\/><\/svg><span>' + res.message + '<\/span>');\n                    setTimeout(function () {\n                        location.href = \"\/es\/wp-json\/wp\/v2\/pages\/41934\";\n                    }, 1000);\n                }\n            }\n        });\n        return false;\n    });\n    \n    \/*function showErr(msg) {\n        $('#loginform .wpdm-auth-alert.error').remove();\n        var html = '<div class=\"wpdm-auth-alert error\">' +\n            '<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"15\" y1=\"9\" x2=\"9\" y2=\"15\"\/><line x1=\"9\" y1=\"9\" x2=\"15\" y2=\"15\"\/><\/svg>' +\n            '<span>' + msg + '<\/span><\/div>';\n        $('#loginform').prepend(html);\n    }\n\n    $('body').on('click', '.wpdm-auth-alert.error', function(){\n        $(this).slideUp(150, function() { $(this).remove(); });\n    });*\/\n\n\/\/kavila to update error messages and redirection\n    function showErr(msg) {\n        $('#loginform .wpdm-auth-alert.error').remove();\n        \n        var isSpanish = window.location.pathname.indexOf('\/es\/') !== -1;\n\n        if (isSpanish) {\n            \/\/ 1. Target URL for Site 2 (Spanish)\n            var lostPasswordUrl = '\/es\/ingresar\/?action=lostpassword';\n            \n            \/\/ 2. Extract email address from original error message if present\n            var emailMatch = msg.match(\/email address <strong>(.*?)<\\\/strong>\/i) || msg.match(\/<strong>(.*?)<\\\/strong>\/i);\n            var userEmail = emailMatch ? emailMatch[1] : '';\n\n            \/\/ 3. Spanish translation matching your .po file conventions\n            if (userEmail) {\n                msg = 'La contrase\u00f1a que ingresaste para el correo electr\u00f3nico <strong>' + userEmail + '<\/strong> es incorrecta. <a href=\"' + lostPasswordUrl + '\">\u00bfOlvidaste tu contrase\u00f1a?<\/a>';\n            } else {\n                msg = msg.replace(\/wp-login\\.php\\?action=lostpassword\/g, lostPasswordUrl);\n            }\n        } else {\n            \/\/ Site 1 (English) - Preserve original text and route to \/login\/\n            var lostPasswordUrl = '\/login\/?action=lostpassword';\n            msg = msg.replace(\/wp-login\\.php\\?action=lostpassword\/g, lostPasswordUrl);\n        }\n\n        var html = '<div class=\"wpdm-auth-alert error\">' +\n            '<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"15\" y1=\"9\" x2=\"9\" y2=\"15\"\/><line x1=\"9\" y1=\"9\" x2=\"15\" y2=\"15\"\/><\/svg>' +\n            '<span>' + msg + '<\/span><\/div>';\n            \n        $('#loginform').prepend(html);\n    }   \n});\n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"generate_page_header":"","footnotes":""},"class_list":["post-41934","page","type-page","status-publish"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Purchases - PlanetAndes<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.planetandes.com\/es\/purchases\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Purchases - PlanetAndes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.planetandes.com\/es\/purchases\/\" \/>\n<meta property=\"og:site_name\" content=\"PlanetAndes\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/planetandes\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@planetandes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/purchases\\\/\",\"url\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/purchases\\\/\",\"name\":\"Purchases - PlanetAndes\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/#website\"},\"datePublished\":\"2020-06-09T23:24:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/purchases\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.planetandes.com\\\/es\\\/purchases\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/purchases\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PlanetAndes\",\"item\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Purchases\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/#website\",\"url\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/\",\"name\":\"PlanetAndes\",\"description\":\"\u00a1Disfruta la vida y viaja!\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/#organization\",\"name\":\"PlanetAndes\",\"url\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/pa_h.png\",\"contentUrl\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/pa_h.png\",\"width\":200,\"height\":50,\"caption\":\"PlanetAndes\"},\"image\":{\"@id\":\"https:\\\/\\\/www.planetandes.com\\\/es\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/planetandes\\\/\",\"https:\\\/\\\/x.com\\\/planetandes\",\"https:\\\/\\\/www.instagram.com\\\/planetandes\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/planetandes\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Purchases - PlanetAndes","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.planetandes.com\/es\/purchases\/","og_locale":"es_ES","og_type":"article","og_title":"Purchases - PlanetAndes","og_url":"https:\/\/www.planetandes.com\/es\/purchases\/","og_site_name":"PlanetAndes","article_publisher":"https:\/\/www.facebook.com\/planetandes\/","twitter_card":"summary_large_image","twitter_site":"@planetandes","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.planetandes.com\/es\/purchases\/","url":"https:\/\/www.planetandes.com\/es\/purchases\/","name":"Purchases - PlanetAndes","isPartOf":{"@id":"https:\/\/www.planetandes.com\/es\/#website"},"datePublished":"2020-06-09T23:24:15+00:00","breadcrumb":{"@id":"https:\/\/www.planetandes.com\/es\/purchases\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.planetandes.com\/es\/purchases\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.planetandes.com\/es\/purchases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"PlanetAndes","item":"https:\/\/www.planetandes.com\/es\/"},{"@type":"ListItem","position":2,"name":"Purchases"}]},{"@type":"WebSite","@id":"https:\/\/www.planetandes.com\/es\/#website","url":"https:\/\/www.planetandes.com\/es\/","name":"PlanetAndes","description":"\u00a1Disfruta la vida y viaja!","publisher":{"@id":"https:\/\/www.planetandes.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.planetandes.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.planetandes.com\/es\/#organization","name":"PlanetAndes","url":"https:\/\/www.planetandes.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.planetandes.com\/es\/#\/schema\/logo\/image\/","url":"https:\/\/www.planetandes.com\/es\/wp-content\/uploads\/sites\/2\/pa_h.png","contentUrl":"https:\/\/www.planetandes.com\/es\/wp-content\/uploads\/sites\/2\/pa_h.png","width":200,"height":50,"caption":"PlanetAndes"},"image":{"@id":"https:\/\/www.planetandes.com\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/planetandes\/","https:\/\/x.com\/planetandes","https:\/\/www.instagram.com\/planetandes\/","https:\/\/www.pinterest.com\/planetandes\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.planetandes.com\/es\/wp-json\/wp\/v2\/pages\/41934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.planetandes.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.planetandes.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.planetandes.com\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.planetandes.com\/es\/wp-json\/wp\/v2\/comments?post=41934"}],"version-history":[{"count":0,"href":"https:\/\/www.planetandes.com\/es\/wp-json\/wp\/v2\/pages\/41934\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.planetandes.com\/es\/wp-json\/wp\/v2\/media?parent=41934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}