Instamojo Payment Gateway - UPI, Cards, Net Banking, Wallets | India Payment Gateway
by Modvanta
Odoo
$ 38.89

Collect UPI, card, net banking and wallet payments in rupees through Instamojo, with the result checked by Odoo.
Instamojo | API v2 | UPI | Cards | Net Banking | Wallets | EMI | INR | Light checkout | Webhook MAC | Refunds | Sandbox | Odoo 19
Written and supported by Modvanta - modvantaapps@gmail.com
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.
| Instamojo API v2: client ID and secret, access token requested and kept until it expires, renewed by itself | |
| Payment request: exact amount in INR, your payment reference as the purpose, buyer name, email and phone filled in, one payment per request | |
| Light checkout: the short Instamojo page that goes straight to the payment step (can be turned off) | |
| Status read back: on 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 MAC: every webhook is checked with HMAC-SHA1 and your private salt before anything changes | |
| Paid with: UPI, card, net banking, wallet or EMI set on the payment, with the Instamojo fees | |
| Failed payments: the reason Instamojo gives is kept on the transaction | |
| Refunds: one refund per payment, full or a lower amount, with the reason code you choose; the refund case is followed until Instamojo closes it | |
| Missed returns: a check every few minutes reads payment requests whose customer never came back | |
| Sandbox and live: Test mode uses test.instamojo.com, Enabled uses api.instamojo.com | |
| API log: each call and webhook with its status; secret, token, names, emails and phones masked |
Who it is for
INDIAN ONLINE SHOPS Take UPI and cards on the Odoo website in rupees. | SERVICE BUSINESSES Send a payment link or a portal invoice and get paid by UPI. | SMALL SELLERS ON INSTAMOJO Keep the Instamojo account you already have and record payments in Odoo. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Instamojo as a payment provider | Not included | Payment requests through API v2 |
| Webhook check | Not included | MAC with your private salt |
| Refunds to Instamojo from Odoo | Not included | Full or partial, one per payment |
| Payment status from the API | Not included | Read on return, webhook and every few minutes |
See it in Odoo
Credentials
Client ID, client secret and private salt (administrators only), and the webhook address.

Options
Light checkout, the refund reason code and how long the API log is kept.

At checkout
A payment link with UPI, cards, net banking and wallets through Instamojo.

Transactions
Instamojo payments with a refund and a failed payment.

A UPI payment
The payment request, the payment ID, the fees and how the customer paid.

A card payment
Paid by credit card, method set from the payment.

A failed payment
The reason given by Instamojo.

API log
Token, payment requests, status checks, refunds and webhooks.

How it works
1 | Get your credentials In Instamojo, API & Plugins: the client ID, client secret and private salt. Use a test.instamojo.com account for the sandbox. |
2 | Set up the provider Invoicing, Configuration, Payment Providers, Instamojo: paste them and press Test Connection. |
3 | Nothing to paste for the webhook Odoo sends its webhook address with each payment request. |
4 | Go live Try a payment in Test mode, then paste the live credentials and switch to Enabled. |
Settings
| Credentials: client ID, client secret, private salt (administrators only) | |
| Payment page: light checkout on or off | |
| Refunds: reason code sent with refunds | |
| API log: how many days to keep it |
Questions
Which payment methods can my customers use?
The ones Instamojo offers on your account: UPI, cards, net banking, wallets and EMI. The customer picks on the Instamojo page.
What amounts are accepted?
INR 9 to INR 2,00,000 per payment, in rupees only. Outside that range Instamojo is not shown at checkout.
What if the customer pays and closes the browser?
The webhook records the payment, and a check every few minutes reads open payment requests from Instamojo.
Can I refund twice?
No. Instamojo takes one refund per payment; Odoo stops a second one before it is sent.
Is there a monthly fee for the module?
No. You pay once; Instamojo charges its own fees.
Compatibility
Odoo 19 Community and Enterprise. Needs the Payment and Invoicing apps; works with eCommerce, the customer portal and payment links. Built on the public Instamojo API v2 documentation and tested with recorded answers.
Questions before you buy?
Write to modvantaapps@gmail.com. We answer on working days, usually within one day.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module