The Payment Problem in WhatsApp Commerce
A customer says "I want to buy this." Now what? In most Indian WhatsApp businesses: manually type UPI ID in the chat, customer pays on a separate app, takes a screenshot, sends it back. Business owner manually checks if payment came through.
This works at 10 orders/day. At 50+, it breaks. Screenshots can be faked, manual tracking causes errors, and the friction between "I want to buy" and "payment received" causes drop-offs. Proper payment integration solves all of this.
Option 1: UPI Payment Links
The simplest integration. Generate a UPI link for a specific amount, send in WhatsApp, customer taps to pay through any UPI app.
**Flow:** Customer confirms order โ system generates UPI link with exact amount โ link sent in chat โ customer taps, authenticates with PIN โ payment completes โ webhook confirms โ automatic order confirmation.
**Advantages:** Zero transaction fee for UPI, universal (any UPI app), eliminates wrong-amount errors.
**Limitations:** No automatic verification with basic UPI links (need gateway for webhooks). โน1 lakh transaction limit. Link expiry varies by app.
Option 2: Razorpay Payment Links
The most popular gateway for WhatsApp commerce in India. Generates a payment page link supporting UPI, cards, net banking, wallets, and EMI โ all through one link.
**Setup:** Create Razorpay account โ complete KYC (2-3 days) โ generate API keys โ connect to AutoChat โ configure payment webhook.
**Automated flow:** Customer confirms order โ chatbot triggers Razorpay API โ short URL generated โ chatbot sends: "Complete your payment of โน1,299 here: [link]. Valid 24 hours." โ customer pays โ Razorpay webhook fires โ chatbot sends order confirmation automatically.
**Fees:** 2% per transaction for most methods. UPI through Razorpay has lower/zero fees depending on plan. No setup or monthly charges on standard plan.
Option 3: Instamojo
Popular with smaller businesses and freelancers. Simpler than Razorpay with faster onboarding โ create account, verify with PAN/Aadhaar, start in 24 hours.
**Fees:** 2% + โน3 per transaction. Best for fewer than 100 transactions/month. For higher volumes, Razorpay or Cashfree offer better rates.
Option 4: Cashfree Payments
Competitive pricing with strong API documentation. Notable feature: auto-collect generates unique UPI IDs per order (order12345@cashfree), making reconciliation automatic without webhook complexity.
Automating the Complete Flow
Pre-Payment Chatbot confirms order details โ collects shipping address (or offers saved addresses for returning customers) โ generates payment link.
Payment Link delivered with all payment options โ 2-hour reminder if unpaid: "Hey {{name}}, your order for {{items}} is still waiting! Complete payment here: [link]."
Post-Payment Webhook triggers instant confirmation โ auto-generated invoice shared as PDF in chat โ shipping updates at dispatch, in-transit, and delivery.
Failed Payment Handling Expired link: generate new one. Bank declined: "Payment didn't go through. Try again: [new link] or use a different method." Partial payment (COD with advance): "Advance of โน500 received. Remaining โน1,999 on delivery."
Invoice Generation
For GST-registered businesses, auto-generate after payment: business name and GSTIN, customer details, item descriptions with HSN codes, GST breakdown (CGST/SGST or IGST), total. Share as PDF in WhatsApp. Both Razorpay and Cashfree support this through their APIs.
Recurring Payment Reminders
For subscriptions, memberships, EMIs, rent โ set up automated schedules: - 3 days before: "Your monthly subscription of โน999 is due March 1. Pay here: [link]" - Due date: "Payment due today. Pay now: [link]" - Day 3 overdue: "Payment is 3 days overdue. Please pay to avoid service interruption: [link]"
This automation alone recovers 15-25% of payments that would have been missed or delayed.
Refund Handling
Automate the process: customer requests refund โ chatbot collects order number, reason, photo if damaged โ approved refunds trigger Razorpay/Cashfree API โ confirmation: "Refund of โน{{amount}} initiated for Order #{{order_id}}. Reflects in 5-7 business days." โ status tracked and update sent when processed.
Security Considerations
- Never share payment gateway API keys in chat or with unnecessary team members - Always use HTTPS payment links โ never share plain UPI IDs for high-value transactions - Verify payments through webhooks โ never rely on customer screenshots as proof - Ensure your gateway is PCI DSS certified (Razorpay and Cashfree both are) - Don't store customer payment details in your systems โ let the gateway handle sensitive data
Compliance Requirements
- **RBI guidelines:** Maintain transaction records, provide receipts, handle disputes within prescribed timelines - **GST:** Issue tax invoices for B2C above โน200 and all B2B transactions - **Consumer Protection Act:** Communicate refund policies, return windows, and cancellation terms before payment - **DPDPA:** Handle customer payment and personal data with purpose limitation, storage limitation, and proper security
What Payment Integration Costs
The cost of not integrating payments properly is higher than the integration itself. Manual payment verification takes 3-5 minutes per order. At 50 orders/day, that's 2.5-4 hours of staff time just checking screenshots โ time better spent on sales or customer service.
Integration costs: Razorpay/Cashfree charge 2% per transaction. On โน10 lakh monthly revenue, that's โน20,000 in fees. But automated payment verification, instant confirmations, and reduced drop-offs typically increase conversion by 15-20%, more than covering the gateway fees.
[Set up WhatsApp payments with AutoChat](https://autochat.in/contact) โ we'll integrate your preferred gateway and automate the order-to-payment-to-confirmation flow.