GoCardless Payments: Direct Debit and Pay by Bank
by ROEKISH https://www.roekish.com/applications/gocardless$ 108.47
Odoo 19 · Accounting / Payment Providers
GoCardless for Odoo 19: Direct Debit and Pay by Bank
Collect invoices and subscriptions from your customers' bank accounts, follow mandates, refunds and failures, and reconcile each payout, all from Odoo.
Odoo talks to your own GoCardless account with your access token. There is no intermediary server, no monthly plan and no percentage taken by the module: you pay the licence once, and GoCardless its usual fees.
Features
| Direct Debit | SEPA in euros, Bacs, ACH, BECS, PAD, Autogiro and Betalingsservice, depending on the schemes enabled on your GoCardless account. The scheme follows the currency of the payment. |
| Pay by Bank | One-off bank payments in EUR and GBP, authorised by the customer in their banking app. Can also take the first payment instantly while the mandate is being set up. |
| Mandates | Set up at checkout, on the customer portal, or from a link you email from the contact form. Existing GoCardless mandates are imported by email address. A mandate that ends archives its saved payment method. |
| Invoices | Collect one invoice, a selection, or every due invoice automatically on its due date. An invoice paid another way, cancelled or reset to draft cancels its pending debit at GoCardless. |
| Instalments | Spread the amount due on an invoice over several monthly debits, each one reconciled with the invoice. |
| Subscriptions | Odoo Subscriptions charge the saved mandate with no extra set-up. GoCardless subscriptions are managed from Odoo too: start, pause, resume, change the amount, cancel. |
| Refunds | Full or partial, from the payment in Odoo. |
| Failures and chargebacks | A debit that fails or is charged back, even weeks after it was confirmed, cancels the payment, reopens the invoice and creates an activity for the person in charge, with the reason given by the bank. |
| Payouts | Each transfer to your bank account is listed with its payments, refunds and fees. An optional journal entry settles each payment and isolates the fees, so the bank statement line reconciles to the cent. |
| Sandbox | A Simulate button plays GoCardless test scenarios (confirmed, failed, charged back, paid out) on a mandate or a payment in test mode. |
In Odoo
Collect a posted invoice on the customer's mandate, or spread it over several debits.

Mandates with their status, bank and reference.

A payout with the payments and fees it contains.

One screen for the credentials, the webhook and the connection test.

Built to be left alone
- Webhook notifications are verified with HMAC-SHA256 and each event is stored before it is processed. A failing event is retried for about ten days and shown on the provider.
- Every hour, Odoo fetches from GoCardless the events the webhook may have missed.
- Every creation carries an idempotency key, and timeouts are retried: a payment is never created twice.
- Return URLs are signed, identifiers are validated, secrets are restricted to administrators and never logged.
- Error messages say what happened and what to do, and carry the GoCardless request identifier. Logs are structured, one fact per line.
- 116 automated tests on Odoo 19 and 118 on Odoo 20, plus an independent security review.
Requirements
A GoCardless account (a free sandbox account is enough to test), and Odoo 19 Community or Enterprise with Invoicing or Accounting, on Odoo.sh or on your own server, reachable over HTTPS for the webhook. The module depends on account_payment only and needs no extra Python library.
Documentation and support
| Technical guide | Architecture, data model, webhook, security, logs and extension points. Shipped with the module, in its static/description folder: technical-guide.pdf in English, guide-technique.pdf in French. |
| User guide | Installation, configuration, daily use, accounting and troubleshooting: user-guide.pdf in English, guide-utilisateur.pdf in French. |
| Online | The same guides, page by page, in French: www.roekish.com/applications/gocardless/documentation |
| Support | hello@roekish.com |
| Other Roekish apps | La Poste, Colissimo and Delivengo, DPD France, Mondial Relay. |
The Odoo Apps Store shows outside addresses as text: copy them into your browser, or use the Website link under the module name at the top of this page.
RK
SH Published by Roekish · www.roekish.com · Odoo Proprietary License v1.0
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 3734 |
| Technical Name |
roekish_payment_gocardless |
| License | OPL-1 |
| Website | https://www.roekish.com/applications/gocardless |
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