Hotmart
Under construction
Payment integrations are still being built. This page describes how the Hotmart one will work.
What you need
- Producer access to Hotmart.
- Your account's verification Hottok. Hotmart sends this code with every request, and LeadStalker checks it to know the request really came from your account.
1. Create the integration in LeadStalker
In Business settings → Integrations, click Add integration, pick Hotmart, give it a name and click Generate URL. Copy the URL.
2. Copy the Hottok
- In Hotmart, open Tools in the sidebar.
- Go to Webhook (API and Notifications) and then Authentication.
- Copy the Hottok and paste it into the integration's Hottok field in LeadStalker. Click Save credentials.
3. Register the URL in Hotmart
- Still in Webhook (API and Notifications), click Register webhook.
- Give it a name, like "LeadStalker".
- Pick the products you want to track.
- Paste the LeadStalker integration URL.
- Choose version 2.0.
- Select the purchase events — approved, complete, refunded, canceled and chargeback — and save.
One integration receives the sales of every product that sends to its URL: you don't need one integration per product.
4. Check it
Make a test purchase or wait for the next sale. When the first event arrives, the integration switches to Receiving.
If something isn't working
| Status | What to do |
|---|---|
| Waiting | No event has arrived: check that the URL was saved in Hotmart and the events are selected. |
| Token missing | Events arrived, but the Hottok wasn't pasted. Paste it and save: stored events are read right after. |
If you have more than one Hotmart account, create one integration per account, each with that account's Hottok.
Menus change
Platforms change their menus over time. If a path on this page doesn't match what you see, look for "Webhook" in Hotmart's menu.