Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Payment Providers
  3. Failed Payment Recovery (Dunning) v 19.0
  4. Sales Conditions FAQ

Failed Payment Recovery (Dunning)

by Modvanta
Odoo

$ 14.96

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Failed payment recovery (dunning) for Odoo 19 - retry declined card payments and ask customers for a new card
Odoo 19DunningRetry declined paymentsSoft vs hard declinesCard update linkStripe decline codes34 automated tests

Recover declined card payments instead of losing the customer

When an off-session card charge fails, a recovery case starts: retries on a schedule you set, an email asking for a new card when the card is dead, and a stop with a task for your team when retrying is pointless.

Buy Now - $15Ask a Question

Written and supported by Modvanta - modvantaapps@gmail.com

What it does

Saved-card charges fail all the time: insufficient funds, an expired or replaced card, a temporary hold. Odoo records the failed transaction and stops - no retry, no message to the customer, no way to collect a new card.

This module opens a recovery case for every failed off-session payment made with a saved card. It reads Stripe's decline code and sorts the failure: a soft decline (for example insufficient funds) is retried on your ladder of days, a card problem (for example an expired card) pauses retries and emails the customer a link to add a new card, and a hard decline (for example a stolen card) stops at once and gives the case to a person.

Retries go through Odoo's normal payment flow against the saved card. When a retry succeeds the case is marked recovered and the customer is told; when the ladder runs out, the final action you chose runs.

Who it is for

Subscription and recurring billing

Renewals charged to a saved card, where failed payments are most of the churn.

Shops that charge saved cards

Deposits, balances or reorders charged without the customer present.

Finance and customer success

One list of payments being recovered, recovered and given up.

Key features

Screenshots were taken on Odoo 19 with this module on a clean demo database (company Northwind Trading Co). Stripe was not contacted: the bench answered the Stripe API with a stand-in that returned the decline codes shown, and every key is a placeholder.

Feature 1

Every failed payment becomes a case

Invoicing -> Customers -> Payment Recovery lists the cases with customer, amount, decline type, number of tries, next attempt, responsible and state.

Started automatically when a saved-card charge fails

Every failed payment becomes a case

Feature 2

Recovered on a retry

Hannah's card had insufficient funds. The first retry was declined again, the second went through: the case shows Recovered by retry, the failed and successful attempts, and the customer got a payment confirmation email.

Recovered on a retry

Feature 3

Hard declines stop immediately

Stripe reported stolen_card. Retrying cannot succeed and would only add declined entries to the customer's statement, so the case went to Given up and an activity Recover by hand was created for the responsible person.

Hard declines stop immediately

Feature 4

Dead card: ask for a new one

An expired card is not retried. The case waits for a new card, retries are paused, and the customer is emailed a link to add one.

Dead card: ask for a new one

Feature 5

Soft declines follow the ladder

Tom's case is still recovering: one retry declined with insufficient funds, the next attempt is scheduled by the plan, and each attempt is listed with its status and message.

Retry now runs the next step immediately

Soft declines follow the ladder

Feature 6

Your retry ladder

The default plan retries after 1, 3 and 5 days, with an email on the later steps. Add steps, change days and emails, choose whether to ask for a new card, whether to stop on a hard decline, and what happens when the ladder is exhausted.

Delays are counted from the original failure

Your retry ladder

Feature 7

Email with a card update link

The customer receives a short email with the amount due and an Add a new card button.

Email with a card update link

Feature 8

Card update page

The link opens a page with the reference and the outstanding amount, and Odoo's payment form to save a different card.

Card update page

Feature 9

Settings

In Invoicing settings choose the default dunning plan and open the plans and recovery cases.

Only off-session charges are recovered: a customer watching a payment fail on screen does not need an email about it

Settings

How it works, step by step

1

Install

A standard plan (retry after 1, 3 and 5 days) is created and used by default.

2

Adjust the plan

Change the days, the emails and the final action, or create plans of your own.

3

Charges fail

A failed off-session charge with a saved card opens a recovery case automatically.

4

The case works by itself

A scheduled job runs due retries; card problems email the customer; hard declines are stopped and handed to a person.

5

Follow up

Use the list to see what was recovered, what is waiting and what needs a person.

Settings

Default Dunning PlanPlan used for new cases.
Retry stepsDays after the first failure, retry the charge or not, email to send.
Ask for a New CardEmail a card update link when the card cannot be charged as it stands.
Stop on a Hard DeclineClose the case instead of retrying a stolen, lost or blocked card.
When the Ladder Is ExhaustedFor example: raise an activity for the salesperson.

Frequently asked questions

Does it work with providers other than Stripe?

The retry engine works with any Odoo payment provider that saves cards (tokens). The soft, hard and card decline sorting needs Stripe's decline codes.

Will customers be charged again and again?

Only on the steps of your plan, never for a hard decline, and never on a card that is known to be dead.

Is the customer emailed for every failure?

Only on steps that have an email, when a new card is needed, and when the payment finally goes through.

What about payments made on the website?

A customer who is on the checkout page sees the failure there; only off-session charges with a saved card open a case.

Can I stop a case?

Yes. Stop Chasing cancels it.

Compatibility

Odoo 19

Community and Enterprise

Depends on

Stripe payment provider, Invoicing payments, Portal

Tested

34 automated tests

Turn failed payments back into paid ones

Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.

Buy Now - $15Hire Us for Odoo Work

SUPPORT

modvantaapps@gmail.com

AUTHOR

Modvanta

INCLUDED

Module, setup help by email

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
Lines of code 1369
Technical Name mdv_stripe_dunning
LicenseOPL-1
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with