Clip Total 3
:root { --ct3-orange: #ff6a00; --ct3-orange-dark: #e65c00; --ct3-black: #111; --ct3-text: #1f2937; --ct3-muted: #6b7280; --ct3-border: #e5e7eb; --ct3-soft: #f7f8fa; --ct3-radius: 2 2px; --ct3-shadow: 0 18px 55px rgba(0,0,0,.08); } .clip-total3-section, .clip-total3-section * { box-sizing: border-box; } .clip-total3-section { max-width: 1280px; margin: 0 auto; padding: 20px 16px 48px; font-family: inherit; color: var(--ct3-text); } .ct3-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 32px; align-items: center; background: linear-gradient(135deg, #fff 0%, #fff7f0 100%); border: 1px solid var(--ct3-border); border-radius: 28px; box-shadow: var(--ct3-shadow); padding: 26px; margin-bottom: 26px; overflow: hidden; } .ct3-hero img { width: 100%; display: block; border-radius: 22px; } .ct3-badge { display: inline-block; background: rgba(255,106,0,.12); color: #bd4b00; border: 1px solid rgba(255,106,0,.25); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; margin-bottom: 14px; } .ct3-hero h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.04; margin: 0 0 14px; color: var(--ct3-black); } .ct3-hero p { font-size: 17px; line-height: 1.65; color: var(--ct3-muted); margin: 0 0 20px; } .ct3-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ct3-orange); color: #fff !important; text-decoration: none; border-radius: 14px; padding: 14px 20px; font-weight: 800; box-shadow: 0 10px 25px rgba(255,106,0,.25); transition: all .2s ease; } .ct3-btn:hover { background: var(--ct3-orange-dark); transform: translateY(-1px); } .ct3-btn-full { width: 100%; } .ct3-tabs-nav { display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: var(--ct3-soft); border: 1px solid var(--ct3-border); border-radius: 999px; margin-bottom: 24px; } .ct3-tab { border: 0; background: transparent; color: var(--ct3-black); padding: 12px 18px; border-radius: 999px; font-weight: 800; cursor: pointer; white-space: nowrap; } .ct3-tab.is-active { background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.08); } .ct3-panel { display: none; } .ct3-panel.is-active { display: block; } .ct3-section-head { margin-bottom: 20px; } .ct3-section-head h2 { font-size: clamp(26px, 3vw, 40px); margin: 0 0 8px; line-height: 1.1; } .ct3-section-head p { margin: 0; color: var(--ct3-muted); line-height: 1.6; } .ct3-benefits-grid, .ct3-ideal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .ct3-card, .ct3-ideal-card { background: #fff; border: 1px solid var(--ct3-border); border-radius: var(--ct3-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.05); } .ct3-card img, .ct3-ideal-card img { width: 100%; display: block; height: auto; } .ct3-card-body, .ct3-ideal-card div { padding: 22px; } .ct3-card-body h3, .ct3-ideal-card h3 { margin: 0 0 10px; font-size: 22px; } .ct3-card-body p, .ct3-ideal-card p { margin: 0; color: var(--ct3-muted); line-height: 1.65; } .ct3-table-wrap { overflow-x: auto; border: 1px solid var(--ct3-border); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.05); } .ct3-compare-table { width: 100%; min-width: 850px; border-collapse: collapse; font-size: 15px; } .ct3-compare-table th, .ct3-compare-table td { padding: 16px 14px; border-bottom: 1px solid var(--ct3-border); text-align: center; vertical-align: middle; } .ct3-compare-table th { background: #111; color: #fff; font-weight: 800; } .ct3-compare-table td:first-child, .ct3-compare-table th:first-child { text-align: left; font-weight: 800; } .ct3-highlight { background: #fff4ec; font-weight: 800; color: #111; } .ct3-price { color: var(--ct3-orange); font-size: 18px; font-weight: 900; } .ct3-commission-shell { background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%); border: 1px solid var(--ct3-border); border-radius: 28px; padding: 28px 18px 24px; box-shadow: 0 12px 40px rgba(0,0,0,.05); } .calc-container { max-width: 360px; margin: auto; text-align: center; font-family: 'Inter', sans-serif; position: relative; overflow: visible; } #estado { font-size: 13px; color: #C0392B; margin-bottom: 8px; min-height: 20px; } .top-controls-wrapper { display: flex; flex-direction: column; align-items: stretch; margin-top: 82px; margin-bottom: -20px; position: relative; z-index: 1; padding: 0 20px; } .select-label { font-size: 11px; font-weight: 800; color: #FF6A00; text-align: left; margin-bottom: 5px; padding-left: 4px; } .calc-select { width: 100%; padding: 12px 38px 12px 12px; border: 2px solid #FF6A00; border-radius: 14px; font-size: 14px; font-weight: 700; color: #333; background-color: #fff; box-shadow: 0 4px 12px rgba(255,106,0,0.16); outline: none; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #FF6A00 50%), linear-gradient(135deg, #FF6A00 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%; background-size: 7px 7px, 7px 7px; background-repeat: no-repeat; } .calc-select:focus { border-color: #E65C00; box-shadow: 0 0 0 3px rgba(255,106,0,0.18); } .calc-wrapper { position: relative; width: 100%; z-index: 0; overflow: visible; } .calc-img { width: 100%; display: block; position: relative; } .calc-screen { position: absolute; top: 25%; left: 50%; transform: translateX(-50%); width: 76%; min-height: 165px; background: #F2F2F2; border: 2px solid #CCCCCC; border-radius: 18px; padding: 6px; color: #222; font-size: 13px; text-align: left; overflow-y: auto; line-height: 1.25; z-index: 1; } .calc-screen.split { display: flex; flex-direction: column; justify-content: flex-start; padding: 5px; } .calc-big-text { font-size: 39px; font-weight: bold; text-align: center; width: 100%; color: #555; font-family: 'Courier New', monospace; margin-top: 25px; } .btn-grid { position: absolute; top: 57%; left: 50%; transform: translateX(-50%); width: 78%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; z-index: 2; overflow: visible; } .calc-btn, .mode-main-btn { height: 45px; background: linear-gradient(to bottom, #ffffff, #f2f2f2); border: 1px solid #cccccc; border-radius: 30px; color: #4a4a4a; font-size: 16px; font-weight: 500; cursor: pointer; box-shadow: 0 4px 0 #d1d1d1, 0 6px 5px rgba(0,0,0,0.15), inset 0 2px 2px rgba(255,255,255,0.9); transition: all 0.08s ease; padding: 0; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; justify-content: center; } .calc-btn:active, .mode-main-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #d1d1d1, 0 2px 2px rgba(0,0,0,0.1), inset 0 3px 5px rgba(0,0,0,0.15); background: #ebebeb; } .mode-cell { height: 45px; position: relative; overflow: visible; } .mode-main-btn { width: 100%; font-size: 11px; font-weight: 800; text-align: center; line-height: 1.05; } .terminal-mode-logo, .miclip-mode-logo { width: 64px; max-width: 96%; max-height: 32px; display: block; object-fit: contain; } .ttp-mode-btn { flex-direction: column; gap: 1px; color: #FF6A00; border-color: #FF6A00; font-size: 8.8px; line-height: 1; } .ttp-mode-logo { width: 16px; height: 16px; object-fit: contain; display: block; margin-bottom: 1px; } .mode-help-outside { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; min-width: 22px; border-radius: 50%; border: 2px solid #ffffff; background: #FF6A00; color: #fff; font-size: 13px; font-weight: 900; line-height: 18px; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.22); z-index: 10; -webkit-tap-highlight-color: transparent; } .selected-mode .mode-main-btn { background: linear-gradient(to bottom, #ff6a00, #e65c00) !important; color: white !important; border: 1px solid #cc5200 !important; box-shadow: 0 4px 0 #b34700, 0 6px 5px rgba(0,0,0,0.15), inset 0 2px 2px rgba(255,255,255,0.3) !important; } .selected-mode .ttp-mode-logo, .selected-mode .miclip-mode-logo { filter: brightness(0) invert(1) !important; } .selected-mode .terminal-mode-logo { filter: none !important; } .preferential-rate-wrapper { display: flex; flex-direction: column; align-items: stretch; margin-top: 18px; margin-bottom: 18px; padding: 0 20px; text-align: left; } .manual-rate-wrapper { margin-top: 10px; background: #FFF5F0; border: 1px solid rgba(255,106,0,0.35); border-radius: 14px; padding: 10px 12px; } .manual-rate-label { display: block; font-size: 11px; font-weight: 800; color: #FF6A00; margin-bottom: 6px; } .manual-rate-field { display: flex; align-items: center; border: 2px solid #FF6A00; border-radius: 12px; background: #fff; overflow: hidden; } .manual-rate-input { width: 100%; border: none; outline: none; padding: 11px 10px; font-size: 15px; font-weight: 800; color: #333; background: transparent; } .manual-rate-symbol { padding: 0 12px; font-size: 15px; font-weight: 900; color: #FF6A00; } .manual-rate-note { margin-top: 6px; font-size: 10.5px; color: #666; line-height: 1.3; } .split-header { text-align: center; font-weight: bold; font-size: 11px; color: #444; padding-bottom: 3px; border-bottom: 1px solid #ccc; margin-bottom: 4px; } .split-body { display: flex; flex-direction: row; justify-content: space-between; align-items: stretch; flex-grow: 1; } .split-pane { width: 50%; padding: 0 3px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; } .split-pane:first-child { border-right: 1px solid #CCCCCC; } .pane-title { font-weight: 500; font-size: 9.5px; text-align: center; margin-bottom: 3px; color: #444; line-height: 1.2; } .monto-destacado { font-size: 12px; font-weight: 800; color: #111; } .resultado-principal { font-size: 20px; letter-spacing: -0.3px; font-weight: 800; text-align: center; margin: 3px 0; color: #222; white-space: nowrap; } .desglose { font-size: 8.5px; line-height: 1.15; margin-top: 2px; } .desglose-line { font-size: 8.5px; display: flex; justify-content: space-between; margin-bottom: 2px; gap: 3px; } .msi-warning-screen { color: #D32F2F; font-weight: 800; text-align: center; font-size: 9.2px; background: #FFEBEE; border: 1px solid #FFCDD2; border-radius: 6px; padding: 4px; margin-top: 4px; line-height: 1.15; } .icon-row { margin-top: 25px; display: flex; justify-content: center; gap: 20px; align-items: center; flex-wrap: wrap; } .action-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #fff; border: 2px solid #FF6A00; border-radius: 16px; padding: 12px 10px; width: 125px; height: 115px; box-sizing: border-box; box-shadow: 0 4px 10px rgba(0,0,0,0.08); cursor: pointer; } .install-app-icon, .share-icon { width: 45px; height: 45px; border-radius: 10px; margin-bottom: 8px; } .icon-text { font-size: 11px; font-weight: 600; color: #333; line-height: 1.2; text-align: center; } @keyframes vibrar-calculadora { 0% { transform: translateX(0); } 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } 100% { transform: translateX(0); } } .vibrando-calc { animation: vibrar-calculadora .22s linear 1; } .popup-bg, .info-modal-fondo { position: fixed; inset: 0; width: 100%; height: 100%; display: none; justify-content: center; align-items: center; box-sizing: border-box; } .popup-bg { background: rgba(0,0,0,.45); z-index: 99999; padding: 16px; } .popup-box { background: white; width: 85%; max-width: 420px; padding: 22px; border-radius: 14px; text-align: left; box-shadow: 0 4px 20px rgba(0,0,0,.2); max-height: 86vh; overflow-y: auto; } .popup-title { font-size: 17px; font-weight: bold; margin-bottom: 10px; color: #FF6A00; } .popup-sub { font-size: 13px; color: #444; margin-bottom: 10px; } .popup-btn, .info-modal-btn { background: #FF6A00; color: white; border-radius: 12px; border: none; cursor: pointer; width: 100%; font-weight: 800; } .popup-btn { padding: 10px 18px; font-size: 14px; margin-top: 10px; } .info-modal-fondo { background: rgba(0,0,0,.62); z-index: 10000000; padding: 18px; } .info-modal-caja { position: relative; background: #fff; width: 100%; max-width: 430px; max-height: 86vh; overflow-y: auto; border-radius: 18px; padding: 24px 22px 20px; text-align: left; box-shadow: 0 12px 32px rgba(0,0,0,.32); font-family: 'Inter', sans-serif; box-sizing: border-box; } .info-modal-titulo { color: #FF6A00; font-size: 22px; font-weight: 800; line-height: 1.15; padding-right: 30px; margin-bottom: 12px; } .info-modal-texto { color: #3f3f3f; font-size: 14px; line-height: 1.5; } .info-modal-texto p { margin: 0 0 11px; } .info-modal-texto ol { margin: 8px 0 12px 22px; padding: 0; } .info-modal-texto .nota-modal { background: #FFF5F0; border-left: 4px solid #FF6A00; padding: 10px 12px; border-radius: 10px; margin-top: 12px; font-size: 13px; } .info-modal-btn { padding: 13px 18px; font-size: 15px; margin-top: 14px; } .info-modal-cerrar { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: none; border-radius: 50%; background: #F2F2F2; color: #555; font-size: 24px; line-height: 34px; cursor: pointer; font-weight: 700; padding: 0; } .info-modal-link-btn { background: linear-gradient(45deg, #FF6A00, #FF3D00, #FF6A00); background-size: 200% 200%; color: #fff !important; text-align: center; padding: 13px 18px; border-radius: 30px; border: none; font-size: 16px; font-weight: 800; width: 100%; margin: 14px auto 0; text-decoration: none; display: block; box-shadow: 0 4px 15px rgba(255,106,0,.35); box-sizing: border-box; } @media (max-width: 1080px) { .ct3-hero { grid-template-columns: 1fr; } } @media (max-width: 749px) { .clip-total3-section { padding: 14px 14px 34px; } .ct3-hero { padding: 16px; border-radius: 22px; gap: 18px; } .ct3-tabs-nav { display: flex; width: 100%; overflow-x: auto; flex-wrap: nowrap; } .ct3-tab { flex: 1 0 auto; padding: 12px 10px; font-size: 14px; } .ct3-benefits-grid, .ct3-ideal-grid { grid-template-columns: 1fr; } .ct3-commission-shell { padding: 18px 8px; border-radius: 20px; } .calc-container { max-width: 360px; } } @media (max-width: 380px) { .btn-grid { gap: 12px; } .mode-main-btn { font-size: 10px; } .ttp-mode-btn { font-size: 8.2px; } .ttp-mode-logo { width: 15px; height: 15px; } .terminal-mode-logo, .miclip-mode-logo { width: 60px; max-height: 31px; } .mode-help-outside { right: -25px; width: 20px; height: 20px; min-width: 20px; font-size: 12px; } .top-controls-wrapper { margin-top: 78px; padding: 0 18px; } .calc-select { font-size: 13px; padding: 11px 36px 11px 11px; } .preferential-rate-wrapper { padding: 0 18px; margin-top: 16px; } .manual-rate-input { font-size: 14px; padding: 10px; } .info-modal-caja { padding: 22px 18px 18px; border-radius: 16px; } .info-modal-titulo { font-size: 20px; } .info-modal-texto { font-size: 13.5px; } } Clip Total 3 Todo lo que necesitas, en tu mano Experiencia profesional de cobro, máxima eficiencia, control de inventarios y todas las soluciones de pago de Clip en una sola TPV. Comprar con cupón NUEVO10 Beneficios Ideal para Comparar Comisión Beneficios Principales Una terminal inteligente para vender más rápido, cobrar con mejor experiencia y administrar mejor tu negocio. Clip Total 3 Todo lo necesario para una experiencia profesional de cobro en una sola terminal. Nueva pantalla doble Brinda transparencia al cliente con el detalle de compra y proyecta mayor profesionalismo. Gestiona tu negocio con IA Control inteligente de tu catálogo con funcionalidades de inteligencia artificial. Impresora térmica Impresión rápida sin tinta para entregar tickets al instante. Modelos de Negocio Diseñada para negocios que necesitan cobros rápidos, movilidad y una experiencia más profesional. Restaurantes Eleva la imagen de tu servicio llevando la cuenta a la mesa con esta terminal inteligente de diseño estético. Retail y tiendas Sincroniza productos con fotos en alta definición desde tu terminal con inventario de alta velocidad. Eventos y bazares Punto de venta móvil con internet ilimitado y batería para cobrar en cualquier lugar. Servicios profesionales Entrega tickets impresos al instante con la nueva impresora de alta velocidad, ideal para brindar comprobantes. Compara las terminales Descubre qué equipo se adapta mejor a tus requerimientos operativos diarios. Característica Clip Ultra Clip Total 3 Clip Plus 2 Precio de oferta $-- $-- $-- Conexión Wi-FiTarjeta SIM con internet ilimitado GRATIS Wi-FiTarjeta SIM con internet ilimitado GRATIS Bluetooth® 4.2BLE 4.2 + BR-EDR 3.0 Catálogo Digital y Link de Pago Solo a través de la App En dispositivo y App Solo a través de la App Batería 12 horas(2500 mAh) 6080 mAh 350 mAh Impresión de comandas y recibos Impresora integrada Impresora integrada Úsalo con Clip Printer Cámara trasera Sí Sí No Compatibilidad Dispositivo autónomoNo necesita conectarse a celular o tableta Dispositivo autónomoNo necesita conectarse a celular o tableta Android 4.4 o superioriOS 9.3.5 o superior Dimensiones 176.4 x 77.5 x 69 mm 79 x 186 x 51 mm 63 x 94 x 155 mm Peso 425 g 218 g 84 g Comisión Calcula cuánto recibirías o cuánto debes cobrar según el método de pago y el plazo. Plazo de cobro En una sola exhibición 3 meses sin intereses 6 meses sin intereses 9 meses sin intereses 12 meses sin intereses 18 meses sin intereses 24 meses sin intereses BIENVENIDO 1 2 3 ⌫ 4 5 6 Tap ToPay ? 7 8 9 ? X 0 . ? En caso de tener una tasa preferencial, elige la que tienes habilitada Comisión Habitual 3.6% más IVA 3.4% más IVA 3.2% más IVA 3% más IVA 2.99% + $1 más IVA Escribir porcentaje manualmente Escribe tu comisión sin IVA % Máximo permitido: 3.6%. El IVA se calcula automáticamente. Instalar calculadora Compartir Entendido × Entendido (function() { const CART_URL = "https://distribuidorclip.com/cart/44042796007475:1?discount=NUEVO10"; const PRODUCTS = { total3: { handle: "clip-total-3", saleEl: "price-total3-sale", regularEl: "price-total3-regular", fallbackPrice: 79900, fallbackCompareAt: 449900 }, plus2: { handle: "clip-plus-2", saleEl: "price-plus2-sale", regularEl: "price-plus2-regular", fallbackPrice: 11900, fallbackCompareAt: 49900 }, ultra: { handle: "nuevo-clip-ultra", saleEl: "price-ultra-sale", regularEl: "price-ultra-regular", fallbackPrice: 59900, fallbackCompareAt: 329900 } }; const tabButtons = document.querySelectorAll(".ct3-tab"); const panels = { beneficios: document.getElementById("ct3-tab-beneficios"), ideal: document.getElementById("ct3-tab-ideal"), comparar: document.getElementById("ct3-tab-comparar"), comision: document.getElementById("ct3-tab-comision") }; tabButtons.forEach(function(button) { button.addEventListener("click", function() { const target = button.dataset.tab; tabButtons.forEach(function(btn) { btn.classList.remove("is-active"); }); Object.values(panels).forEach(function(panel) { if (panel) panel.classList.remove("is-active"); }); button.classList.add("is-active"); if (panels[target]) { panels[target].classList.add("is-active"); } }); }); function formatMoneyMXN(cents) { return new Intl.NumberFormat("es-MX", { style: "currency", currency: "MXN", maximumFractionDigits: 0 }).format(cents / 100); } function getProductPrice(product) { const variant = product && product.variants && product.variants[0] ? product.variants[0] : null; const price = product.price || (variant && variant.price) || 0; const compareAt = product.compare_at_price || (variant && variant.compare_at_price) || 0; return { price: Number(price) || 0, compareAt: Number(compareAt) || 0 }; } function updateComparePrice(config, priceCents, compareAtCents) { const saleEl = document.getElementById(config.saleEl); const regularEl = document.getElementById(config.regularEl); if (saleEl) { saleEl.textContent = formatMoneyMXN(priceCents); } if (regularEl) { if (compareAtCents && compareAtCents > priceCents) { regularEl.textContent = formatMoneyMXN(compareAtCents); regularEl.style.display = "inline"; } else if (config.fallbackCompareAt && config.fallbackCompareAt > priceCents) { regularEl.textContent = formatMoneyMXN(config.fallbackCompareAt); regularEl.style.display = "inline"; } else { regularEl.textContent = ""; regularEl.style.display = "none"; } } } async function fetchOneProduct(key, config) { try { const response = await fetch("/products/" + config.handle + ".js", { method: "GET", headers: { "Accept": "application/json" } }); if (!response.ok) { throw new Error("No se pudo consultar " + config.handle); } const product = await response.json(); const prices = getProductPrice(product); const finalPrice = prices.price || config.fallbackPrice; const finalCompareAt = prices.compareAt || config.fallbackCompareAt; updateComparePrice(config, finalPrice, finalCompareAt); } catch (error) { updateComparePrice(config, config.fallbackPrice, config.fallbackCompareAt); } } function updateAllProductPrices() { Object.keys(PRODUCTS).forEach(function(key) { fetchOneProduct(key, PRODUCTS[key]); }); } document.querySelectorAll(".ct3-buy-link").forEach(function(link) { link.href = CART_URL; }); updateAllProductPrices(); })(); const CONFIG_CLIP = { tasaBase: 0.036, tasaTTP: 0.0299, tasaMiClip: 0.0199, fijoTTP: 1.00, fijoTerminalPreferencial: 1.00, iva: 1.16 }; const LINK_TTP = "https://clip.onelink.me/jXom/ttp-reseller?af_click_lookback=0h&deep_link_sub1=850f8ebc&deep_link_value=context-attribution"; const LINK_MICLIP = "https://miclip.onelink.me"; const LINK_CALCULADORA = "https://distribuidorclip.com/pages/calculadora"; const formatearMoneda = function(numero) { return new Intl.NumberFormat("es-MX", { style: "currency", currency: "MXN" }).format(numero); }; function validarTasaManual() { const input = document.getElementById("tasaManual"); if (!input) return; let valor = parseFloat(input.value); if (!isNaN(valor) && valor > 3.6) { input.value = "3.6"; } autoCalc(); } function actualizarTasaPreferencial() { const select = document.getElementById("tasaTerminal"); const manualWrapper = document.getElementById("tasaManualWrapper"); if (!select || !manualWrapper) return; manualWrapper.style.display = select.value === "manual" ? "block" : "none"; if (modo === "calcular") { autoCalc(); } } function obtenerConfigTasaTerminal() { const select = document.getElementById("tasaTerminal"); const manualInput = document.getElementById("tasaManual"); let tasa = CONFIG_CLIP.tasaBase; let fijo = 0; let texto = "3.6%"; let esPreferencial = false; let esManual = false; if (!select) { return { tasa, fijo, texto, esPreferencial, esManual }; } switch (select.value) { case "3.4": tasa = 0.034; texto = "3.4%"; esPreferencial = true; break; case "3.2": tasa = 0.032; texto = "3.2%"; esPreferencial = true; break; case "3": tasa = 0.03; texto = "3%"; esPreferencial = true; break; case "2.99fijo": tasa = 0.0299; fijo = CONFIG_CLIP.fijoTerminalPreferencial; texto = "2.99%"; esPreferencial = true; break; case "manual": esManual = true; let porcentajeManual = parseFloat(manualInput ? manualInput.value : ""); if (!isNaN(porcentajeManual)) { if (porcentajeManual > 3.6) { porcentajeManual = 3.6; if (manualInput) manualInput.value = "3.6"; } if (porcentajeManual >= 0) { tasa = porcentajeManual / 100; texto = `${porcentajeManual.toFixed(2).replace(/\.00$/, "")}%`; esPreferencial = tasa < CONFIG_CLIP.tasaBase; } } break; case "normal": default: tasa = CONFIG_CLIP.tasaBase; texto = "3.6%"; esPreferencial = false; break; } return { tasa, fijo, texto, esPreferencial, esManual }; } function generarContenidoAyudaTerminal() { const configTasa = obtenerConfigTasaTerminal(); const notaPreferencial = configTasa.esPreferencial ? `Tasa solo para usuarios seleccionados.Esta comisión aplica únicamente si la tienes habilitada en tu cuenta Clip.` : ""; const notaFijo = configTasa.fijo > 0 ? `La tasa seleccionada para Terminal es ${configTasa.texto} más IVA. En esta opción, el IVA se calcula sobre la comisión porcentual y el cargo fijo.` : `La tasa seleccionada para Terminal es ${configTasa.texto} más IVA. El IVA se calcula sobre la comisión.`; return ` Esta opción te ayuda a calcular cuánto recibirías al cobrar con una terminal Clip física. ${notaFijo} Si eliges meses sin intereses, también se suma la tasa del plazo seleccionado. La pantalla te muestra dos escenarios: Si cobras el monto ingresado, cuánto recibirías aproximadamente. Si quieres recibir ese monto neto, cuánto tendrías que cobrar aproximadamente. Si se elige meses sin intereses, se suma la tasa MSI correspondiente y después se calcula el IVA sobre la comisión total. ${notaPreferencial} Los resultados son aproximados y sirven como referencia para entender mejor tus cargos. `; } function calcularFuenteResultado(montoTexto) { const largo = montoTexto.length; if (largo 0 ? `Fijo${formatearMoneda(fijoTerminal)}` : ""; const lineaFijo2 = fijoTerminal > 0 ? `Fijo${formatearMoneda(fijoTerminal)}` : ""; displayScreen.className = "calc-screen split"; let msg = ` ${plazoTexto} Si cobras ${v1Str}recibirás: ${r1Str} Comisión (${textoTasaTerminal})${formatearMoneda(comisionBase1)} ${tasaMSI > 0 ? `MSI (${(tasaMSI * 100).toFixed(2)}%)${formatearMoneda(comisionMSI1)}` : ""} ${lineaFijo1} IVA${formatearMoneda(iva1)} Para recibir ${n2Str} netosdebes cobrar: ${v2Str} Comisión (${textoTasaTerminal})${formatearMoneda(comisionBase2)} ${tasaMSI > 0 ? `MSI (${(tasaMSI * 100).toFixed(2)}%)${formatearMoneda(comisionMSI2)}` : ""} ${lineaFijo2} IVA${formatearMoneda(iva2)} `; displayScreen.innerHTML = msg; ultimoResultado = msg; } function shareCalc() { if (navigator.share) { navigator.share({ title: "Calculadora Clip", text: "Calcula tus comisiones Clip fácil y rápido.", url: LINK_CALCULADORA }); } else if (navigator.clipboard) { navigator.clipboard.writeText(LINK_CALCULADORA).then(function() { alert("Link de la calculadora copiado al portapapeles."); }).catch(function() { alert("Comparte este link: " + LINK_CALCULADORA); }); } else { alert("Comparte este link: " + LINK_CALCULADORA); } }
More you might like
Related