Engati - User Guide
...
Building Your Bot
Configuring Integrations

PayU

5min

PayU is an Online Payment Gateway for businesses to accept digital payments from credit cards, debit cards, net banking, BNPL, QR, UPI, Wallets and more.

By utilizing Engati’s Integration, you have the capability to share a payment link generated by PayU and share with your customers within the conversational flow.

Setup

To get started: Go to path builder and add a Web View Node.

1. Select the type as PayU and get details to add under Params from PayU’s admin.

2. Message: Add the text which will be hyperlinked with PayU payment link.

Document image


3. For Client ID and Client Secret:

Go to PayU admin account -> Payment Gateway tab -> Get Client Id & Client Secret by clicking on ‘Get Client Details button’

Now on Engati's portal, Enter these details in the Webview node under 'Params'

Document image


4. For Merchant ID

Click on Profile (top right of the header) -> Basic Details

Copy the Merchant ID (MID) and enter it in the Merchant ID section of Engati's Webview node.

Document image


5. For Merchant Salt

In PayU admin account -> Payment Gateway tab -> Copy Merchant Salt (Version 2) and add in the Params

Document image


On Engati's Webview node, add other details depending on your usecase:

Please refer the following list to understand the meaning of each section -

  • Amount: This will be the product price attribute such as {{amount}}.
  • Description: For which the payment is being made. This can be as required by the customer. Refer to the screenshot below. Description will be displayed under ‘Payment For’ on Payment gateway screen when the end user makes the payment.
Document image

  • Currency -> Select the currency in which payments will be accepted.
  • Expire by -> add the duration after which the payment link will be expired. Default is 24 hours.
  • Test Mode -> If the credentials added in the first 4 fields are test credentials or of the test account of PayU then mark the checkbox.
  • Success Flow -> Select the flow that needs to be triggered if the payment is successful (upon success of the payment webhook event).

6. Setting up webhook

To establish a webhook for PayU integration, follow the steps mentioned below:

Step 1: Go to Settings -> Webhook -> Create

Document image


Step 2: Click on Create Webhook.

Document image


Step 3: Add the below details and click "Save" Type: Payment Event: Successful Webhoook URL: https://app.engati.com/v1.0/payu/webhook

Document image


Step 4: Repeat step 3 for a Failed event Type: Payment Event: Failure Webhoook URL: https://app.engati.com/v1.0/payu/webhook

After completing the webhook setup, you have effectively integrated our platform with PayU.

In the image below, you can see the message being triggered upon payment success and payment failure.

Document image


Save the node once all the above details are added. Please note -> It is recommended to create unique attributes for these flows to avoid confusions.

When the path is triggered, a payment link will be generated and sent to the user.

Unless the payment is completed/canceled, the user will not be able to trigger any other flows. The user will have to cancel the existing payment, only after that the user would be able trigger other flows. The content of this message is not configurable at this point.

Document image


If you face any issues or queries please reach out to us at support@engati.com.

Updated 30 Aug 2024
Doc contributor
Did this page help you?
Yes
No