What it brings into Brein
When a purchase is approved, Brein creates or fills in the buyer’s Contact and their Company by the email domain. If you ask at connect time, it also opens an Opportunity.Connect it
Hotmart does not sign the notice body: it sends a fixed token per account, thehottok, in the X-HOTMART-HOTTOK header. Brein compares it with the one you paste.
1
In Brein
Go to Settings → Integrations → Connect → Hotmart and copy the address.
2
In Hotmart
In Hotmart’s webhook settings, create one with version 2.0.0. Paste the address and choose the approved purchase event.
3
Copy the hottok
Hotmart shows your
hottok in the same settings. Copy it.4
Paste it in Brein
In the Integration, paste the token and save. Until you paste it, Brein rejects every notice.
Which events to choose
PURCHASE_APPROVED: an approved purchase. Brein ignores any other event you check.
Limits
- A buyer with no email or phone arrives as no person.
- The
hottokis the same for your whole Hotmart account.
