Connect Cashfree to collect payments in chat

Updated on

This takes about 5 minutes. You need an owner or admin login in ChatDesq and a Cashfree login that can see its API keys.

1. Get your API keys from Cashfree

  1. In the Cashfree Dashboard, open Developers → API Keys.
  2. Copy the Client ID (App ID) and the Client Secret.

Cashfree has separate keys for Production and Sandbox. Use Sandbox keys to try everything without real money.

2. Paste them in ChatDesq

  1. Open Integrations → Payments and click Set up payments (or Connect Cashfree).
  2. Pick Production or Sandbox to match your keys.
  3. Paste the Client ID and Client Secret and click Save and check keys.

ChatDesq checks the keys with one call to Cashfree and stores them encrypted.

3. No webhook setup

ChatDesq gives Cashfree its webhook address with every payment link, so there is nothing to add in Cashfree. The chip on the Payments page turns to Webhook: working after the first payment event.

4. Send yourself a test

The last setup step sends a ₹1 payment request to your own WhatsApp number. Send “hi” from your phone to your business number first, so the chat is open. In Sandbox mode, pay on the checkout page by UPI with the ID testsuccess@gocash, then watch the card turn Paid.

Customers outside India

Cashfree needs a phone number on every payment link. If Cashfree refuses an international number, send that customer's request with Razorpay instead, or copy the link from the payment card and share it another way.

Stuck? Message us on WhatsApp from the Help menu in your dashboard, every day 10:00 to 19:00 IST, or book a free setup call.

Frequently asked questions

Do I need to set up a webhook in Cashfree?

No. ChatDesq sends Cashfree the webhook address with each link.

Can I connect both Cashfree and Razorpay?

Yes. Pick a default gateway in Integrations → Payments; agents can switch it for one request.

Related articles

Still stuck? Email support or book a demo.

Get your costStart for free