FIX set donation as received after payment done (#34006)

* fix setpaid don

* enhance
This commit is contained in:
Mohamed DAOUD 2025-04-29 06:45:32 +02:00 committed by GitHub
parent 8ec897bd83
commit 1ae126f179
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1264,6 +1264,7 @@ if ($ispaymentok) {
$ispostactionok = 1;
if ($totalpaid >= $don->getRemainToPay()) {
$don->valid_promesse($don->id, $user->id);
$don->setPaid($don->id);
}
}