Connecting Stripe to Braze
Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the Stripe Customer or PaymentIntent before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Stripe purchases on Braze profiles: put the external_id in Stripe
Reuse one Stripe Customer per user or store your user ID in its metadata, so the webhook can post to Braze's user track endpoint against the right external_id. Send payments as Braze purchase objects, one per line item fetched from the Checkout Session, not a custom event. Let the webhook be the only purchase source, and record refunds from charge.refunded.
Braze needs your user ID as external_id, and a Stripe Customer created at checkout knows only an email. The fix is upstream: when a signed-in user starts checkout, reuse one Stripe Customer per user or write the user ID into its metadata, so the webhook can post to Braze's user track endpoint against the right external_id. Guest checkouts arrive with email only; check whether your Braze setup resolves an email to the existing profile or quietly creates another.
Send Stripe payments as Braze purchase objects, one per line item with product ID, currency and price, rather than a custom event named purchase. Braze's revenue reporting and purchase-triggered campaigns read the purchase object. Line items have to be fetched from the Checkout Session, because the webhook body does not carry them.
The duplicate on this pair comes from the app: if iOS or Android logs a purchase through the Braze SDK when the user returns from Stripe, and the webhook posts one too, the customer gets two order-confirmation pushes. Choose the webhook. For refunds, update a custom attribute or log a refund event from charge.refunded, so upsell and win-back campaigns stop targeting someone who just got their money back.
Stripe → Braze · what breaks
Why this join usually fails — Stripe → Braze
- 01
The Braze external user ID 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 events sending duplicate push notifications
A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.
- 04
Nothing reconciles afterwards
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
Stripe → Braze · the fix
What working looks like — Stripe → Braze
The Braze external user ID on every payment
Conversions arriving in Braze
The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.
Reconciled against the source
Stripe → Braze · architecture
How Stripe and Braze 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
Braze needs a click to match
Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.
- 3
The identifier is the bridge
The Braze external user ID, 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
Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.
Stripe → Braze · normal or broken
Working vs. broken, side by side — Stripe → Braze
Normal, not a fault
The Braze external user ID present on the payment
Sent from the Stripe webhook
Deduplicated correctly
Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.
Reconciles with the source
Actually broken
The Braze external user ID 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
A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.
Nobody has reconciled it
Stripe → Braze · diagnose
Diagnostic order — Stripe → Braze
- 01
Count payments carrying the Braze external user ID
- 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
Send a test purchase and read the user profile's event stream
One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.
- 05
Read the match rate, not the success message
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
Stripe → Braze · prove
How it gets proven — Stripe → Braze
Source of truth
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
- The Braze external user ID confirmed present on a live payment.
- The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
- A refunded payment confirmed to reverse, not just the sale confirmed to send.
Stripe → Braze · free audit
What we check in the free audit
- Count payments carrying the Braze external user ID
- Follow one real conversion end to end
- Open one succeeded PaymentIntent in the Stripe dashboard
- Send a test purchase and read the user profile's event stream
- 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 → Braze · when not to buy
When you don't need this — Stripe → Braze
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the Braze external user ID.
- 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 have no mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.
Stripe → Braze · what we deliver
What gets built — Stripe → Braze
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 Braze
The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and 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 → Braze questions, answered
From the Stripe webhook to Braze's user track endpoint, as purchase objects on the user's external_id, which you store on the Stripe Customer when checkout starts.
The event arrives with an identifier Braze does not know, usually an email or a Stripe customer ID instead of your external_id.
Almost always because the Braze external user ID 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.
Braze identifies people by an external_id you assign, usually your own user ID, with anonymous device profiles merged in once a user signs in. There is no click identifier at all. Getting the external ID right is the entire integration; getting it wrong fragments one customer into several profiles who each receive the same campaign.
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.
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
More on Stripe → Braze
- Stripe Billing → BrazeConnecting Stripe Billing to Braze
- Stripe → Google AdsConnecting Stripe to Google Ads
- Stripe → MetaConnecting Stripe to Meta Conversions API
RELATED GUIDES
Where Stripe → Braze fits in the rest of your tracking
- Stripe Billing → BrazeConnecting Stripe Billing to Braze
- PayPal → BrazeConnecting PayPal to Braze
- Stripe → KlaviyoConnecting Stripe to Klaviyo
- Stripe → IterableConnecting Stripe to Iterable
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- PayPal → AttentiveConnecting PayPal to Attentive
- Stripe Billing → Customer.ioConnecting Stripe Billing to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
Free · 30 min
Get Stripe and Braze joined properly
Free30 minutesNo obligation
