πŸ’°PayU

How PayU Integration works:

  1. When a user makes a purchase through bot, a payment link is sent to the user via SMS and via ongoing bot conversation.

  2. The user can click on the payment link and make the payment on the PayU Payment Gateway.

  3. Once the payment is received, LimeChat receives the payment confirmation via webhook, and the order is completed, and the user is notified of the successful transaction.

Finding credentials on the PayU dashboard

To set up PayU Payment Gateway on your LimeChat account, you will need to provide your Merchant ID, Client ID, and Client Secret, which can be found on your PayU Dashboard. Follow these steps:

  1. Log in to your PayU account and navigate to the profile from top-right corner.

  1. Find your Merchant ID on top right side.

  1. Go to the Payment Gateway tab, scroll down to Client ID & Client Secret Details and click on Get Client Details button to generate your Client ID and Client Secret.

  1. You will be prompted for account password. Enter the password and click Proceed. Client ID and Client Secret details will be generated for you. Copy the details (Client Id and Client Secret) and share them with the LimeChat Customer Success Manager.

Setting up webhooks on PayU dashboard

To capture the payment status and complete the order, it is important to configure webhooks on PayU dashboard. Follow these steps:

  1. Log in to your PayU account and navigate to the Settings tab from left pane.

  1. Go to Webhooks.

  1. Click on Create Webhook. Select Type as "Payments" and Event as "Successful".

  1. In the Webhook URL field, enter LimeChat webhook URL for PayU: https://limekit.limechat.ai/payment_channels/webhook.handle_payu_payment_link_event

  2. Click on Create.

Note: PayU only allows one webhook per event.

If a webhook is already set up for Successful Payments then you will need to edit the existing webhook and add the LimeChat webhook URL after the existing url separated with a comma.

Example: https://some-other-webhook.url/handle_event, https://limekit.limechat.ai/payment_channels/webhook.handle_payu_payment_link_event

Once you have completed these steps, PayU will send a notification to LimeChat for every successful payment transaction, allowing LimeChat to automatically complete the order.

We hope that this new feature will make it easier for businesses to accept payments and improve the overall user experience. If you have any questions or concerns, please feel free to reach out to our Customer Support team.

Last updated