Skip to main content
Razorpay → Microsoft AdsIntegration guide

Connecting Razorpay to Microsoft Ads

Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. 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 Razorpay payment 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

Razorpay to Microsoft Ads: msclkid in order notes, INR values

Bing's Indian share is small, so confirm Microsoft Ads matters first. Store the msclkid in the Razorpay order notes at creation and upload captured payments, never authorized ones, to an offline conversion goal, amounts divided by 100 with INR currency on each row. Even desktop UPI approvals happen on a phone, so upload from payment.captured, not the confirmation page.

Bing's share of Indian search is small, so check that Microsoft Ads is a meaningful line before building this. Where it is, often in B2B, finance, education or for desktop-heavy buyers, the join is clean: store the msclkid in the Razorpay order notes when your server creates the order, and upload captured payments to an offline conversion goal.

Two Razorpay details decide whether the numbers are right. Amounts are in paise, so divide by 100, and send INR as the currency code on each row rather than converting it yourself; check how your account reports conversions in its own currency. And upload captured payments, not authorized ones: merchants without auto-capture can have authorizations that never capture and are refunded automatically after a set period.

UPI's app switch matters less here than on mobile-first networks, but it does not vanish. On desktop, UPI means scanning a QR code or approving a collect request on the phone, and the desktop tab can time out or be closed while the customer approves. The webhook still fires; only the browser loses track. That is why the upload should come from payment.captured with the notes, never from the confirmation page.

Razorpay → Microsoft Ads · what breaks

Why this join usually fails — Razorpay → Microsoft Ads

  1. 01

    The MSCLKID never reaches Razorpay

    UPI sends the customer into a banking app to approve, and on mobile that app switch frequently ends the browser session. The payment completes and the browser that started it may never come back to fire anything.

  2. 02

    UPI app switching ends the browser session

    The customer leaves the browser for a banking app to approve, and on many devices does not return. Payment succeeds, page never fires — and UPI is the majority method in this market.

  3. 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.

  4. 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.

Razorpay → Microsoft Ads · the fix

What working looks like — Razorpay → 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

Razorpay → Microsoft Ads · architecture

How Razorpay and Microsoft Ads actually connect

  1. 1

    Razorpay holds the truth

    Razorpay separates authorised and captured. Auto-capture is common but not universal, and reporting on authorised inflates the figure by whatever fails to capture.

  2. 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. 3

    The identifier is the bridge

    The MSCLKID, captured at the visit and carried into the Razorpay payment.

  4. 4

    The event source decides reliability

    Fire on captured. The app-switch behaviour of UPI makes any browser-based trigger unreliable in a way that is much more pronounced here than on card markets.

  5. 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.

Razorpay → Microsoft Ads · normal or broken

Working vs. broken, side by side — Razorpay → Microsoft Ads

Normal, not a fault

  • The MSCLKID present on the payment

  • Sent from the Razorpay payment.captured 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

    UPI sends the customer into a banking app to approve, and on mobile that app switch frequently ends the browser session. The payment completes and the browser that started it may never come back to fire anything.

  • Sent from the browser

    The customer leaves the browser for a banking app to approve, and on many devices does not return. Payment succeeds, page never fires — and UPI is the majority method in this market.

  • 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

Razorpay → Microsoft Ads · diagnose

Diagnostic order — Razorpay → Microsoft Ads

  1. 01

    Count payments carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare captured payments against confirmation-page loads on mobile

    Split by payment method. The UPI gap will be much larger than the card gap.

  4. 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.

  5. 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.

Razorpay → Microsoft Ads · prove

How it gets proven — Razorpay → Microsoft Ads

Source of truth

Razorpay's captured payments by date, net of refunds.

  • The MSCLKID confirmed present on a live payment.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • A UPI payment approved in the banking app without returning to the site, confirmed to report.

Razorpay → Microsoft Ads · free audit

What we check in the free audit

  • Count payments carrying the MSCLKID
  • Follow one real conversion end to end
  • Compare captured payments against confirmation-page loads on mobile
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • Read the match rate, not the success message

Checked against

Razorpay's captured payments by date, net of refunds.

Get my free conversion tracking audit

Free30 minutesNo obligation

Razorpay → Microsoft Ads · when not to buy

When you don't need this — Razorpay → Microsoft Ads

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the MSCLKID.
  • If your Razorpay volume is card-only, the app-switch problem largely disappears.
  • 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.

Razorpay → Microsoft Ads · what we deliver

What gets built — Razorpay → Microsoft Ads

  • Identifier capture into Razorpay

    Pass the click identifier into the Razorpay order's notes when your server creates the order. Notes survive to the payment and to the webhook regardless of what the browser did.

  • Event source: the Razorpay payment.captured webhook

    Fire on captured. The app-switch behaviour of UPI makes any browser-based trigger unreliable in a way that is much more pronounced here than on card markets.

  • Dispatch to Microsoft Ads

    Offline conversion import through the Microsoft Advertising API or a scheduled upload.

  • Reversals where they exist

    Refunds are exposed and carry the original notes.

Written guarantee

95%+ tracking accuracy

Measured against Razorpay's captured payments by date, net of refunds.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Razorpay → Microsoft Ads questions, answered

Read msclkid from the landing URL, store it in a first-party cookie, and add it to the order notes when your server creates the Razorpay order.

Free · 30 min

Get Razorpay and Microsoft Ads joined properly

Free30 minutesNo obligation