What the HubSpot app does
The HubSpot app creates or updates a HubSpot contact for each customer. It also adds a note to the contact for each payment, refund, and dispute. The app does not make deals and has no map from a product to a list.Before you start
- You are an owner or an admin of the Dodo Payments business.
- You have a HubSpot account and you can make a private app.
Install, connect, and configure
1
Install the app
Open Apps, then Explore. Open HubSpot (publisher Dodo Payments) and select Install app.

2
Connect HubSpot
Select Connect. In HubSpot, open Settings, then Integrations, then Private Apps. Make a private app with the scopes 
crm.objects.contacts.read and crm.objects.contacts.write. Copy the access token of the private app. Enter it in the Access Token field, then select Connect.
3
Choose the settings
Open the Configure tab, set the options, and select Save.

4
Make the contact properties (optional)
To use Write the Dodo contact properties, open Settings, then Properties in HubSpot. Make three single-line text contact properties:
dodo_customer_id, dodo_subscription_status, and dodo_status_updated_at. HubSpot refuses a property that does not exist.5
Pick the filters
Pick the products and currencies, then select Save.

Settings
What is sent and when
Dodo Payments sends data after the Dodo Payments event happens. The app sends the email address, the first name, the last name, and the billing country code of the customer. With Write the Dodo contact properties on, it also sends the customer ID, the subscription status, and the time. A note shows the event, the amount in the major unit with the currency code, the product names, and the Dodo ID. The app sends no card data and no street address. When no contact exists, the app creates a contact with only the email for a note. The app updates the name of an existing contact at each payment. A name that you changed in HubSpot changes back to the name in Dodo Payments.Test the app
1
Use test mode
Install and connect the app in test mode.
2
Make a test payment
Create a test payment with a test customer email.
3
Check HubSpot
Open Contacts in HubSpot. The test customer appears. If notes are on, the contact has a note for the payment.