Skip to content

How to collect payments in a WhatsApp chatbot

Payment nodes send a Razorpay, Cashfree, or Stripe link or QR from the chatbot. Connect the provider under Integrations, drag a block from Payment Blocks, set Amount, and optionally connect Catalog Order so the amount follows the WhatsApp order.

Prerequisites

Step-by-step

  1. Connect the payment integration
    Open Integrations. Connect Razorpay, Cashfree, or Stripe and keep the integration active. Chatbot payment nodes need that connection at send time.

  2. Open Payment Blocks
    In Automation → Chatbots, create or Edit a chatbot. Open Components → Payment Blocks. Drag one of: Catalog Order, Razorpay Payment Link, Razorpay QR Payment, Cashfree Payment Link, Cashfree QR Payment, Stripe Payment Link.

  3. Set Amount on the payment node
    Select the payment node. Enter Amount (must be greater than 0). Connect handles to the next steps. Razorpay QR Payment sends a QR. Cashfree QR Payment sends a QR image when available; otherwise a pay link.

  4. Optional: Catalog Order before payment
    Place Catalog Order after a catalogue message. It waits for a WhatsApp order, totals the selected items, and passes that total to the next payment node. When Catalog Order is connected, Amount is disabled and the sidebar says the amount is charged as per the user order.

  5. Configure Payment Outcome Cases
    Optionally enable Handle link expired and Handle payment failed (fallback). Success is always available. Connect each output handle to the path you want. Then Save (first save: Save Flow / Chatbot Name).

WARNING

If Razorpay is not configured, the contact can receive: Payment link cannot be generated right now (Razorpay not configured). Connect Integrations before going live.

TIP

Build the catalogue message first, then Catalog Order, then the payment node. See How to send a WhatsApp catalogue from a chatbot.

FAQ

Do I need a catalogue to take payment?

No. Set Amount on a payment-link or QR node. Use Catalog Order only when the contact orders catalogue items and you want that total.

Which providers appear in Payment Blocks?

Razorpay Payment Link, Razorpay QR Payment, Cashfree Payment Link, Cashfree QR Payment, and Stripe Payment Link, plus Catalog Order. They still need the matching Integrations connection to generate a live payment.

Why is Amount greyed out?

The payment node is connected from Catalog Order. The order total is used instead of a fixed amount.