<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>

Hi <%= @donation.supporter.name %>,


<% if @nonprofit.card_failure_message_top %> <%= @nonprofit.card_failure_message_top.html_safe %> <% else %> <%= render 'components/email/default_card_failure_message_top', npo_name: @nonprofit.name %> <% end %>

Kindly take a moment to update your credit card information using this secure link: <% url = edit_recurring_donation_url(@donation.recurring_donation, {t: @donation.recurring_donation.edit_token}) %> <%= url %>


<% if @nonprofit.card_failure_message_bottom %> <%= @nonprofit.card_failure_message_bottom.html_safe %> <% else %> <%= render 'components/email/default_card_failure_message_bottom', npo_name: @nonprofit.name %> <% end %>

<%= render 'failed_recurring_donation_table', donation: @donation, charge: @charge %>
<%= render 'recurring_donation_table', donation: @donation %>

<%= render 'nonprofits/email/footer', nonprofit: @nonprofit, hide_unsubscribe: true %> <%= render 'emails/powered_by' %>