How Can We Help You?
< All Topics

Razorpay

Razorpay is the only payments solution in India that allows businesses to accept, process and disburse payments with its product suite. It gives you access to all payment modes including credit card, debit card, netbanking, UPI and popular wallets including JioMoney, Mobikwik, Airtel Money, FreeCharge, Ola Money and PayZapp.

BotBuilders has a built-in integration with Razorpay that allows your business to accept payments inside your bot.

Follow the below steps to connect Razorpay to BotBuilders

1 – Generate API Key in Razorpay

To top

1.1 Log into your Razorpay Dashboard with appropriate credentials.

1.2 Select the mode (Test or Live) for which you want to generate the API key.

1.3 Navigate to Settings → API Keys → Generate Key to generate key for the selected mode.

Generate Razorpay API key

2 – Connect BotBuilders to Razorpay

To top

Navigate to Settings → Integrations → Razorpay and click connect and user the data generated in step 1.

After you connect Razorpay, navigate to Navigate to Ecommerce → Settings → Payment and enable card in payment methods. Also change to currency to INR.

3 – Set up webbook in Razorpay

To top

3.1 Log into the Razorpay Dashboard and navigate to Settings → Webhooks.

3.2 Click the + Add New Webhook button.

3.3 In the Webhook Setup pop-up page:

Webhook URL : https://app.botbuilders.tech/webhooks/razorpay.php

Secret: Use your Secret ID generated in step 1

Email: Your email address

Events: payment.authorized

3.4 Click Create Webhook.

Set up Webhooks