Razorpay Tracking
Step 1 : Configure Webhook on Sharkdom
Log in to your Sharkdom Dashboard.
Navigate to:
Settings > Integrations > Webhooks
Select Razorpay from the list of supported integrations.
Copy the production webhook URL displayed in the dashboard.
Step 2 : Set Up the Webhook in Razorpay
Log in to your Razorpay dashboard.
On the left sidebar, go to "Settings" and click "Webhooks" under "Developers".
Click “+ Add New Webhook”.
In the Webhook URL field, paste the URL copied from your Sharkdom dashboard.
In the Secret field, enter a unique secret key (you will use this later to validate webhook payloads).
Select events you want Razorpay to send to Sharkdom (
payment.captured
,payment.authorize,payment.succeeded
).Click "Create Webhook".
Step 3 : Test the Webhook
Trigger a payment event in Razorpay ( test payment or subscription creation).
Verify that the webhook is received by Sharkdom and is logged in the Webhook Activity section.
Step 4 : Payment Identification in Sharkdom
Sharkdom identifies customers by matching the
customer_key
provided in Razorpay’s webhook payload.Ensure you send the
customer_key
in the Razorpay metadata when creating payments.
Step 5 : Confirm Integration
Ensure Sharkdom receives webhook events consistently.
Payments should now be tracked and attributed to partners on Sharkdom automatically.
Last updated