Technical Guide · UPI Intent Flow

UPI Intent Flow vs. Dynamic QR & Collect

Understand how UPI Intent deeplinks boost mobile conversion rates by launching PhonePe, Google Pay, Paytm, and BHIM directly—without manual VPA typing.

FeatureUPI Intent FlowDynamic QRUPI Collect (VPA)
Best DeviceMobile Web & In-AppDesktop & POSDesktop fallback
User Friction1-Tap App LaunchScan with phone cameraType VPA + approve notification
Conversion RateHighest on MobileHighest on DesktopLower (notification delays)
upi-intent-dispatch.ts
// Dispatching UPI Intent safely on mobile browsers
export function launchUpiIntent(upiParams: string, app: "phonepe" | "gpay" | "paytm" | "upi") {
  const schemes: Record<string, string> = {
    phonepe: "phonepe://pay?",
    gpay: "gpay://upi/pay?",
    paytm: "paytmmp://cash_wallet?",
    upi: "upi://pay?",
  };
  const target = `${schemes[app] || schemes.upi}${upiParams}`;
  window.location.href = target;
}

Dual-Mode Checkout

Render Dynamic QR on desktop and UPI Intent buttons on mobile automatically.

Server-Side Verification

Never trust client-side redirects alone; confirm settlement via signed webhooks.

12-Digit UTR Tracking

Every settled intent & QR order resolves a bank UTR for instant reconciliation.

What is the difference between UPI Intent and UPI Collect flow?

UPI Intent launches installed apps like PhonePe, Google Pay, or Paytm directly on mobile with one tap, delivering higher conversion rates. UPI Collect requires the customer to type their VPA manually and approve a push notification, which often suffers from notification delays.

What happens when a UPI payment is stuck in pending status?

When a UPI payment is stuck in pending status, the customer's bank is awaiting final NPCI settlement confirmation. UPI Gateways automatically polls bank status and reconciles the 12-digit UTR; if unresolved before order expiry, the order times out safely without double-charging.