Before you start
You need an activated Razorpay account (Live mode). Webhooks are free.
Your Razorpay Payment Pages lead URL
Your lead URL appears here when you open this page from the LeedsApp app: open the project, then Lead integrations and Razorpay Payment Pages.
Set it up in Razorpay Payment Pages
1
Add a name field to your Payment PageIn Payment Pages, open your page and click Edit. Click Add new › Input Field, set Field Type to Single Line Text, label it Full Name, make it mandatory and click Save. LeedsApp needs the payer's name.
2
Open WebhooksLog in to the Razorpay Dashboard and switch to Live mode. Go to Accounts & Settings and, under Website and app settings, click Webhooks.
3
Add the webhookClick + Add New Webhook. Paste your LeedsApp lead URL in URL and your email in Alert Email. Leave Secret empty.
4
Tick payment.capturedUnder Active Events tick payment.captured only, then click Create Webhook.
5
Test with a paymentMake a small payment on your Payment Page. The payer should appear in LeedsApp.
What LeedsApp saves
Razorpay Payment Pages sendsSaved on the lead aspayload.payment.entity.notes (name)Name
Lead source: Razorpay. The webhook covers every captured payment on the account, not only Payment Pages. The same payment sent twice is saved once.payload.payment.entity.contactMobile numberpayload.payment.entity.emailEmailpayload.payment.entity.notes (other fields)Custom fieldpayload.payment.entity.amountNotesIf leads don't arrive
- Webhooks are set per mode: one made in Test mode does not fire for Live payments.
- Razorpay switches a webhook off after 24 hours of failed deliveries and emails the Alert Email. Turn it on again under Webhooks.
- Only successful (captured) payments are sent, and only when the Payment Page has a Full Name field.
Need help? Write to support@leedsapp.com
