Engati - User Guide
...
Building Your Bot
Configuring Integrations

Razorpay

8min

Razorpay offers a payment solution in India that enables businesses to accept, process, and disburse payments. There are many payment modes you can use including credit cards, debit cards, net banking, UPI, JioMoney, Mobikwik, Airtel Money, FreeCharge, Ola Money, and PayZapp.

With Engati’s Razorpay integration, you can provide an automated payment link to the customer to make the payment online.

Prerequisites

There are a few prerequisite steps to follow before integrating with Engati. The section covers generating API credentials, configuring a webhook endpoint, and fetching the Merchant ID.

Setup

Step 1: Fetching merchant ID

a. Login to your Razorpay account

Document image


b. Click on the profile icon (present in the right top corner) and copy the merchant ID.

Document image


Step 2: Generating API credentials on Razorpay

a. Login to your Razorpay account and navigate to Account & Settings > Website and app settings > API keys

Document image


b. Click on the API keys option and then click on Generate (Mode) Key/ Regenerate (Mode) Key

Note: (Note: If it shows ‘Regenerate (Mode) Key’ either you can generate a new one and you could share with us the old Keys)

Document image


Step 3: Configuring Engati webhook point

a. Click on the webhooks option under the settings

Document image


b. Click on the Add new webhook option and fill in the fields with the following details:

ii. Webhook Secret: It is an optional field however Engati expects a value. Please note that for Test as well as Live mode the secret should remain the same. 

iii. Active Events: 

  • Payment.failed
  • Payment_link.paid
  • Payment_link.expired
  • Payment_link.cancelled
Document image


Step 4 : Integrate with Engati

a. Once you log in to your Engati account, Navigate to the Integrations > Cloud Integrations > Razorpay. Click on the ‘Connect’ button.

Document image


b. Once you click on the ‘Connect’ button, fill in the following fields

i. Put your Razorpay Merchant ID in the account ID field

ii. Enter the Key ID and Key secret generated under Settings - API keys (Razorpay portal)

Note: Please make sure that you put the key values as per the mode selected.

iii. Enter the same Webhook secret value added under Settings – Webhooks – Add new Webhook. (Razorpay portal)

Note: Please note that for Test as well as Live mode the secret should remain the same.

Document image


c. Once you fill in all the details, click on ‘Connect’.

d. Now to configure your bot with the added Razorpay account, go to settings and click on integrations.

Document image


e. Click on the Razorpay option and select the account from the dropdown menu. Lastly, click on the save button.

Document image

Document image


If you face any issues or queries please reach out to us at support@engati.com.

Updated 05 Jul 2024
Doc contributor
Did this page help you?
Yes
No