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 -

  1. Login to your Razorpay Dashboard.

  2. Visit Account & Settings > Website & App Settings > API Keys

  3. Generate a new API key & copy the Key ID & Key Secret.

  4. Now visit Webhooks from the same section of Website & App Settings

  5. Add the following webhook URL - https://flow-builder.limechat.ai/webhook.handle_rp_payment_link_event/

  6. Adding an alert email is optional. You can add any of your email IDs to receive alerts in case of failures.

  7. Give permission for payment_link.paid event & click on create webhook.

  8. Finally, in LimeChat Marketing platform, visit Integrations > Razorpay , click on Connect 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:

  1. catalog_id: This does not actually use a real catalog, so add a random number

  2. goods_type: physical-goods

  3. store_type: online

  4. payment_configuration_name : Whatever the config name is on Meta Business Manager

Example:

Last updated