Razorpay
Use Cases:
COD2P (Cash on Delivery to Prepaid): Convert COD orders to prepaid by sending payment links to customers.
Checkout on Chat: Enable customers to complete purchases directly within the chat interface.
UPI Link Generation: Generate UPI payment links for quick transactions.
Requirements & How to Obtain:
COD2P
With Razorpay integration, you can enable Cash On Delivery (COD) to Prepaid
flow. This helps you reduce RTO costs as COD orders are known to have higher return probability.
To integrate with Razorpay, follow the below steps -
Login to your Razorpay Dashboard.
Visit
Account & Settings
>Website & App Settings
>API Keys
Generate a new API key & copy the Key ID & Key Secret.
Now visit
Webhooks
from the same section ofWebsite & App Settings
Add the following webhook URL -
https://flow-builder.limechat.ai/webhook.handle_rp_payment_link_event/
Adding an alert email is optional. You can add any of your email IDs to receive alerts in case of failures.
Give permission for
payment_link.paid
event & click on create webhook.Finally, in LimeChat Marketing platform, visit
Integrations
>Razorpay
, click onConnect Now
& add the saved Key ID & Key Secret.
Once this integration is done, a COD to Prepaid Link
substitution will become available for substitution in your message templates. You can set a link expiry time & any additional discount percentage/value based on your need.
Checkout on Chat
Apart from the information mentioned you also need the payment configuration name.
Refer to this video to understand how to fetch the payment configuration name: https://drive.google.com/file/d/1EHabOEPeQqh_MMoHXOu7a6vfNo7usM17/view?usp=sharing
Where to enable it on LimeChat?
To add the Payment Configuration Name, create a Global Flow setting here: https://flow-builder.limechat.ai/admin/account/globalflowsetting/ with the following information:
catalog_id: This does not actually use a real catalog, so add a random number
goods_type: physical-goods
store_type: online
payment_configuration_name : Whatever the config name is on Meta Business Manager
Example:

Last updated