Skip to main content
Razorpay → PartnerStackIntegration guide

Connecting Razorpay to PartnerStack

Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the Razorpay payment before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Razorpay subscriptions into PartnerStack recurring commissions

PartnerStack pays on recurring revenue, so report each Razorpay subscription.charged as a transaction and treat subscription.halted as the end of commissionable revenue, never assuming a renewal happened. Store the PartnerStack referral key in the Razorpay customer or subscription notes, send rupees rather than paise, and use the Razorpay subscription ID as the stable reference.

PartnerStack pays partners on recurring revenue, so a Razorpay subscription business has to report every renewal, and stop when renewals stop. Razorpay Subscriptions emits subscription.charged for each successful renewal and subscription.halted when the mandate fails repeatedly. Report each charged event as a transaction against the PartnerStack customer, and treat halted as the end of commissionable revenue, not as a pause you will sort out later.

Indian recurring payments run on UPI AutoPay or card e-mandates under RBI rules, which include per-transaction limits above which the customer has to approve each charge. Plans above those limits renew unreliably, and a PartnerStack integration that assumes a monthly charge happens, rather than waiting for subscription.charged, will commission revenue you never collected. Check whether PartnerStack has a native Razorpay integration in your account; if not, this is a server integration from your webhook handler.

Store the PartnerStack referral key in the Razorpay customer or subscription notes when you create them, because renewals happen with no browser present at all and the key has to come from the record. Send amounts in rupees, not paise, and use the Razorpay subscription ID as the stable reference so a webhook retry does not report a renewal twice.

Razorpay → PartnerStack · what breaks

Why this join usually fails — Razorpay → PartnerStack

  1. 01

    The PartnerStack referral key 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

    A commission that recurs on revenue that stopped

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  4. 04

    Nothing reconciles afterwards

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

Razorpay → PartnerStack · the fix

What working looks like — Razorpay → PartnerStack

  • The PartnerStack referral key on every payment

  • Conversions arriving in PartnerStack

    The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.

  • Reconciled against the source

Razorpay → PartnerStack · architecture

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

    PartnerStack needs a click to match

    PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.

  3. 3

    The identifier is the bridge

    The PartnerStack referral key, 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

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

Razorpay → PartnerStack · normal or broken

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

Normal, not a fault

  • The PartnerStack referral key present on the payment

  • Sent from the Razorpay payment.captured webhook

  • Deduplicated correctly

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

  • Reconciles with the source

Actually broken

  • The PartnerStack referral key 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

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  • Nobody has reconciled it

Razorpay → PartnerStack · diagnose

Diagnostic order — Razorpay → PartnerStack

  1. 01

    Count payments carrying the PartnerStack referral key

  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

    Check whether churn events reach PartnerStack at all

    In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.

  5. 05

    Read the match rate, not the success message

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

Razorpay → PartnerStack · prove

How it gets proven — Razorpay → PartnerStack

Source of truth

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

  • The PartnerStack referral key confirmed present on a live payment.
  • Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
  • A UPI payment approved in the banking app without returning to the site, confirmed to report.

Razorpay → PartnerStack · free audit

What we check in the free audit

  • Count payments carrying the PartnerStack referral key
  • Follow one real conversion end to end
  • Compare captured payments against confirmation-page loads on mobile
  • Check whether churn events reach PartnerStack at all
  • 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 → PartnerStack · when not to buy

When you don't need this — Razorpay → PartnerStack

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the PartnerStack referral key.
  • If your Razorpay volume is card-only, the app-switch problem largely disappears.
  • If you run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.

Razorpay → PartnerStack · what we deliver

What gets built — Razorpay → PartnerStack

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

    Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.

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

Send each subscription.charged webhook as a transaction for the customer, using the referral key stored in the subscription notes. Stop reporting when subscription.halted arrives.

Free · 30 min

Get Razorpay and PartnerStack joined properly

Free30 minutesNo obligation