PayPal
Trigger a WhatsApp message when PayPal reports a successful transaction. PayPal uses IPN or Webhooks — Splashify receives the PayPal Webhook format.
Setup
1. Copy your Splashify webhook URL
https://apis.splashifypro.com/api/v1/webhooks/integrations/<your-user-id>/paypal2. Add the webhook in PayPal
developer.paypal.com → Apps & Credentials → pick your app → scroll to Webhooks → Add Webhook.
| Field | Value |
|---|---|
| Webhook URL | URL from step 1 |
| Event types | Payment capture completed (and optionally Payment capture denied) |
Save. PayPal issues a Webhook ID — keep it visible.
3. Configure in Splashify
Configuration tab:
-
API Key / Webhook ID — paste PayPal’s Webhook ID (used for future verification support)
-
Phone Field — depends on how you collect phone. PayPal doesn’t always return it. Two options:
- Pass phone at order-creation time as
custom_idor insidepurchase_units[0].custom_id→ set field path tocustom_id - Use PayPal’s Buyer contact info experience and map
payer.phone.phone_number.national_number
- Pass phone at order-creation time as
-
Variables:
Var Field path Sample {{1}}amount.value299.00{{2}}amount.currency_codeUSD{{3}}id3C679... -
Toggle Enabled → Save.
4. Test
From the PayPal Webhooks UI → Webhooks Simulator → pick PAYMENT.CAPTURE.COMPLETED → Send Test. Check the Splashify logs.
Gotchas
- Phone isn’t guaranteed. PayPal only returns phone when the buyer explicitly shares it — store it yourself at checkout time.
- Signature verification not yet enabled. Keep the URL secret and consider rotating by creating a new integration + deleting the old one if exposed.