Charging through Hotmart, step by step
What automatically activates your customer's plan as soon as they pay you on Hotmart.
If you sell through Hotmart, you can connect it so activation is automatic: your customer pays there and their plan activates on its own, without you doing anything. And it extends with each renewal.
The connection has two parts. In Billing, you connect Hotmart: copy the purchase notification URL to paste it into Hotmart, and paste your hottok. Then, in Settings → Plans, under each plan, enter its offer code and Hotmart checkout link: the link is what opens when your customer activates that plan, and the code tells the system which plan to grant when Hotmart sends the notification.
The account is recognized by email: the email used for the purchase must be the same one the owner uses to log in. If it does not match, the payment remains unassigned, and you will receive a notification to activate it manually.
What you can do
- Have your customer's plan activate automatically when they pay, and renew with each Hotmart charge.
- Sell several different plans, each with its own offer.
- Collect recurring payments without setting up your own payment gateway.
- Have the account pause automatically if Hotmart reports non-payment, and close if they cancel or get a refund.
- Get notified when a payment comes in that does not match any account.
Step by step
Make sure you have created your SUBSCRIPTION product in Hotmart (not a one-time payment), with one offer per plan.
In Billing, open Hotmart in the customer payments list and copy the purchase notification URL.
In Hotmart, go to Tools → Webhook and paste that URL.
Copy your hottok from app.hotmart.com/tools/webhook/auth—not from the screen where you create the webhook—, paste it into the dashboard, and click Connect.
In Settings → Plans, enter the offer code and Hotmart checkout link for each plan.
An example
An agency selling two plans through Hotmart
- They have a monthly plan for 49 and an annual plan for 470, each with its own Hotmart offer.
- They paste the monthly offer code and link into the monthly plan, and the annual ones into the annual plan.
- Ana logs into her account with ana@sutienda.com, chooses the annual plan, and pays on Hotmart using that same email.
- Hotmart sends the notification, the system recognizes the offer, and activates the annual plan on Ana's account.
- Another customer pays with a different email: the agency receives a notification of a payment without an account and assigns it manually.
Recommendations
- Tell your customers to pay with the same email they use to log in. This is the most common issue.
- Make the test purchase with an account you do not use for anything else: this way you see exactly what a new customer sees.
- Have each plan's offer code handy before you start: it is the most common thing people have to search for mid-setup.
Watch out for this
- The purchase does not create the account: it activates the plan of an existing account by searching for the owner's email. With a different email, the payment remains unassigned until you assign it.
- Free trial days through Hotmart are not supported from here: the plan activates when the payment goes through. If you set up a trial inside Hotmart, the system will not be notified.
- A purchase with an offer code that is not linked to any plan will not activate anything.
- A one-time payment product does not work for a subscription: the notification arrives once and the account will never renew.
- Renewals and cancellations are managed by Hotmart: only what Hotmart notifies is applied here.
