Connecting Stripe to Microsoft Ads
Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. Microsoft Ads reaches an older, higher-income, more desktop-weighted audience than Google, and it is routinely the cheapest qualified traffic a B2B advertiser can buy. The join between them succeeds or fails on one thing: whether the MSCLKID reaches the Stripe Customer or PaymentIntent before the conversion happens, because Microsoft Ads can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Stripe to Microsoft Ads offline conversions with MSCLKID metadata
Store the MSCLKID in a first-party cookie, pass it into the Stripe Checkout Session or PaymentIntent metadata, and upload offline conversions to Microsoft Ads when payment_intent.succeeded or invoice.paid arrives, using Stripe's timestamp, timezone and currency with amounts converted from cents. Copy the MSCLKID from Customer metadata onto emailed invoices, or larger B2B deals never upload. Retract refunds where supported.
Stripe is a clean source for Microsoft's offline import because each succeeded PaymentIntent has an exact amount, currency and timestamp, and metadata carries the MSCLKID from session creation to the webhook. Store it from the landing URL in a first-party cookie, pass it into the Checkout Session or PaymentIntent create call, and upload when payment_intent.succeeded or invoice.paid arrives.
Microsoft's offline upload wants a conversion time with timezone and a currency code; take both from Stripe, not your server clock, and convert amounts from cents. For subscriptions, decide whether Microsoft gets the first payment only or renewals against a separate goal; uploading renewals to the bidding goal makes old clicks look better every month. charge.refunded carries the original metadata, so a refund can become a retraction through conversion adjustments if your goal supports them.
The common break: B2B buyers click a Microsoft ad on a work desktop, then pay weeks later from an emailed invoice that opens Stripe's hosted invoice page. That invoice was created by your billing process, not your site, and carries no MSCLKID. Copy the MSCLKID from the Customer's metadata onto invoices when they are generated, or those deals, often the larger ones, never upload.
Stripe → Microsoft Ads · what breaks
Why this join usually fails — Stripe → Microsoft Ads
- 01
The MSCLKID 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
Auto-tagging switched off
Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.
- 04
Nothing reconciles afterwards
Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.
Stripe → Microsoft Ads · the fix
What working looks like — Stripe → Microsoft Ads
The MSCLKID on every payment
Conversions arriving in Microsoft Ads
Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent, and become usable for automated bidding.
Reconciled against the source
Stripe → Microsoft Ads · architecture
How Stripe and Microsoft Ads 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
Microsoft Ads needs a click to match
Microsoft matches uploaded conversions to clicks using the MSCLKID, and the conversion goal must be created as an offline conversion type. The click has to fall inside Microsoft's import window — verify the current limit in your account rather than assuming it matches Google's.
- 3
The identifier is the bridge
The MSCLKID, 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
Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.
Stripe → Microsoft Ads · normal or broken
Working vs. broken, side by side — Stripe → Microsoft Ads
Normal, not a fault
The MSCLKID present on the payment
Sent from the Stripe webhook
Deduplicated correctly
Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.
Reconciles with the source
Actually broken
The MSCLKID 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
Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.
Nobody has reconciled it
Stripe → Microsoft Ads · diagnose
Diagnostic order — Stripe → Microsoft Ads
- 01
Count payments carrying the MSCLKID
- 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
Confirm auto-tagging is enabled and check the upload diagnostics
One account setting decides whether any of this works. Then read the per-row errors on the upload rather than the success count.
- 05
Read the match rate, not the success message
Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.
Stripe → Microsoft Ads · prove
How it gets proven — Stripe → Microsoft Ads
Source of truth
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
- The MSCLKID confirmed present on a live payment.
- Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
- A refunded payment confirmed to reverse, not just the sale confirmed to send.
Stripe → Microsoft Ads · free audit
What we check in the free audit
- Count payments carrying the MSCLKID
- Follow one real conversion end to end
- Open one succeeded PaymentIntent in the Stripe dashboard
- Confirm auto-tagging is enabled and check the upload diagnostics
- 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 → Microsoft Ads · when not to buy
When you don't need this — Stripe → Microsoft Ads
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the MSCLKID.
- 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 are not running Microsoft Ads at meaningful spend, skip it — though for B2B the traffic is often cheaper and better qualified than people expect, which is worth testing before dismissing.
Stripe → Microsoft Ads · what we deliver
What gets built — Stripe → Microsoft Ads
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 Microsoft Ads
Offline conversion import through the Microsoft Advertising API or a scheduled upload.
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 → Microsoft Ads questions, answered
Store the MSCLKID in Stripe metadata when the session or PaymentIntent is created, then upload succeeded payments against an offline conversion goal with value, currency and the paid time.
Microsoft supports conversion adjustments for offline goals; confirm it in your account. The charge.refunded webhook carries the MSCLKID from metadata, so the retraction can be matched to the original click.
Almost always because the MSCLKID 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.
The MSCLKID, appended to your landing page URL when auto-tagging is enabled in the Microsoft Ads account. Auto-tagging is not on by default in every account, which is the single most common reason a Microsoft offline import finds nothing to match. Microsoft also supports enhanced conversions using hashed customer data as an alternative path.
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.
Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.
More on Stripe → Microsoft Ads
- Stripe Billing → Microsoft AdsConnecting Stripe Billing to Microsoft Ads
- Microsoft · Lead → booked callHow to track lead to booked call for Microsoft Ads
- Microsoft · Booked call → closed wonHow to track booked call to closed won for Microsoft Ads
RELATED GUIDES
Where Stripe → Microsoft Ads fits in the rest of your tracking
- Microsoft · SubscriptionsMicrosoft Ads conversion tracking for subscription businesses
- Microsoft · SaaSMicrosoft Ads conversion tracking for SaaS companies
- Microsoft × Ecommerce OrdersHow to reconcile Microsoft Ads against your store's order table
- Microsoft · Free trial → paidHow to track free trial to paid for Microsoft Ads
- PayPal → Microsoft AdsConnecting PayPal to Microsoft Ads
- Stripe → SnapchatConnecting Stripe to Snapchat
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Stripe Billing → Microsoft AdsConnecting Stripe Billing to Microsoft Ads
Free · 30 min
Get Stripe and Microsoft Ads joined properly
Free30 minutesNo obligation
