diff --git a/cotisations/payment.py b/cotisations/payment.py index 0b673c66..4749bd05 100644 --- a/cotisations/payment.py +++ b/cotisations/payment.py @@ -44,8 +44,6 @@ def accept_payment(request, factureid): 'end_date': request.user.end_adhesion() } ) - else: - invoice.delete() return redirect(reverse( 'users:profil', kwargs={'userid': request.user.id}