DevTalents

Moneris Odoo Integration: Our New Card Payment Module

Card form on your website or Moneris payment page, 3-D Secure, saved cards, full or partial capture at shipping, refunds, subscriptions: Moneris card payments managed from Odoo, for Canadian merchants
Ines MlaouhiaDevTalents Odoo agency
  • 7 min read
Moneris Odoo Integration: Our New Card Payment Module Billy, the DevTalents mascot, examining the article with a magnifying glass

The Moneris payment gateway, now integrated with Odoo

Moneris processes about one in three card transactions in Canada. Our new Moneris module for Odoo connects your Moneris account to Odoo: your customers pay by card on your website, in their customer portal or from a payment link, and every payment is recorded in Odoo with its invoice and its accounting entry.

This Moneris Odoo integration is built for Canadian businesses that take card payments in Canadian dollars with a Moneris merchant account. Your customers pay either in a Moneris form shown on your website, or on the Moneris payment page. This article explains what the module does, the Odoo payment flows we tested with Moneris, and how to get started.

Why connect Moneris to Odoo

Moneris is Canada's largest card payment processor. Many merchants already have their account there, in store and online. When they move to Odoo, they want to keep Moneris without typing every payment twice.

Without a module, you take the payment in Moneris and then record it in Odoo, invoice by invoice. With the module, everything starts from Odoo: the payment, the capture, the refund and the match with the invoice.

The module runs on Moneris' newest payment platform. It lets you capture an order in several steps, safely repeat a request without any risk of a double charge, and manage saved cards straight from Odoo.

Moneris card payments in Odoo

On your website, in a Moneris form

The customer chooses Card and types the card number in a secure form provided by Moneris, shown right on your payment page. They never leave your website, and a typing error is shown to them in English or French.

Or on the Moneris payment page

The customer clicks Pay and lands on the Moneris payment page, with the amount and their address already filled in by Odoo. They type the card at Moneris, then come back to the Odoo confirmation page. You set the look of the page and the receipt in your Moneris account.

You choose the option in Odoo, on the Moneris payment provider. With the form on your website, customers can also save their card for their next purchases: they find it in their customer portal, and if they delete it, it is also deleted at Moneris. With the Moneris payment page, Moneris shows the card form and the receipt, and Odoo checks the result of the payment directly with Moneris before confirming the order.

Either way, the card number never goes through your Odoo database: it is typed at Moneris. Your scope under PCI DSS, the standard that governs card data security, stays as small as it can be.

3-D Secure, the confirmation step run by the customer's bank, is supported with both options, once Moneris has enabled it on your account: with nothing to do for the customer when their bank allows it, with the code received by text message when it asks for it. The module accepts Visa, Mastercard, American Express, Discover, JCB and UnionPay, depending on the cards open on your Moneris agreement.

Moneris captures and refunds from Odoo

  • Capture at shipping: the card is only authorized when the order is placed. You collect the amount when you ship, in full or in part if some items are missing, and Moneris releases the rest. If the order is cancelled, you release the authorization in one click.
  • Refund in full or in part from the payment in Odoo, without opening Moneris. The refund is linked to the original payment, which makes reconciliation easier.
  • Charge a saved card: your accountant settles an invoice with the card the customer saved, without ever typing a card number.
  • Renew subscriptions: with the Odoo Subscriptions app, each renewal is charged to the saved card, with nothing to do on your side.

Moneris tells apart the payments made by the customer from the ones you trigger later, such as a subscription renewal or a payment entered by your accounting team. The module sends this information with every payment, as Visa and Mastercard require, which avoids needless declines on saved cards.

The Odoo payment flows tested with Moneris

A payment module is not only for the online shop: Odoo asks for payment in many apps, each with its own flow. We tested these end to end, with real exchanges with the Moneris test environment:

  • the connection test of your Moneris credentials, from the payment provider form;
  • the online shop, as a guest, with a Quebec address;
  • 3-D Secure, with nothing to do for the customer and with the code sent by the bank;
  • payment links sent from an invoice, for the full amount or part of it;
  • the customer portal, even without the Website app: invoices, and quotations with a down payment;
  • saved cards: payment by the customer, and deletion that also removes the card at Moneris;
  • subscription renewals charged to the saved card;
  • payments registered by your accountant with the customer's card;
  • capture at shipping, in full or in part, and cancellation of an authorization;
  • full and partial refunds from the payment, including payments captured at shipping;
  • online payment of a Point of Sale order;
  • the Moneris payment page: payment with and without the bank code, partial capture at shipping, cancellation, refunds, declined card, customer going back and receipt shown by Moneris.

The module uses the standard Odoo payment page: it is offered wherever Odoo asks for a payment, including the online shop and the other apps that take payments.

A Moneris module built to never charge twice

With card payments, the worst cases are a double charge, or a payment approved by the bank but missed by Odoo. The module was written for exactly these cases:

  • a double click or a second submission of the form never charges the card twice;
  • if Moneris does not answer in time, the payment is not sent again: Odoo looks it up at Moneris and updates the order on its own. We checked it by cutting the Moneris answer on purpose;
  • a customer who pays on the Moneris page then closes the tab before coming back to your website is not lost: Odoo finds the payment at Moneris a few minutes later. We checked it by blocking their return on purpose;
  • every answer is checked against the Odoo amount and currency before the payment is confirmed;
  • your Moneris credentials are only visible to administrators and never written in the logs.

Installing the Moneris module in Odoo

The module is available for Odoo Community and Enterprise on the Odoo Apps Store. Its detailed page is also in our Odoo modules catalog. Getting started takes a few steps:

  1. install the module from the Apps menu;
  2. in Odoo, open the Moneris payment provider and choose where your customers pay: on your website, or on the Moneris payment page;
  3. for the form on your website: in your Moneris developer account, create the connection credentials for Odoo and note your merchant number, then create the profile of the card form in your merchant account;
  4. for the Moneris payment page: in your merchant account, create a payment page profile and note your store number and your access key;
  5. enter this information in Odoo and click Test Connection;
  6. run your tests in test mode, then switch to production;
  7. choose whether customers can save their card, whether payments are captured at shipping and whether 3-D Secure is requested.

Moneris and Odoo: frequently asked questions

Can I take payments in another currency than Canadian dollars?

Moneris settles merchants in Canadian dollars. If the Moneris multi-currency pricing option is active on your account, your customers can pay in their own currency while you are settled in Canadian dollars, and the module then accepts these currencies.

Form on my website or Moneris payment page: which one should I choose?

The form on your website keeps the customer on your site and allows saved cards, payments entered by your accountant and subscription renewals. The Moneris payment page suits you if you prefer the customer to pay on a Moneris page, whose look you set in your Moneris account. Either way, capture at shipping, cancellation and refunds are done from Odoo.

I use the Moneris plugin for WooCommerce: what changes with Odoo?

You keep the essentials: card payments on your website, saved cards, delayed capture and refunds. The difference is that everything is tied to your orders, invoices and accounting payments in Odoo, with no double entry.

Does the module work on Odoo Online?

No. It is a third-party module, which Odoo Online does not accept. It installs on Odoo.sh or on your own server.

Can you install it for us?

Yes. We install the module and connect it to your Moneris account. We also build other payment gateways for Odoo, such as PayTrace for the United States.

Taking payments with Moneris and moving to Odoo?

Tell us which payment flows you use in Odoo: we tell you what to install, or we do it for you. Contact us, or see the Moneris Payment Provider module page.

An Odoo project in mind?

Tell us about it: we reply within 48 hours with a first analysis.

Discuss your project
Billy, the DevTalents mascot, answering a message on his phone