Version
I am using the latest version: v5.12.5
Environment
Hosted on coolify using docker compose, everything works great and seems no issues with that part.
Checklist
- Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja?
- No, these are real payments, so its not possible to replicate in there
- Have you searched existing issues?
- Yes, none found. I did found a post about that mollie + invoice ninja should allow for reacurring invoices
- Have you inspected the logs in storage/logs/laravel.log for any errors?
- Yes, the api sends it as a onetime payment… Instead of a reacurring
Describe the bug
When attempting to set up a recurring mandate via the Mollie payment gateway using iDEAL, Invoice Ninja fails to pass the sequenceType: “first” parameter in the API request to Mollie.
Instead, the API call is initiated as a one-off payment (sequenceType: “oneoff”). As a result, Mollie does not generate a customer_id or mandate token upon successful payment, preventing subsequent automatic SEPA Direct Debit charges for recurring invoices. Furthermore, when opting for mandate creation on setup, Mollie falls back to requesting a manual €0.05 bank transfer instead of creating an active mandate through the initial payment.
Even with “Tokenize credentials / Save Token” enabled under gateway settings and Auto Bill enabled on the client/recurring invoice, the driver fails to trigger the initial mandate payment request properly via the Mollie API.
Steps To Reproduce
- Configure Mollie Gateway with valid live/test credentials and enable iDEAL and SEPA Direct Debit.
- Enable tokenization/save credentials options under Gateway Settings.
- Create a client with no existing Mollie
customer_idor saved payment method. - Create a Recurring Invoice with Auto Bill set to
EnabledorOpt-In. - Open the invoice via the Client Portal and attempt to pay using iDEAL.
- Inspect the API payload sent to Mollie or check the resulting Mollie dashboard transaction state.
Expected Behavior
When an Auto-Bill invoice is paid via iDEAL for a client without a saved token, Invoice Ninja should send sequenceType: "first" to the Mollie API. This should create a Mollie Customer, establish a SEPA Direct Debit mandate upon payment completion, and save the returned payment token/customer ID in Invoice Ninja for future automated recurring billing.
Additional context
The current implementation seems to treat iDEAL strictly as a one-time payment method without signaling Mollie to initiate a mandate chain (first → recurring), even when SEPA Direct Debit is enabled as a recurring target method in the backend.
Screenshots
Not reacurring metadata from mollie:
Logs
[2026-07-20 20:00:00] production.INFO: Mollie API Request: {"amount":{"currency":"EUR","value":"0.05"},"description":"Invoice 0014","redirectUrl":"...","webhookUrl":"...","sequenceType":"oneoff"}
// Note: sequenceType is sent as 'oneoff' instead of 'first'
