diff --git a/cotisations/payment_methods/comnpay/views.py b/cotisations/payment_methods/comnpay/views.py index 2383f1e9..49dc496f 100644 --- a/cotisations/payment_methods/comnpay/views.py +++ b/cotisations/payment_methods/comnpay/views.py @@ -68,7 +68,7 @@ def accept_payment(request, factureid): ) return redirect(reverse( 'users:profil', - kwargs={'userid': request.user.id} + kwargs={'userid': invoice.user.id} ))