Connecting Razorpay to Meta Conversions API
Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. Meta's pixel loses a large share of conversions to Safari, ad blockers and iOS, and the Conversions API exists because of it. The join between them succeeds or fails on one thing: whether the fbc and fbp values reaches the Razorpay payment before the conversion happens, because Meta can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Razorpay to Meta: Purchase from payment.captured, fbc in notes
Send Meta a Purchase from Razorpay's payment.captured webhook, with fbc and fbp written into the order notes at creation, the payment ID as event_id shared with the pixel, value divided by 100 in INR, and hashed phone normalized with +91 plus email. For click-to-WhatsApp sales, create Payment Links through the API with the ad's identifiers in notes.
Meta should receive a Purchase from the Razorpay payment.captured webhook, with the fbc and fbp values written into the order's notes when your server created it, the payment ID as event_id, and the customer's phone and email hashed. Phone carries more weight than usual in this market, since many checkouts collect a mobile number and nothing else; normalize it with the +91 code before hashing.
Value is the easy mistake. The webhook amount is in paise, so divide by 100 and send currency INR. If the browser pixel also fires Purchase on the confirmation page, give it the same Razorpay payment ID as event_id. Card buyers return and trigger both; UPI buyers often do not return, and the server event is then the only record Meta gets.
Many Indian sellers close sales over WhatsApp after click-to-WhatsApp ads and send a Razorpay Payment Link in the chat. Check whether you can create those links through the API with the ad's identifiers in notes; a link made by hand in the dashboard has no attribution and Meta will never credit the ad. Refunds do not reverse in Meta, so reconcile against captured payments net of refunds.
Razorpay → Meta · what breaks
Why this join usually fails — Razorpay → Meta
- 01
The fbc and fbp values 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.
- 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.
- 03
Double counting from broken deduplication
Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.
- 04
Nothing reconciles afterwards
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
Razorpay → Meta · the fix
What working looks like — Razorpay → Meta
The fbc and fbp values on every payment
Conversions arriving in Meta
Events appear in Events Manager with an Event Match Quality score, deduplicated against the pixel, and become usable for optimization and attribution.
Reconciled against the source
Razorpay → Meta · architecture
How Razorpay and Meta actually connect
- 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
Meta Conversions API needs a click to match
Meta matches server events to people using whatever identifiers you send, hashed with SHA-256 where required. There is no single mandatory key, which is why quality varies so much between implementations — a poorly matched event is accepted, reported, and worth much less than it appears.
- 3
The identifier is the bridge
The fbc and fbp values, captured at the visit and carried into the Razorpay payment.
- 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
Deduplication at the destination
Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.
Razorpay → Meta · normal or broken
Working vs. broken, side by side — Razorpay → Meta
Normal, not a fault
The fbc and fbp values present on the payment
Sent from the Razorpay payment.captured webhook
Deduplicated correctly
Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.
Reconciles with the source
Actually broken
The fbc and fbp values 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
Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.
Nobody has reconciled it
Razorpay → Meta · diagnose
Diagnostic order — Razorpay → Meta
- 01
Count payments carrying the fbc and fbp values
- 02
Follow one real conversion end to end
- 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.
- 04
Read Event Match Quality and the deduplication indicator
In Events Manager, open the event and check both. A low match quality means weak identifiers; a missing deduplication indicator means your event_id pairing is broken.
- 05
Read the match rate, not the success message
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
Razorpay → Meta · prove
How it gets proven — Razorpay → Meta
Source of truth
Razorpay's captured payments by date, net of refunds.
- The fbc and fbp values confirmed present on a live payment.
- Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
- A UPI payment approved in the banking app without returning to the site, confirmed to report.
Razorpay → Meta · free audit
What we check in the free audit
- Count payments carrying the fbc and fbp values
- Follow one real conversion end to end
- Compare captured payments against confirmation-page loads on mobile
- Read Event Match Quality and the deduplication indicator
- Read the match rate, not the success message
Checked against
Razorpay's captured payments by date, net of refunds.
Free30 minutesNo obligation
Razorpay → Meta · when not to buy
When you don't need this — Razorpay → Meta
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the fbc and fbp values.
- If your Razorpay volume is card-only, the app-switch problem largely disappears.
- If you are not running Meta ads at meaningful spend, the Conversions API is effort without payoff. It earns its cost when the optimization signal is worth improving.
Razorpay → Meta · what we deliver
What gets built — Razorpay → Meta
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 Meta
Server-side events to the Conversions API with the event_id matched to the pixel, action_source set correctly, and customer data hashed before it leaves your infrastructure.
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.
From $400 · See packages
FAQ
Razorpay → Meta questions, answered
Razorpay sends amounts in paise. Divide by 100 and send currency INR.
Only if the payment link carries identifiers you can send back. Check whether you can create links through the API with notes; hand-made links cannot be joined.
Almost always because the fbc and fbp values never reached the Razorpay payment. 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. Measure coverage before debugging the dispatch.
Two things. The _fbc cookie, derived from the fbclid parameter on the landing URL in the format fb.1.<timestamp>.<fbclid>, is the click identifier. The _fbp cookie is the browser identifier. Beyond those, Meta matches on hashed customer information — email, phone, name, city, country — and every additional field raises the Event Match Quality score. Unlike Google, Meta does not need a click ID at all if the customer data is good, but match quality drops noticeably without it.
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.
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
More on Razorpay → Meta
- Meta · Lead → booked callHow to track lead to booked call for Meta Ads
- Meta · Booked call → closed wonHow to track booked call to closed won for Meta Ads
- Meta · Free trial → paidHow to track free trial to paid for Meta Ads
RELATED GUIDES
Where Razorpay → Meta fits in the rest of your tracking
- Meta · Financial servicesMeta Ads conversion tracking for financial services firms
- Meta · SubscriptionsMeta Ads conversion tracking for subscription businesses
- Meta × SubscriptionsHow to reconcile Meta Ads against your billing system
- Meta · Free trial → paidHow to track free trial to paid for Meta Ads
- Checkout.com → MetaConnecting Checkout.com to Meta Conversions API
- Razorpay → RedditConnecting Razorpay to Reddit
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Sezzle → MetaConnecting Sezzle to Meta Conversions API
Free · 30 min
Get Razorpay and Meta joined properly
Free30 minutesNo obligation
