Skip to main content
All CollectionsFailed payments and dunning
Reminding your non-paying customers of their outstanding invoices
Reminding your non-paying customers of their outstanding invoices

Learn how to set up an email that automatically reminds your non-paying customers of their outstanding invoices.

Michiel Sikkes avatar
Written by Michiel Sikkes
Updated over 4 years ago

Step 1: Enable the email

This email is disabled by default. Head over to your email settings and enable it. 

Once enabled, this sends out an email once a week to every non-paying customer. 

Good to know: A customer is marked as non-paying when a recurring charge fails for any other reason than insufficient funds OR when the same payment fails for 3 times due to insufficient funds.

Step 2: Setting up the email

It's up to you what you want to include in such an email. In order to get the most out of it, we recommend to use the standard template. ("Load example content" button).

This loads in standard HTML. Here's how this looks like when it gets sent out to a customer (Use the Send Test Email button to verify it yourself - don't forget to press Save first):

Customising your email
You can add and change as much as you want in this Email. In order for the invoices and their payment links to show up properly we advise you to not change anything in the <table> element. Of course it's fine to rename the columns but the logic shouldn't be touched. 

If you for example need to change the "Amount" label you can do it like this:

<th style="background-color: #f1f1f1; ">Amount</th>
to
<th style="background-color: #f1f1f1; ">Amount due</th>

Advanced: Build it yourself

In order to retrieve outstanding invoices, you need to loop through outstanding_invoices

Here's a very simple example that would return the invoice number of all outstanding invoices.

{% for invoice in outstanding_invoices  %}
    {{ invoice.number }}
{% endfor %}


Putting that information in a table would look like this: 

<table>
  <thead>
    <tr>
      <th>Invoice no.</th>
    </tr>
  </thead>
  {% for invoice in outstanding_invoices  %}
    <tbody>
      <tr>
        <td> {{ invoice.number }} </td>
      </tr>
    </tbody>
  {% endfor %}
</table>


Supported attributed

Right now, we support these attributes:

"number" 
"amount"
"status"
"pending_retries?"
"pay_now_url"
"created_at"


Learn more about liquid tags
You can do much more with liquid tags. Read more about them here: https://help.shopify.com/en/themes/liquid/objects

Did this answer your question?