Connecting Stripe to HubSpot
Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. HubSpot is where sales works, so a conversion that never reaches it is invisible to the people who decide what a lead was worth. The join between them succeeds or fails on one thing: whether the contact identity — email, or the hubspotutk cookie reaches the Stripe Customer or PaymentIntent before the conversion happens, because HubSpot can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Stripe payments on HubSpot deals, with renewals kept separate
Store the HubSpot contact ID, and the deal ID for sales-led deals, in Stripe Customer metadata, then have the webhook move the deal to closed-won on the first paid invoice, not on trial start or subscription creation. Later invoice.paid events update a recurring revenue property. Check HubSpot's Stripe app first, and let refunds and disputes reduce or reopen deals.
For SaaS and service businesses billing through Stripe, HubSpot is where the payment should close the deal and update the customer's revenue. The join is the Stripe Customer: store the HubSpot contact ID, and the deal ID for sales-led deals, in Customer metadata when you create it, and read it back from the webhook. Matching on email alone breaks when the billing contact is not the person who filled in the form.
Handle the first payment and renewals differently. checkout.session.completed or the first invoice.paid moves the deal to closed-won with the amount; later invoice.paid events update a recurring revenue property or log a timeline event, not new deals. Trials need care: a subscription with a trial produces a zero-amount first invoice, so close the deal on the first paid invoice, not on subscription creation.
Check what HubSpot's own Stripe app syncs in your portal before building, since it may create records your webhook would duplicate. The common break: Stripe Checkout collects an email that differs from the HubSpot contact's, the webhook handler creates a new contact, and the original-source attribution sits on a record with no revenue. charge.refunded and charge.dispute.created should reduce or reopen the deal.
Stripe → HubSpot · what breaks
Why this join usually fails — Stripe → HubSpot
- 01
The contact identity — email, or the hubspotutk cookie never reaches Stripe
Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.
- 02
Checkout is on Stripe's domain, so the browser loses the thread
The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.
- 03
Duplicate contacts
Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.
- 04
Nothing reconciles afterwards
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
Stripe → HubSpot · the fix
What working looks like — Stripe → HubSpot
The contact identity — email, or the hubspotutk cookie on every payment
Conversions arriving in HubSpot
The revenue or conversion lands on the contact record and its associated deal, where sales can see it and where HubSpot's own attribution reporting can use it.
Reconciled against the source
Stripe → HubSpot · architecture
How Stripe and HubSpot actually connect
- 1
Stripe holds the truth
Every succeeded PaymentIntent is a real conversion with a real amount and currency. No sampling, no modeling, no consent gate. This is the number the business actually banked, which is why it is the reference rather than anything either ad platform reports.
- 2
HubSpot needs a click to match
HubSpot needs to resolve the incoming data to an existing contact or create one. Without an email or a hubspotutk it creates duplicates, and duplicate contacts break every report built on top of them.
- 3
The identifier is the bridge
The contact identity — email, or the hubspotutk cookie, captured at the visit and carried into the Stripe Customer or PaymentIntent.
- 4
The event source decides reliability
Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
- 5
Deduplication at the destination
HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.
Stripe → HubSpot · normal or broken
Working vs. broken, side by side — Stripe → HubSpot
Normal, not a fault
The contact identity — email, or the hubspotutk cookie present on the payment
Sent from the Stripe webhook
Deduplicated correctly
HubSpot deduplicates contacts on email address. Events and property updates against the same contact are idempotent by design, but a second contact created for the same person is not detected, and merging them afterwards is manual work.
Reconciles with the source
Actually broken
The contact identity — email, or the hubspotutk cookie missing on most records
Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.
Sent from the browser
The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.
Counted twice, or not at all
Two records for one person, each with half the history. Every downstream report is then wrong in a way that looks like a data problem rather than an integration problem.
Nobody has reconciled it
Stripe → HubSpot · diagnose
Diagnostic order — Stripe → HubSpot
- 01
Count payments carrying the contact identity — email, or the hubspotutk cookie
- 02
Follow one real conversion end to end
- 03
Open one succeeded PaymentIntent in the Stripe dashboard
Look at its Metadata section. If the identifier is not there, nothing downstream can fix it — the join is broken at the source and every other check is wasted effort.
- 04
Search for the test contact by email after sending
One record or two? Then check whether the properties landed on the contact or only on the form submission — they are different things and only the first is usable.
- 05
Read the match rate, not the success message
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
Stripe → HubSpot · prove
How it gets proven — Stripe → HubSpot
Source of truth
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
- The contact identity — email, or the hubspotutk cookie confirmed present on a live payment.
- One contact record confirmed, not two, with the property visible on the contact rather than only on the submission.
- A refunded payment confirmed to reverse, not just the sale confirmed to send.
Stripe → HubSpot · free audit
What we check in the free audit
- Count payments carrying the contact identity — email, or the hubspotutk cookie
- Follow one real conversion end to end
- Open one succeeded PaymentIntent in the Stripe dashboard
- Search for the test contact by email after sending
- Read the match rate, not the success message
Checked against
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
Free30 minutesNo obligation
Stripe → HubSpot · when not to buy
When you don't need this — Stripe → HubSpot
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the contact identity — email, or the hubspotutk cookie.
- If you take payment through a hosted Payment Link or Buy Button and have no server creating sessions, this needs a development change on your side before any tracking work is worth commissioning. Worth knowing before you pay for tracking.
- HubSpot's native form and tracking code already handle the straightforward cases well. This is worth building when the conversion happens somewhere HubSpot's code cannot see.
Stripe → HubSpot · what we deliver
What gets built — Stripe → HubSpot
Identifier capture into Stripe
Read the click identifier from the landing page, persist it in a first-party cookie, and pass it into the create-session call as metadata. Stripe carries metadata onto the resulting PaymentIntent and Charge, so it survives to the webhook and to any later refund.
Event source: the Stripe webhook
Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
Dispatch to HubSpot
The HubSpot API — contact create-or-update with the properties, or a custom behavioral event where you need the timeline entry rather than a property.
Reversals where they exist
Stripe fires charge.refunded and charge.dispute.created. Both carry the original metadata, so a refund can be sent as a negative or a retraction wherever the destination supports it. Most setups never wire this and quietly overstate revenue by the refund rate.
Written guarantee
95%+ tracking accuracy
Measured against The Stripe dashboard — Payments, filtered to succeeded, for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Stripe → HubSpot questions, answered
HubSpot offers Stripe apps in its marketplace; check what your version syncs and whether it updates deals or only payment records. A custom webhook gives you control over deal stages and renewals.
Close the deal on the first paid invoice, then route later invoice.paid events to a revenue property or timeline event on the contact or company.
Almost always because the contact identity — email, or the hubspotutk cookie never reached the Stripe Customer or PaymentIntent. Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created. Measure coverage before debugging the dispatch.
HubSpot resolves to a contact by email address, or by the hubspotutk cookie value which ties an anonymous visitor to their eventual contact record. Sending the hubspotutk with a form submission is what lets HubSpot stitch the pre-conversion page views to the contact, which is where the original source attribution comes from.
The Stripe webhook. Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
HubSpot shows the contact record and its timeline. A successful API response means HubSpot accepted the call, not that it resolved to the right contact — open the record and look.
More on Stripe → HubSpot
- Stripe Billing → HubSpotConnecting Stripe Billing to HubSpot
- Stripe → Google AdsConnecting Stripe to Google Ads
- Stripe → MetaConnecting Stripe to Meta Conversions API
RELATED GUIDES
Where Stripe → HubSpot fits in the rest of your tracking
- Stripe Billing → HubSpotConnecting Stripe Billing to HubSpot
- PayPal → HubSpotConnecting PayPal to HubSpot
- Stripe → 6senseConnecting Stripe to 6sense
- Stripe → SalesforceConnecting Stripe to Salesforce
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Stripe Billing → MarketoConnecting Stripe Billing to Marketo
- PayPal → MarketoConnecting PayPal to Marketo
- Stripe Billing → SalesforceConnecting Stripe Billing to Salesforce
Free · 30 min
Get Stripe and HubSpot joined properly
Free30 minutesNo obligation
