Connecting Razorpay to Customer.io
Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the Razorpay payment before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Razorpay subscription events into Customer.io dunning campaigns
Razorpay Subscriptions events map directly to Customer.io campaigns: subscription.charged for a renewal receipt, subscription.pending for a reminder, subscription.halted for win-back. Since pending often self-resolves, do not email on the first one. Key events on the Customer.io person ID stored in subscription notes, include the subscription ID, and route test-mode webhooks to a separate workspace.
The strongest reason to connect Razorpay to Customer.io is subscriptions. Razorpay Subscriptions emits subscription.charged on each renewal, subscription.pending when a charge fails and is being retried, and subscription.halted when retries run out. Those three events map directly onto a renewal receipt, a gentle payment reminder and a win-back campaign, and none of them requires a click identifier.
Indian recurring payments fail more often than card renewals elsewhere because they depend on UPI AutoPay or card e-mandates, which have their own approval rules and limits set by the RBI. So the pending state is common and mostly self-resolving; a Customer.io campaign that emails on the first pending event will nag people whose next retry succeeds. Key every event on the Customer.io person ID you stored in the subscription's notes at creation, and use Razorpay's subscription ID in event properties so a campaign can tell whether it is talking about the same plan.
Point your Razorpay test-mode webhook at a separate Customer.io workspace. Test-mode payments made with test keys fire real webhooks, and if they reach production, a developer checking checkout sends real customers real campaign emails.
Razorpay → Customer.io · what breaks
Why this join usually fails — Razorpay → Customer.io
- 01
The person identifier you assign 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
A test event sending a real email
Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.
- 04
Nothing reconciles afterwards
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
Razorpay → Customer.io · the fix
What working looks like — Razorpay → Customer.io
The person identifier you assign on every payment
Conversions arriving in Customer.io
The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.
Reconciled against the source
Razorpay → Customer.io · architecture
How Razorpay and Customer.io 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
Customer.io needs a click to match
Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.
- 3
The identifier is the bridge
The person identifier you assign, 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
Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.
Razorpay → Customer.io · normal or broken
Working vs. broken, side by side — Razorpay → Customer.io
Normal, not a fault
The person identifier you assign present on the payment
Sent from the Razorpay payment.captured webhook
Deduplicated correctly
Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.
Reconciles with the source
Actually broken
The person identifier you assign 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
Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.
Nobody has reconciled it
Razorpay → Customer.io · diagnose
Diagnostic order — Razorpay → Customer.io
- 01
Count payments carrying the person identifier you assign
- 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
Confirm which workspace you are writing to before sending anything
Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.
- 05
Read the match rate, not the success message
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
Razorpay → Customer.io · prove
How it gets proven — Razorpay → Customer.io
Source of truth
Razorpay's captured payments by date, net of refunds.
- The person identifier you assign confirmed present on a live payment.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- A UPI payment approved in the banking app without returning to the site, confirmed to report.
Razorpay → Customer.io · free audit
What we check in the free audit
- Count payments carrying the person identifier you assign
- Follow one real conversion end to end
- Compare captured payments against confirmation-page loads on mobile
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
Razorpay's captured payments by date, net of refunds.
Free30 minutesNo obligation
Razorpay → Customer.io · when not to buy
When you don't need this — Razorpay → Customer.io
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the person identifier you assign.
- If your Razorpay volume is card-only, the app-switch problem largely disappears.
- If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
Razorpay → Customer.io · what we deliver
What gets built — Razorpay → Customer.io
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 Customer.io
The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.
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 → Customer.io questions, answered
Forward subscription.pending and subscription.halted webhooks as events on the person ID stored in the subscription notes. Act on halted for win-back, and delay messages on pending since many retries succeed.
The test-mode webhook was pointed at the production workspace. Route test-mode webhooks to a separate workspace.
Almost always because the person identifier you assign 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.
Customer.io identifies people by an ID you control, with email as a common choice. Anonymous events can be sent and later merged, but a mismatch creates a second profile — and a second profile means a second copy of every campaign that person is enrolled in.
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.
Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.
More on Razorpay → Customer.io
- Stripe → Customer.ioConnecting Stripe to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
- Shopify → Customer.ioConnecting Shopify to Customer.io
RELATED GUIDES
Where Razorpay → Customer.io fits in the rest of your tracking
- Zip → Customer.ioConnecting Zip to Customer.io
- Helcim → Customer.ioConnecting Helcim to Customer.io
- Splitit → Customer.ioConnecting Splitit to Customer.io
- Razorpay → Marketing CloudConnecting Razorpay to Salesforce Marketing Cloud
- Razorpay → AttentiveConnecting Razorpay to Attentive
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Affirm → Customer.ioConnecting Affirm to Customer.io
- Zuora → Customer.ioConnecting Zuora to Customer.io
Free · 30 min
Get Razorpay and Customer.io joined properly
Free30 minutesNo obligation
