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 Meta Humans Bot platform 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.
3. For Client ID and Client Secret:
Go to PayU admin account -> Payment Gateway tab -> Get Client Id and Client Secret by clicking on ‘Get Client Details button’.
Now on Meta Humans Bot platform, Enter these details in the Webview node under 'Params'.
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 Meta Humans bot platform Webview node.
5. For Merchant Salt
In PayU admin account -> Payment Gateway tab -> Copy Merchant Salt (Version 2) and add in the Params.
On Meta Humans Bot platform Webview node, add other details depending on your use case:
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.
-
-
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).
In the image below, you can see the message being triggered upon payment success and payment failure.
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 or 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.
-