UPI QR at the counter
In the CartWhizz POS app the cashier can take UPI with a QR for the exact amount of the bill. The customer scans it with any UPI app, and the sale completes by itself once your payment gateway confirms the payment. The money goes straight to your own gateway account. Point of sale → UPI payments is where you set it up and check the payments that need you.
Set it up
- Under Payments, add PayU or Razorpay with your own keys (the same keys your online checkout uses) and switch the method on. Your gateway account must have its UPI / QR product activated; ask your gateway if you are not sure.
- Open Point of sale → UPI payments. The card at the top says whether the till can show a gateway QR, and which gateway it uses. The till uses PayU first, then Razorpay, unless you pick one under Settings.
- Razorpay: copy the webhook URL shown on the card. In your Razorpay dashboard open Settings → Webhooks, add the URL with the event qr_code.credited and the webhook secret saved on your Razorpay payment method. A Razorpay webhook already pointing at your checkout also works. PayU: nothing to set; each QR tells PayU where to send its result.
Without a webhook the QR still works: CartWhizz asks the gateway itself every few seconds, so a payment confirms a little more slowly.
PayU needs an email and a phone with every QR. When the bill has a customer with a contact, theirs is sent. For a walk-in customer, CartWhizz sends the contact for walk-in customers under Settings — or, if you leave it blank, your store's own contact email and phone from Settings → Store. Nothing is ever made up: if neither the bill nor the store has an email and a phone, the till asks the cashier for the customer's (or the cashier takes manual UPI). Razorpay needs no contact.
At the counter
- The cashier picks UPI QR. The till shows the QR with a countdown (five minutes by default).
- The customer scans and pays.
- The sale completes and the receipt prints with the UPI reference (RRN/UTR).
Only your gateway's confirmation marks a UPI payment paid. A screenshot or the customer's phone screen never does.
- If the bill changes while the QR is shown, the till makes a new QR for the new amount and the old one is cancelled.
- If the customer wants to pay another way, the cashier cancels the QR. If the money had in fact already arrived, the till says so and completes the sale instead of taking a second payment.
- When the QR runs out, the cashier can show a new one.
When the internet or the gateway is down: manual UPI
If the till is offline or the gateway does not answer, the till can show your store's own UPI QR with the amount (set your UPI ID under Point of sale → POS preferences). The cashier confirms the payment by looking at the customer's phone. These parts are marked UPI – unverified and counted separately on the Z report, so you can match them later against your gateway's settlement.
Under Settings you choose whether manual UPI is allowed, whether it needs a manager's PIN, and whether the cashier must type the last digits of the UPI reference.
Payments to check
A payment that does not match a live QR exactly is never added to a bill by itself. It waits under Payments to check:
| Reason | What happened |
|---|---|
| Different amount | The customer paid a different amount than the QR asked for. |
| Paid twice | A second payment arrived for a QR that was already paid. |
| Paid after the QR ran out | The payment arrived after the QR expired. |
| Paid after the QR was cancelled | The cashier had cancelled the QR (often because the customer paid another way). |
| Paid after the QR failed | The gateway had reported the QR's payment as failed. |
| No matching QR | The gateway reported a POS payment CartWhizz has no QR for. |
For each one, check with the cashier, then:
- Attach it to the right bill: enter the bill's ID as the till shows it (and its invoice number, if you like). The payment then counts as a verified UPI part of that bill.
- Refund it: the whole payment goes back to the customer's UPI account through your gateway. You are asked to confirm first; a refund cannot be undone. If the gateway refuses, the payment is marked Refund failed with the gateway's message, and you can try again or attach it instead.
Attaching and refunding need the Manage point of sale privilege. Everyone who can open the page can see the list. Every attach and refund, and every QR a cashier cancels, is recorded in Settings → Security → Activity log.
Settings
| Setting | Default | What it does |
|---|---|---|
| Gateway for the counter | Automatic | PayU, Razorpay, Automatic (PayU first), or Off (manual UPI only). |
| QR expires after | 300 seconds | The countdown; 120 to 1800 seconds. |
| Till checks every | 2 seconds | How often the waiting till asks CartWhizz, if the live update does not arrive. |
| First check after | 5 seconds | When CartWhizz first asks the gateway itself; the wait then doubles. |
| Longest wait between checks | 30 seconds | The cap on that wait. |
| Watch for late payments for | 30 minutes | How long an expired or cancelled QR is still watched. |
| Allow manual UPI | On | The offline fallback above. |
| Needs a manager's PIN | Off | For manual UPI. |
| Ask for the UPI reference | Off | For manual UPI. |
| Contact sent to the gateway for walk-in customers (email, phone) | Blank: your store's own contact | Sent to PayU when the bill has no customer contact. |
