Skip to main content
SubscriptionFlow Docs
Billing

Automate Payment Retries & Dunning

Updated Dunning managementDunningpayment retry

This guide shows you how to set up automated payment retries and dunning emails that encourage customers to pay their invoices.

  1. Click the ⚙️ icon at the top right to open Settings. Under Billing, click Payment Dunning.

Payment Dunning in Settings

  1. The Payment Retry page shows your Manual Retry schedule (rule-based dunning) and the AI Smart Retry option. Under Manual Retry, click Settings. Use History and Analytics to see past retries and recovery results.

Payment Retry overview

  1. Under Payment retry notification for failed auto payment attempts, set how many days after the failed payment the first retry happens (Initial Payment Retry) and choose the Email Template that tells the customer about it. Set when the next retry happens under 2nd Payment Retry, and how many days after the last retry the subscription-suspended email is sent. Click Add Payment Retry to add more attempts.

Payment retry schedule

  1. Under End of Payment Retry Cancellation Process, choose what happens to the Subscription if the payment isn't recovered (Pause The Subscription, Cancel The Subscription or Leave the Subscription Active), and what happens to the unpaid Invoice:

    • Void the Invoice (reverse all charges): the invoice is marked Void and a credit note is created for the full amount. Any partial payment is released to the customer's account as unapplied credit, so the account statement stays balanced. This option used to be called "Reverse the Invoice".
    • Leave the Invoice Over Due: the invoice stays overdue for manual follow-up.
    • Write-Off: the invoice is written off as bad debt.

    The same choice exists separately for automatic payments and for manual payments (under End of Email Notification Cancellation Process). Settings saved before this release keep their current option.

End of payment retry actions

  1. Turn on Email notification for manual overdue payments to send dunning emails for overdue invoices that aren't charged automatically. Choose the email template for the initial notification, click Add Notification for more reminders, and choose what happens to the subscription and invoice under End of Email Notification Cancellation Process.

Email notifications for manual overdue payments

  1. Under Email Addresses Configuration, add any CC or BCC email addresses. Then click Save Changes at the top right.

Email addresses configuration

  1. When you save, choose whether the new settings apply to invoices already in payment retry (Yes) or only to new ones (No). Check Override existing attached payment retry invoices? to move invoices already on a retry schedule to the new configuration. Click Submit. Every save creates a new settings version.

Payment Retry Action Confirmation

Stop retries for cancelled subscriptions

Without this setting, an invoice that failed before a customer cancelled keeps being retried and can be charged after the cancellation. Turn on Cancelled Subscriptions in Payment Retry Settings and click Save Changes. It's off by default.

Cancelled Subscriptions

What automatic retries do for each kind of invoice:

Invoice bills What automatic retries do Example
Only cancelled subscriptions Stop. A note is added to the invoice timeline Cancelled monthly plan, $30 due: no further charge
Only one-off items Continue as normal Setup fee $50: retried as usual
A cancelled subscription plus active subscriptions or one-off items Charge only the active part; stop once it's paid $100 invoice: $60 cancelled plan + $40 active plan: retries charge $40
A cancelled subscription whose lines were removed from the invoice Continue as normal for what is left Cancelled lines deleted, $40 left: retried as usual

The cancelled part (the subtotal plus tax of the cancelled subscription's lines) stays on the invoice as outstanding, so you decide how to close it: credit it, write it off, or collect it manually. The setting doesn't stop overdue reminder emails for manual payments, never changes the invoice status, and doesn't trigger any end-of-retry action. With the setting off, retries charge the whole invoice as before.

Advanced payment retry settings

These settings fine-tune Manual Retry (rule-based payment retries). They let you stop retrying cards that will never be approved, collect part of the invoice when a customer is short of funds, and run a different retry schedule for some plans.

Settings › Billing & Payments › Dunning & Retries

All of these settings are on the Payment Retry Settings page. To open it, click Settings on the Manual Retry card (when Manual Retry is on, the Settings button is on the Configuration card instead). On Payment Retry Settings, click Show Advanced Settings to see the cards described below. While Manual Retry is on, the Payment Retry page also shows a read-only summary of each setting under Show Advanced Settings.

Like the retry steps, every save creates a new settings version. Invoices already in a payment retry cycle keep the settings of the version they started with, unless you choose to move them when you save.

Hard Decline Handling

Some declines will never be approved however often you retry: a lost or stolen card, a closed account, a "do not honor" from the bank, or a fraud block. Retrying them costs gateway fees and can count against you with the card networks. Hard Decline Handling stops or pauses the retry cycle as soon as a failed automatic payment matches one of your rules.

  1. On Payment Retry Settings, scroll to Hard Decline Handling and switch it On.

  2. Under Action To Take, choose what happens when a failed payment matches a rule:

    • Stop payment retries (apply end-of-retry actions): the retry cycle ends straight away and your End of Payment Retry Cancellation Process runs (for example, the subscription is cancelled and the invoice voided).
    • Pause payment retries (resume manually): the retry cycle is put on hold. Nothing else happens until you resume it from the invoice.
  3. Click Add Rule, choose a transaction field and select the values that should stop retries:

    • Reason Code: the decline code, for example Stolen Card, Lost Card, Do Not Honor or Fraudulent.
    • Declined Reason: the decline message your gateway returned.
    • Retry Status: whether the gateway marked the transaction Retryable or Non Retryable. Choose Non Retryable to follow the gateway's advice.
    • Processor Code: the card processor's response code.

    You can add one rule per field. A failed payment that matches any rule is excluded from further retries.

  4. Optional: switch on Email Payment Method Update Link. Instead of the hard decline notification, the customer receives the Payment Method Update Request email with a secure link to update their card. It's sent once per declined payment.

  5. Click Save Changes.

Hard Decline Handling

When the toggle is Off, your action and rules are kept but not applied.

Hard Decline Handling also applies when AI Smart Retry is on: with Email Payment Method Update Link on, the update link replaces each hard decline reminder Smart Retry sends. Smart Retry never retries a known hard decline, with or without rules. See the AI Smart Retry article.

Reduced-Amount Retry (Insufficient Funds)

When a retry is declined for insufficient funds, a smaller charge often goes through. With Reduced-Amount Retry on, SubscriptionFlow immediately charges the same card a share of the outstanding amount, trying each percentage in turn until one is approved. The invoice is then partly paid, and the next retry step charges the full remaining balance again. Your retry steps and emails continue as configured.

  1. On Payment Retry Settings, scroll to Reduced-Amount Retry (Insufficient Funds) and switch it On.
  2. Under Retry with, enter the percentages of the outstanding amount to try, largest first, for example 75%, 50% and 25% (the suggested values). Click Add Step to add another (up to 5 steps); each value must be between 1 and 99.
  3. Optional: enter a Minimum amount. A reduced charge below this amount is skipped.
  4. Click Save Changes.

Reduced-Amount Retry

Example: a $100 invoice is declined for insufficient funds. SubscriptionFlow tries $75, then $50. The $50 charge is approved, so the invoice shows $50 paid and $50 outstanding. At the next retry step, SubscriptionFlow charges the remaining $50.

Things to know:

  • Cards only. Bank debits and other payment types aren't retried with reduced amounts.
  • Hard Decline Handling wins. If one of your hard decline rules also matches insufficient-funds declines, those declines stop or pause retries instead. The page shows a warning when your rules overlap.
  • When the toggle is Off, your percentages are kept but not used.
  • AI Smart Retry has its own reduced-amount setting on the AI Smart Retry card and on Smart Retry Settings.

Separate retry settings for some plans (plan configurations)

By default one configuration, All Plans, covers every invoice. Add a plan configuration when some plans need a different schedule, for example annual plans that deserve more patience, or plans sold on direct debit that need longer gaps between attempts.

  1. On the Payment Retry page, on the Configuration card, click Add plan configuration. (The Configuration card is shown while Manual Retry is on.)
  2. Under Plan Configuration, enter a Name (up to 100 characters, for example "Annual plans") and select the Plans it covers.
  3. Set the retry steps, emails, end-of-retry actions and advanced settings for these plans, the same way as for All Plans.
  4. Click Save Changes.

Plan Configuration

How plan configurations work:

  • A plan configuration takes precedence over All Plans for its plans. All Plans still covers every plan that has no configuration of its own.
  • Each plan can belong to only one plan configuration. You can have up to 50 plan configurations.
  • If an invoice bills plans from different configurations, each configuration runs its own retry cycle for its own plans, charging and emailing for those plans only. The action on the invoice at the end of retries is taken by the cycle that finishes last.
  • To view or change a configuration, click its name on the Configuration card. Applies to lists its plans.
  • To remove one, select it and click Delete. New failed payments for its plans then follow All Plans. If invoices are still being retried on it, choose Switch to All Plans (they continue on the All Plans schedule from their next retry date) or Keep this configuration until they finish (Setting History shows it as Deleted until then).

Ignore Pending Payments

Bank debits (ACH, BACS, SEPA, BECS and similar) and some other payment types stay Pending for several days before they settle. While an invoice has a pending payment, payment retries skip it, so a customer isn't charged twice for the same invoice.

Restrict Payment Retries

Switch on Ignore Pending Payments under Restrict Payment Retries only if you want retries to start a new attempt even when a payment is still pending. It's off by default.

With Ignore Pending Payments on, a customer can be charged twice if the pending payment later succeeds. Leave it off if you collect by direct debit.

There is no separate retry schedule for bank debits. To give direct-debit customers a different schedule, put the plans they buy in a plan configuration.

Card expiry reminders

Warning customers before their card expires prevents many failed payments. On the Payment Retry page, click Show Advanced Settings and find the Card Expiry Reminders card. Active lists each reminder (for example "5 days before expiry"); Not set up means no customer is warned yet.

Card Expiry Reminders

To set up a reminder:

  1. On the card, click Manage in Email Notifications (or open Settings > Email Notifications).
  2. Add a scheduler for the event Payment method expiry.
  3. Choose how many days before expiry to send it and pick the email template.
  4. Make sure both the scheduler and its email notification are switched on.

The reminder goes to customers whose active card's expiry date matches the chosen day.

Charging when a customer updates their card

When a customer adds or updates a card, SubscriptionFlow collects every invoice that is in payment retry, not only the newest open invoice. This works when the customer has auto-charge on and the auto charge open invoices preference is enabled. One payment covers the customer's latest open invoice and every older invoice still in payment retry (retrying or paused).

Older open invoices that aren't in payment retry, invoices in a different currency from the latest invoice, and invoices with a pending payment are not charged. Each charge is logged on the payment's timeline as "Auto Charge on Payment Method Activation".

See which invoices each settings version handled

  1. On the Payment Retry page, click History. Setting History lists every saved version of your retry configuration, separately for Auto Payments, Manual Payments and Reporting.

Setting History

  1. On any version, click Invoices. The number beside it is how many invoices that version handled. The window shows totals (invoices, retrying, paused, stopped, completed, recovered and still outstanding). Filter with All, Retrying, Paused, Stopped, Completed and Recovered, or search by invoice number or customer. Click Open in analytics to see that version's recovery results. The list shows 25 invoices at a time, newest first.

Invoices on a settings version

Recovery performance

Recovery performance shows how much revenue payment retries win back, for every retry method. It's read-only: opening it never changes a retry. On the Payment Retry page, click Analytics, then Recovery performance.

Recovery performance

Use the filters to choose the period invoices entered payment retry (Last 7 days, Last 30 days, Last 90 days, All time, or a From–To range), the Payment type (automatic or manual), and the Settings version. Compare with shows the selection side by side with the previous period of the same length or an older settings version; green arrows mark improvements and red arrows declines.

The tiles show:

Tile Meaning
Recovery rate Share of those invoices that are now paid
Revenue recovered Amount received on invoices paid after a failure
Still in payment retry Invoices still being retried or paused, and what they owe
Ended unpaid Invoices whose retries ended without payment, and the amount not collected
Avg. time to recover Days from entering payment retry to being paid

Below them, breakdowns show monthly recovery, recovery by payment type, by retry type (Smart Retry, your retry rules, overdue reminders), by gateway, when invoices were recovered (before the first retry step or after step 1, 2 and so on), and recovery by first decline reason with a suggested next step. Retry approval rate shows how often retry charges are approved, by retry type, gateway and weekday, with the most common decline codes.

Recovery breakdowns

Note: Analytics tiles add amounts from different currencies together and show them with a $ sign. Use the totals as a guide if you bill in several currencies.

Was this article helpful?2 out of 2 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.