Odoo 19 app

Instamojo Payment Gateway

Collect UPI, card, net banking and wallet payments in rupees through Instamojo, with the result checked by Odoo.

InstamojoAPI v2UPICardsNet BankingWalletsEMIINR

What it does

Adds Instamojo as a payment provider for Indian businesses. When a customer pays a website order, a portal invoice or a payment link, Odoo creates an Instamojo payment request for the exact amount with the customer's name, email and phone, and sends the customer to the Instamojo page, where they pay by UPI, card, net banking, wallet or EMI. Odoo then reads the payment from Instamojo before it marks the order paid: the status in the browser address is never taken at its word. The webhook is checked with the MAC and your private salt, so a payment is recorded even when the customer closes the tab. Refunds are sent from the payment in Odoo.

Features

Instamojo API v2client ID and secret, access token requested and kept until it expires, renewed by itself
Payment requestexact amount in INR, your payment reference as the purpose, buyer name, email and phone filled in, one payment per request
Light checkoutthe short Instamojo page that goes straight to the payment step (can be turned off)
Status read backon return and on webhook, Odoo reads the payment from Instamojo and checks that it belongs to the payment request, then checks the amount and currency
Webhook MACevery webhook is checked with HMAC-SHA1 and your private salt before anything changes
Paid withUPI, card, net banking, wallet or EMI set on the payment, with the Instamojo fees
Failed paymentsthe reason Instamojo gives is kept on the transaction
Refundsone refund per payment, full or a lower amount, with the reason code you choose; the refund case is followed until Instamojo closes it
Missed returnsa check every few minutes reads payment requests whose customer never came back
Sandbox and liveTest mode uses test.instamojo.com, Enabled uses api.instamojo.com
API logeach call and webhook with its status; secret, token, names, emails and phones masked