Uh oh!
There was an error while loading. Please reload this page.
[18.0][IMP] subscription_oca: Add automatic recurring payment - #1463
[18.0][IMP] subscription_oca: Add automatic recurring payment#1463chrisandrewmann wants to merge 1 commit into
Conversation
997db94 to
3f7992cCompare@tarteo@yvaucher@carlos-domatix@rousseldenis Would appreciate your input in testing and hopefully getting merged this time around! I think it's a feature we've all needed for a while. |
2e656ed to
a02fb6aComparechrisandrewmann
commented
Aug 7, 2026
@alvaro-domatix@jelenapoblet@rrebollo@pedrobaeza Keen to get some opinions on this please? Appreciate everyone is busy but I think it's a valuable improvement that warrants being part of the base subscription_oca module to make it feature complete. I built it for 18.0 but if it helps happy to close this PR and redo for 19.0 instead. |
pedrobaeza
commented
Aug 7, 2026
I would decouple this feature from the module, as you don't want both on your system at the same time. Even more, I'm using |
a02fb6a to
626990bCompare
Thanks @pedrobaeza I understand contract is more mature and has wider scope, but feel that subscription_oca lacking payments is really what limits it's use in real-world scenarios, such as recurring subscriptions tied to eCommerce purchases and ongoing support contracts. As mentioned i'd be happy to migrate to 19.0 if that helps and if other's also are of your opinion that this improvement needs to be a separate module, then i'll consider it. |
pedrobaeza
commented
Aug 11, 2026
I mean that you may want just recurring invoicing, but not recurring payment. Anyway, as said, I'm not using this alternative recurring invoicing module. |
alvaro-domatix
commented
Aug 11, 2026
rrebollo
commented
Aug 11, 2026
From a design perspective, I would keep this feature separated. It's clear that the contract and subscription approaches continue to compete, splitting community efforts. |
@alvaro-domatix@rrebollo I was surprised to find the module contract_payment_auto exists but has not been migrated. I'm looking for something that would allow recurring automated billing to sell a SaaS subscription product, hence why I was planning to contribute to either contract or subscription_oca, but i'm wary to spend more time if there is no real demand for this. |
I'm interested in such recurring/automated payment module for 18.0 and Stripe would be my first choice too. I would help reviewing and testing it. |
Adds automatic recurring payment to
subscription_oca. When enabled, a subscription charges the customer's saved payment token on each billing run, removing the manual collection step for merchant-initiated recurring payments (stored card, BACS/SEPA direct debit, etc. via a tokenizing payment provider).Purpose
subscription_ocacould only generate invoices; collecting payment was always manual. This closes that gap while guaranteeing a customer is never sent an invoice for money that has not actually been collected.Changes
account_payment.18.0.1.0.0→18.0.2.0.0.Invoicing mode behaviour with automatic payment
History
This supersedes and improves upon #1331 (an 16.0 PR by @adasatorres, which stuck open with unresolved test failures). It is a fresh 18.0 implementation that keeps the spirit — automatic token-based collection on the billing cron — while addressing its main limitations:
auto_create_paymentboolean instead of a new invoicing-mode option, so automatic payment composes with every mode(including Draft for silent billing) rather than being one mode.
owed invoice, never burns an invoice number, and the customer is never sent an "amount due" document for money already taken.
payment_exceptionflag, a to-do activity in list/kanban, an unchanged next-invoice date for retry, and a cron that skips flagged subscriptions — instead of silently falling back to manual collection.Credit to @adasatorres for the original PR