Skip to content

A self-hosted UPI & COD payment gateway with zero per-transaction platform fees, universal JavaScript checkout integration, dynamic QR payments, WhatsApp OTP authentication, and automated payment verification.

JavaScript
1.7 KB
Raw Blame
  <!-- TOAST NOTIFICATION -->
  <div id="ypgToast" class="ypg-toast"><img src="/icons/upi.svg" alt="UPI" style="height:12px; vertical-align:middle; filter:brightness(0) invert(1); margin-right:4px;" /> Direct UPI QR is active for instant banking verification</div>

    <!-- 1. INITIAL YOUPI PG LOADING SPLASH -->
    <div id="ypgSplashScreen" class="ypg-splash-screen">
      <div class="ypg-splash-center">
        <div class="ypg-shield-orbit-box">
          <img id="splashBrandLogo" alt="Logo"
            style="display:none; max-width:82px; max-height:82px; border-radius:16px; object-fit:contain; box-shadow:0 8px 24px rgba(0,0,0,0.12);" />
          <!-- Authentic YouPI PG Shield with 'Y' Monogram -->
          <svg class="ypg-shield-icon-svg" id="splashDefaultShield" viewBox="0 0 100 120" fill="none">
            <defs>
              <linearGradient id="ypgShieldGrad" x1="0" y1="0" x2="1" y2="1">
                <stop offset="0%" stop-color="#0b63e5" />
                <stop offset="100%" stop-color="#0747a6" />
              </linearGradient>
            </defs>
            <path d="M50 4 L92 22 C92 72, 50 116, 50 116 C50 116, 8 72, 8 22 Z" fill="url(#ypgShieldGrad)" />
            <!-- Sharp white & cyan 'Y' monogram -->
            <path d="M33 32 L46 54 L46 84 L54 84 L54 54 L67 32 L56 32 L50 44 L44 32 Z" fill="#ffffff" />
            <polygon points="50,44 56,32 61,32 54,49" fill="#38bdf8" />
          </svg>
          <div class="ypg-orbit-dot"></div>
        </div>
      </div>
      <div class="ypg-splash-footer" id="splashFooterWrap">
        <span>Secured By</span>
        <strong id="splashSecuredByText" style="color:var(--ypg-blue); font-size:15px; letter-spacing:-0.2px;">{{APP_NAME}}</strong>
      </div>
    </div>