18px
Backend·February 21, 2026·8 min read

How Food Delivery Apps Show "PAID" Instantly on the Delivery Partner's Screen

Ever noticed how Zomato or Swiggy instantly flips to "Payment Received" on the delivery partner's screen the second you tap Pay? Here's the backend engineering behind that magic.

Ever ordered food on Zomato or Swiggy with UPI-on-delivery and noticed something magical? The second you tap "Pay," your delivery partner's screen instantly flips to "Payment Received." No refresh. No awkward waiting. Just instant confirmation.

Let's break down how this actually works behind the scenes.

The Problem

The Flow: What Happens When You Tap "Pay"

Step 1: You Place an Order

Step 2: Payment Initiation

Step 3: You Pay via UPI/Card

Step 4: The Gateway Confirms via Webhooks

Step 5: Queue Processing

Step 6: Order Status Update

Step 7: Real-Time Push to Delivery Partner

What Makes It Reliable

Smart Gateway Routing

Idempotency

Reconciliation Engine

Observability

Why This Design Matters

The Takeaway

Filed under fieldnotesFebruary 21, 2026