Connecting Stripe to Attentive
Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. Attentive is SMS, where the identifier is a phone number, the consent rules are legal rather than advisory, and a mistake reaches the customer's pocket within seconds. The join between them succeeds or fails on one thing: whether the subscriber's phone number reaches the Stripe Customer or PaymentIntent before the conversion happens, because Attentive can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Stripe purchases into Attentive: phone number and SMS consent first
Send Stripe purchases to Attentive from the checkout.session.completed or payment_intent.succeeded webhook, matched on phone if Checkout collects it or else email, to stop abandoned-checkout texts and start post-purchase flows. A checkout phone is not texting consent. Fetch line items from the session if templates need them, use a Stripe connection or custom events, and send refunds separately.
Attentive keys on a phone number, and Stripe Checkout only has one if you turned on phone number collection or prefilled it. Look at customer_details on recent Checkout Sessions: if phone is mostly empty, the join falls back to email, and Attentive can only act on events for subscribers it already holds. A phone collected at checkout is not consent to text, so the purchase event is only actionable for people who opted in through Attentive's own sign-up units.
The job of a Stripe purchase here is suppression and branching more than measurement: stop the abandoned-checkout text the moment payment succeeds, and start post-purchase flows. Speed matters, so send from the checkout.session.completed or payment_intent.succeeded webhook, not a nightly sync, or someone who just paid gets the reminder text anyway. The webhook body does not include line items, so fetch them from the session if your templates mention products.
Check whether your Attentive account offers a Stripe connection that covers this; otherwise use Attentive's custom events API. On refunds, send a separate event so review-request or reorder messages do not reach someone who just returned the order.
Stripe → Attentive · what breaks
Why this join usually fails — Stripe → Attentive
- 01
The subscriber's phone number 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
Consent state treated as a tracking detail rather than a legal one
Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.
- 04
Nothing reconciles afterwards
Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.
Stripe → Attentive · the fix
What working looks like — Stripe → Attentive
The subscriber's phone number on every payment
Conversions arriving in Attentive
The event lands on the subscriber, triggers the journeys that depend on it, and becomes available for segmentation.
Reconciled against the source
Stripe → Attentive · architecture
How Stripe and Attentive 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
Attentive needs a click to match
Attentive needs the subscriber's phone number, the event name and its properties. It also needs the subscriber to have consented — an event about someone who never opted in cannot legally be messaged, whatever the event says.
- 3
The identifier is the bridge
The subscriber's phone number, 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
Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.
Stripe → Attentive · normal or broken
Working vs. broken, side by side — Stripe → Attentive
Normal, not a fault
The subscriber's phone number present on the payment
Sent from the Stripe webhook
Deduplicated correctly
Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.
Reconciles with the source
Actually broken
The subscriber's phone number 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
Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.
Nobody has reconciled it
Stripe → Attentive · diagnose
Diagnostic order — Stripe → Attentive
- 01
Count payments carrying the subscriber's phone number
- 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
Verify that events for non-consented customers cannot trigger a send
Check the journey's entry conditions, not the event pipeline. The pipeline will happily deliver an event about someone who never opted in; the journey is what must refuse to act on it.
- 05
Read the match rate, not the success message
Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.
Stripe → Attentive · prove
How it gets proven — Stripe → Attentive
Source of truth
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
- The subscriber's phone number confirmed present on a live payment.
- Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
- A refunded payment confirmed to reverse, not just the sale confirmed to send.
Stripe → Attentive · free audit
What we check in the free audit
- Count payments carrying the subscriber's phone number
- Follow one real conversion end to end
- Open one succeeded PaymentIntent in the Stripe dashboard
- Verify that events for non-consented customers cannot trigger a send
- 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 → Attentive · when not to buy
When you don't need this — Stripe → Attentive
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the subscriber's phone number.
- 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.
- If you do not have a consented SMS list, the integration is the least of the work. Building the list compliantly comes first, and no event pipeline substitutes for it.
Stripe → Attentive · what we deliver
What gets built — Stripe → Attentive
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 Attentive
The Attentive events API, posted server-side from your order system with the subscriber's phone number and the event properties.
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 → Attentive questions, answered
Only if your Checkout collects it, and Attentive still needs the person to be an opted-in SMS subscriber before any message goes out.
Send a purchase event from the Stripe webhook as soon as payment succeeds, and make the abandonment journey exit on that event.
Almost always because the subscriber's phone number 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.
Attentive resolves to a subscriber by phone number. There is no click identifier and no cookie in the messaging channel at all. The phone number is also regulated personal data under US telemarketing rules, which means the identifier itself carries obligations that a gclid does not.
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.
Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.
More on Stripe → Attentive
- Stripe Billing → AttentiveConnecting Stripe Billing to Attentive
- Stripe → Google AdsConnecting Stripe to Google Ads
- Stripe → MetaConnecting Stripe to Meta Conversions API
RELATED GUIDES
Where Stripe → Attentive fits in the rest of your tracking
- PayPal → AttentiveConnecting PayPal to Attentive
- Stripe Billing → AttentiveConnecting Stripe Billing to Attentive
- Stripe → KlaviyoConnecting Stripe to Klaviyo
- Stripe → IterableConnecting Stripe to Iterable
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- PayPal → BrazeConnecting PayPal to Braze
- Stripe Billing → BrazeConnecting Stripe Billing to Braze
- Stripe Billing → IterableConnecting Stripe Billing to Iterable
Free · 30 min
Get Stripe and Attentive joined properly
Free30 minutesNo obligation
