Skip to main content
Integrate Razorpay on Spur

Directly send Razorpay payment links to your customers from workflows

Updated over 9 months ago

Introduction

With Razorpay integration now live on Spur, you can enhance your eCommerce capabilities and engage with customers directly through chat. This powerful integration allows you to leverage chat automation for seamless sales conversions and provides a suite of functionalities tailored to various business needs. Here are some of the key use cases to consider:

  • COD to Prepaid: Convert cash on delivery orders to prepaid orders directly through chat, reducing the risk and enhancing the efficiency of transactions.

  • Sell Event Tickets on WhatsApp: Streamline the process of selling tickets for your events, making it easier for customers to purchase directly from a chat conversation.

  • Sell on WhatsApp Without a Website: Utilize the WhatsApp catalog feature to showcase and sell your products directly through WhatsApp, even if you don't have an eCommerce website.

  • For E-Commerce Stores: Integrate your online store with WhatsApp, allowing customers to browse, inquire, and purchase without leaving the chat window.

  • Sell Courses on WhatsApp: Offer educational courses and materials through WhatsApp, providing a direct line of communication and transaction with your students.

  • Sell Digital Products on WhatsApp: Market and sell digital products, such as e-books, software, and digital art, leveraging chat for instant delivery and customer support.

Step 1: Add Your Razorpay Credentials to Spur

To integrate Razorpay with Spur, you'll need your Razorpay API key and secret. Here's how to set it up:

A. If You Already Have Razorpay API Credentials

If you have previously set up Razorpay, you should have your API key and secret stored securely. If you can't remember them, please contact the Razorpay support team to retrieve your credentials.

B. If You Need to Generate New API Credentials

Generate Your API Key and Secret:

  1. Log into the Razorpay Dashboard using your credentials.

  2. Switch to Live mode for generating the API key.

  3. Navigate to Account and Settings β†’ API Keys β†’ Generate Key to create a new key for the selected mode.

  4. A pop-up will appear displaying your Key Id and Key Secret. Note these down securely.

Enter Your Razorpay API Credentials in Spur:

  1. Go to Spur's Razorpay integration settings page.

  2. Enter your Key Id and Key Secret in the designated fields.

  3. Save your changes to complete this step.

Step 2: Set Up Razorpay Webhook for Spur

For Spur to receive notifications about payment events, you'll need to set up a webhook in your Razorpay dashboard.

  1. Add a New Webhook:

    1. Log into the Razorpay Dashboard and go to Developers β†’ Webhooks.

    2. Click + Add New Webhook.

  2. Configure the Webhook:

    1. In the Webhook URL field, enter

      https://api.spurnow.com/payment-links/razorpay/webhook
    2. In the Secret field, enter the following text - n5WC6NAFgyiJ7T

    3. In the Alert Email field, input [email protected]

    4. In Active Events, select all the events related to payment_link.

  3. Activate the Webhook:

    1. After filling out the necessary fields, click Create Webhook. Your new webhook will now appear in the list of active webhooks.

Conclusion

By completing both of these essential steps, you have successfully integrated Razorpay with your Spur account, enabling you to process payments directly through chat. This integration will not only enhance your e-commerce experience but also help in converting more customers through seamless payment solutions.


​

Did this answer your question?