Skip to content
ERP Builders

Integration · Payments

Razorpay integration for Indian businesses

Razorpay is one of India's most widely used payment gateways, supporting UPI, cards, net banking and wallets. Connected to the ERP, customers can pay invoices online and finance can reconcile settlements without spreadsheets.
Integration flow from Razorpay through an integration layer with queueing, mapping and retries into ERPSOURCERazorpaywebhook · RESTINTEGRATION LAYERValidate + mapQueue (idempotent)Retry w/ backoffDead-letter + alertSYSTEM OF RECORDERPorders · stock · ledgerINBOUND (ORDERS, CUSTOMERS)OUTBOUND (STOCK, STATUS, INVOICES)

Overview

What this integration is for

Odoo includes a Razorpay payment provider for online payments; we configure it and add the reconciliation and reporting finance teams need.

01Data

What data syncs, and in which direction

Data synchronised between Razorpay and the ERP
EntityDirectionNotes
PaymentsApp → ERPSuccessful payments recorded against invoices or orders.
Payment linksERP → AppLinks created for invoices and sent by email or WhatsApp.
RefundsERP → AppRefunds triggered from credit notes.
SettlementsApp → ERPSettlement reports matched to payments, with fees and GST on fees posted.

02Use cases

Common use cases

01

Faster collections

Payment links on every invoice.

02

Online orders

UPI and card payments at eCommerce checkout.

03

Clean reconciliation

Settlements matched to payments and bank deposits.

03 — Architecture

API architecture

Payment events arrive by webhook, are verified with the webhook secret and processed idempotently. Settlement data is fetched daily and matched to payments and bank statement lines.

Integration flow from Razorpay through an integration layer with queueing, mapping and retries into ERPSOURCERazorpaywebhook · RESTINTEGRATION LAYERValidate + mapQueue (idempotent)Retry w/ backoffDead-letter + alertSYSTEM OF RECORDERPorders · stock · ledgerINBOUND (ORDERS, CUSTOMERS)OUTBOUND (STOCK, STATUS, INVOICES)

04Reliability

Authentication, errors and retries

01

Authentication

Razorpay key ID and secret plus a webhook secret, stored securely.

02

Error handling

Unmatched payments go to a review queue; webhook signature failures are logged and rejected.

03

Retry strategy

Razorpay retries webhooks; the integration also polls recent payments to catch any missed.

05 — Data mapping

Field mapping essentials

Field mapping between Razorpay and the ERP
RazorpayERP
payment_idPayment reference
order_id / notesInvoice or sales order
settlement fees and taxBank charges and input GST

06 — Automation

Automation opportunities

  • Invoice marked paid as soon as the payment is captured
  • Daily settlement reconciliation
  • Failed payment follow-up

07 — Security

Security considerations

Card data never touches the ERP; webhooks verified; least-privilege API keys.

Related

Where this integration fits

Insights

Related reading

ERP Integrations2 min read

RFID Integration with Odoo: A Practical Architecture

How to integrate RFID readers with Odoo inventory: middleware design, mapping EPCs to products and serials, receiving and counting flows, performance and what to build vs buy.

FAQ

Frequently asked questions

Does Odoo support Razorpay?

Yes, Odoo includes a Razorpay payment provider. Settlement reconciliation usually needs additional setup.

Can customers pay by UPI?

Yes, UPI is supported through Razorpay checkout and payment links.

Next step

Connecting Razorpay to your ERP?

Tell us your volumes, channels and data rules. We will outline the architecture and the risks before anything is built.