Skip to content
Splashify Pro
Docs

PayU

Connect PayU and your customers get a WhatsApp thank-you as soon as their payment succeeds. The message is sent for successful payments only. Once it is connected, you can also send PayU payment links from any WhatsApp chat.

Before you start

  • A PayU merchant account.
  • An approved WhatsApp template for the message, for example "we received your payment". See Create a WhatsApp template. Most templates are approved within 24 hours.
  • Your WhatsApp number connected. See Connect WhatsApp (WABA).

Where to find your PayU keys

Connect PayU

  1. Open PayU in the app

    In the left sidebar, click Integrations. Under Payments, find PayU and click Connect.

  2. Add your PayU keys

    Under Add your PayU keys, paste the Merchant Key and the Merchant Salt.

    The PayU page with the Merchant Key demo_merchant_key and the Merchant Salt filled in, 1 of 3 steps done, and the Choose the WhatsApp message step below
    Step 1: your PayU key and salt
  3. Choose the WhatsApp message

    Under Choose the WhatsApp message, pick a Template. Leave Send it to on Customer Phone. Under Fill the variables, choose what fills each blank, for example Customer Name (firstname), Amount and Transaction ID. Check the Preview.

    The Choose the WhatsApp message step with the payment_confirmed template, Send it to Customer Phone, the variables Customer Name (firstname), Amount and Transaction ID, and a preview of the message
    Step 2: one message for every PayU payment event
  4. Click Connect PayU

    Click Connect PayU in the bar at the bottom. You will see PayU is connected.

  5. Add the webhook in PayU

    Under Paste this URL in PayU, click the copy button. In your PayU Dashboard, open Webhooks (in the developer or settings menu), create a webhook for payments, and paste the URL.

  6. Check that it works

    Make a small test payment. On the PayU page in our app, open the Activity tab. You should see Sent, Message sent.

    The PayU Activity tab with Sent messages, a Skipped event reading Failed or cancelled payment. The message is only sent for successful ones, a Not sent event with no phone number and a duplicate
    Failed payments are skipped, not thanked

Successful payments only

If PayU sends a failed, cancelled, dropped or expired payment, no message goes out. Activity shows it as Skipped, Failed or cancelled payment. The message is only sent for successful ones.

What you can put in the message

For accounts in India.

Once PayU is connected, click the green ₹ button (Request a payment) under the reply box in any WhatsApp chat to send a PayU payment link. If you connected more than one gateway, pick PayU under Gateway. See WhatsApp payments.

So that a paid link shows as paid in the app, also add this URL as a webhook for successful payments in PayU: https://apis.splashifypro.com/api/v1/webhooks/payments/payu

Change, pause or disconnect

  • Change the message: make your change, then click Save changes at the bottom.
  • Pause: switch Active off on the right.
  • Disconnect: click the ⋮ button at the top right, then Disconnect, and confirm.

If a message did not go out

More fixes are in Troubleshooting.