liberapay.com/emails/payin_failed.spt
2023-05-24 13:47:29 +02:00

30 lines
1.0 KiB
Cheetah

[---] -/subject
{{ _("Your payment has failed") }}
[---] text/html
% if payin.off_session|default(False)
<p>{{ _(
"The automatic payment of {money_amount} initiated today has failed.",
money_amount=payin.amount,
) if payin.ctime.date() == notification_ts.date() else _(
"The automatic payment of {money_amount} initiated on {date} has failed.",
money_amount=payin.amount, date=payin.ctime.date(),
) }}</p>
% else
<p>{{ _(
"The payment of {money_amount} initiated earlier today has failed.",
money_amount=payin.amount,
) if payin.ctime.date() == notification_ts.date() else _(
"The payment of {money_amount} initiated on {date} has failed.",
money_amount=payin.amount, date=payin.ctime.date(),
) }}</p>
% endif
<p>{{ _("The error message provided by the payment processor {provider} is:", provider=provider) }}</p>
<pre>{{ payin.error }}</pre>
<p>{{ _("You can try again, possibly with another payment method, by clicking on the link below:") }}</p>
<p><a href="{{ participant.url('giving/pay') }}">{{ _("Try again") }}</a></p>