Skip to main content
Razorpay → AttentiveIntegration guide

Connecting Razorpay to Attentive

Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. Attentive is SMS, where the identifier is a phone number, the consent rules are legal rather than advisory, and a mistake reaches the customer's pocket within seconds. The join between them succeeds or fails on one thing: whether the subscriber's phone number reaches the Razorpay payment before the conversion happens, because Attentive can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Razorpay and Attentive: an Indian payer list meets a US SMS tool

For most Razorpay merchants, Attentive is a mismatch: payments carry Indian +91 numbers, and Indian promotional SMS runs under TRAI's DLT rules, not Attentive's. Only an Indian brand selling to US customers should send payment.captured as a purchase keyed on E.164 phone, amount converted, for existing opted-in subscribers only, deduplicated on the Razorpay order ID.

Attentive is built around US SMS consent law, and the phone numbers on Razorpay payments are overwhelmingly Indian +91 mobiles. Promotional SMS in India runs under TRAI's DLT registration of sender IDs and templates, not under the rules Attentive is designed for, so for most Razorpay merchants this pair is a mismatch: the data exists, but the channel and the legal framework are pointed at a different country. Check which countries Attentive will actually message for your account before building anything.

The case where it does fit is narrow: an Indian brand selling to US customers, taking international cards through Razorpay, with a US SMS program whose subscribers opted in through Attentive's own sign-up units. There, send payment.captured to Attentive as a purchase keyed on the phone number in E.164 format, with the amount converted from the smallest currency unit Razorpay reports, and only for numbers that are already subscribers. Never use a phone number from the Razorpay checkout as consent; Razorpay asks for it to process payment, not to send marketing texts.

Use the Razorpay order ID as a deduplication key in your own pipeline before sending, since a retried webhook would otherwise send a second post-purchase text. Everything else, including domestic Indian SMS, belongs on a DLT-compliant Indian provider.

Razorpay → Attentive · what breaks

Why this join usually fails — Razorpay → Attentive

  1. 01

    The subscriber's phone number 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

    Consent state treated as a tracking detail rather than a legal one

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  4. 04

    Nothing reconciles afterwards

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

Razorpay → Attentive · the fix

What working looks like — Razorpay → Attentive

  • The subscriber's phone number on every payment

  • Conversions arriving in Attentive

    The event lands on the subscriber, triggers the journeys that depend on it, and becomes available for segmentation.

  • Reconciled against the source

Razorpay → Attentive · architecture

How Razorpay and Attentive 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

    Attentive needs a click to match

    Attentive needs the subscriber's phone number, the event name and its properties. It also needs the subscriber to have consented — an event about someone who never opted in cannot legally be messaged, whatever the event says.

  3. 3

    The identifier is the bridge

    The subscriber's phone number, 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

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

Razorpay → Attentive · normal or broken

Working vs. broken, side by side — Razorpay → Attentive

Normal, not a fault

  • The subscriber's phone number present on the payment

  • Sent from the Razorpay payment.captured webhook

  • Deduplicated correctly

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

  • Reconciles with the source

Actually broken

  • The subscriber's phone number 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

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  • Nobody has reconciled it

Razorpay → Attentive · diagnose

Diagnostic order — Razorpay → Attentive

  1. 01

    Count payments carrying the subscriber's phone number

  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

    Verify that events for non-consented customers cannot trigger a send

    Check the journey's entry conditions, not the event pipeline. The pipeline will happily deliver an event about someone who never opted in; the journey is what must refuse to act on it.

  5. 05

    Read the match rate, not the success message

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

Razorpay → Attentive · prove

How it gets proven — Razorpay → Attentive

Source of truth

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

  • The subscriber's phone number confirmed present on a live payment.
  • Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
  • A UPI payment approved in the banking app without returning to the site, confirmed to report.

Razorpay → Attentive · free audit

What we check in the free audit

  • Count payments carrying the subscriber's phone number
  • Follow one real conversion end to end
  • Compare captured payments against confirmation-page loads on mobile
  • Verify that events for non-consented customers cannot trigger a send
  • 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 → Attentive · when not to buy

When you don't need this — Razorpay → Attentive

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the subscriber's phone number.
  • If your Razorpay volume is card-only, the app-switch problem largely disappears.
  • If you do not have a consented SMS list, the integration is the least of the work. Building the list compliantly comes first, and no event pipeline substitutes for it.

Razorpay → Attentive · what we deliver

What gets built — Razorpay → Attentive

  • 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 Attentive

    The Attentive events API, posted server-side from your order system with the subscriber's phone number and the event properties.

  • 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 → Attentive questions, answered

Not as subscribers. A phone number collected to process payment is not SMS marketing consent, and most Razorpay numbers are Indian, which Attentive is not built to message.

Free · 30 min

Get Razorpay and Attentive joined properly

Free30 minutesNo obligation