1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 05:08:49 +02:00

Send payment confirmation mail after payment, and send weekly reminders for people that have not paid

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-02-23 18:02:24 +01:00
parent 6a928ee35b
commit cae1c6fdb8
11 changed files with 92 additions and 106 deletions

View File

@ -623,6 +623,7 @@ class PaymentHelloAssoReturnView(DetailView):
payment.save()
messages.success(request, _("The payment has been successfully validated! "
"Your registration is now complete."))
payment.send_helloasso_payment_confirmation_mail()
else:
payment.type = "helloasso"
payment.valid = None