diff --git a/htdocs/public/payment/paymentok.php b/htdocs/public/payment/paymentok.php index 31a957f75af..cb18e4b5a3e 100644 --- a/htdocs/public/payment/paymentok.php +++ b/htdocs/public/payment/paymentok.php @@ -1264,6 +1264,7 @@ if ($ispaymentok) { $ispostactionok = 1; if ($totalpaid >= $don->getRemainToPay()) { + $don->valid_promesse($don->id, $user->id); $don->setPaid($don->id); } }