> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.theconvertway.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Razorpay Payment Link for Whatsapp Catalogue

### How to Send Razorpay Payment Links for Prepaid WhatsApp Catalogue Orders?

Use Razorpay Payment Links to collect prepaid payments from customers through your WhatsApp Catalogue chatbot. Follow the steps below to set up the integration and use it effectively within the Convertway app.



# Part 1: Razorpay Integration & Setup

### Step 1: Navigate to Razorpay Integration
* Go to the **Integrations** tab in The Convertway app.
* Click on **"Razorpay Payment Link"**.

### Step 2: Enter API Credentials
* Enter your **Client ID** and **Client Secret**.
* Click on **Save** to store the credentials.

### Step 3: Set Up Webhook in Razorpay
* After saving your credentials, copy the **Webhook URL** provided on the page.
* Go to your **Razorpay Dashboard > Webhooks**.
* Paste the copied URL into the Webhook URL field.
* Subscribe to **`Payment_link Events`** under **Active Events**.
* Click **Create Webhook**.

###### Important: If the webhook is not configured correctly, orders will not be placed even if the payment is successful.

### Step 4: Configure Discount
* On the **Expiry and Discount** page, set up a discount for prepaid orders:
* Choose between a **percentage** or **flat amount** discount.
* Click **Save**.


# Part 2: Send Razorpay Payment Links using Chatbot


### Step 1: Add the Razorpay Payment Link Node
* Open the **Chatbot** section in The Convertway app.
* Under **Payment Integration**, select the **"Razorpay Payment Link"** node.
* Add this node wherever you want to send a payment link (typically within a **URL button**).
* This node will **automatically fetch the products and amount** from the customer's WhatsApp Cart.

### Step 2: Create Order After Payment
* Under the **Payment Successful** branch, add a **"Create Order"** node.
* This step ensures an order is created in Shopify once the payment is completed.

###### Important: If the Create Order node is missing, the payment will succeed, but no order will be created.
![](https://storage.crisp.chat/users/helpdesk/website/-/b/c/8/6/bc86d77513590800/image_cotvc5.png)

### FAQs

### 1. What happens if a customer makes a payment but provides incorrect or missing details?
If customer details like name or shipping address are missing or invalid:
* Payment Status: Paid
* Order Status: Not Created
**Action:** Track these cases in the **Payment Link Analytics** section. They will show Payment Status as “Paid” with no Order ID. 
Manual follow-up or refund may be required.

### 2. What happens if multiple payment links are generated in one bot session?
If the bot session restarts and a new payment link is generated:
The old link is cancelled. If the customer pays via the old link:
* Payment Status: Paid
* Order Status: Not Created
**Action:** These will appear in the **Payment Link Analytics** with Payment Link Status as "Cancelled" but Payment Status as "Paid". 
Manual reconciliation may be needed.

### 3. Can agents take over a chat where a payment link is active?
No. If there’s an active Razorpay payment link in a chat, agents cannot take over the conversation until the payment is completed or the link expires.

### 4. What happens if the payment link expires before payment?
If a link expires:
* It becomes invalid.
* The customer cannot complete the payment using that link.
**Action:** Start a new bot session and  send a new payment link if the customer still wants to proceed.

### 5. Can a customer reuse a payment link for multiple transactions?
No. Razorpay payment links are for **one-time use only**. Once paid, cancelled, or expired, the link cannot be reused.

### 6. Can a customer retry payment if it fails on the first attempt?
Yes. If payment fails, the customer can **retry using the same link** as many times as needed, until:
* The payment is successful, or
* The link expires or is cancelled.

### Note: Regenerating Client ID and Client Secret will stop all existing integrations